Class CampaignInboundEmailFilterRequest
java.lang.Object
altitude.integrationServer.types.CampaignInboundEmailFilterRequest
Campaign inbound email filter request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAction to perform on the email filter.Requests with the strings to filter in fields.Requests with the strings to global filter.Type of the filter.intgetId()Identifier of the filter to update or delete.Message size (KB).getName()Name of the filter.Identifier of the email that notifies the email was discarded.Address of to forward the email in case of an overflow.Name of the campaign to forward the email in case of an overflow.Search for common messages.Filter if a duplicate email is received within the specified period of time.voidAction to perform on the email filter.voidRequests with the strings to filter in fields.voidRequests with the strings to global filter.voidType of the filter.voidsetId(int value) Identifier of the filter to update or delete.voidsetMessageSize(FieldRequest<Integer> value) Message size (KB).voidsetName(FieldRequest<String> value) Name of the filter.voidIdentifier of the email that notifies the email was discarded.voidsetRecoveryAddress(FieldRequest<String> value) Address of to forward the email in case of an overflow.voidName of the campaign to forward the email in case of an overflow.voidSearch for common messages.voidsetValidityTime(FieldRequest<Duration> value) Filter if a duplicate email is received within the specified period of time.
-
Constructor Details
-
CampaignInboundEmailFilterRequest
public CampaignInboundEmailFilterRequest()
-
-
Method Details
-
getId
public int getId()Identifier of the filter to update or delete. -
setId
public void setId(int value) Identifier of the filter to update or delete. -
getName
Name of the filter. Mandatory on an insert request. -
setName
Name of the filter. Mandatory on an insert request. -
getFilterType
Type of the filter. Mandatory and can only be specified on an insert request. An ISException is thrown if specified on an update request. -
setFilterType
Type of the filter. Mandatory and can only be specified on an insert request. An ISException is thrown if specified on an update request. -
getAction
Action to perform on the email filter. Used on a filter with type different thanCampaignInboundEmailFilterType.Duplicate. The default value isCampaignInboundEmailFilterAction.Discard. -
setAction
Action to perform on the email filter. Used on a filter with type different thanCampaignInboundEmailFilterType.Duplicate. The default value isCampaignInboundEmailFilterAction.Discard. -
getRecoveryCampaignName
Name of the campaign to forward the email in case of an overflow. Used when the action isCampaignInboundEmailFilterAction.Overflow, and on a filter with type different thanCampaignInboundEmailFilterType.Duplicate. -
setRecoveryCampaignName
Name of the campaign to forward the email in case of an overflow. Used when the action isCampaignInboundEmailFilterAction.Overflow, and on a filter with type different thanCampaignInboundEmailFilterType.Duplicate. -
getRecoveryAddress
Address of to forward the email in case of an overflow. Used when the action isCampaignInboundEmailFilterAction.Overflow, and on a filter with type different thanCampaignInboundEmailFilterType.Duplicate. -
setRecoveryAddress
Address of to forward the email in case of an overflow. Used when the action isCampaignInboundEmailFilterAction.Overflow, and on a filter with type different thanCampaignInboundEmailFilterType.Duplicate. -
getValidityTime
Filter if a duplicate email is received within the specified period of time. Used on a filter with typeCampaignInboundEmailFilterType.Duplicate. -
setValidityTime
Filter if a duplicate email is received within the specified period of time. Used on a filter with typeCampaignInboundEmailFilterType.Duplicate. -
getSearchForCommonMessages
Search for common messages. Used on a filter with typeCampaignInboundEmailFilterType.BouncingorCampaignInboundEmailFilterType.DeliveryFailure. The default value istrue. -
setSearchForCommonMessages
Search for common messages. Used on a filter with typeCampaignInboundEmailFilterType.BouncingorCampaignInboundEmailFilterType.DeliveryFailure. The default value istrue. -
getMessageSize
Message size (KB). Used on a filter with typeCampaignInboundEmailFilterType.Oversized -
setMessageSize
Message size (KB). Used on a filter with typeCampaignInboundEmailFilterType.Oversized -
getNotificationEmailId
Identifier of the email that notifies the email was discarded. Used when the action isCampaignInboundEmailFilterAction.Discard, and on a filter with typeCampaignInboundEmailFilterType.Oversized. -
setNotificationEmailId
Identifier of the email that notifies the email was discarded. Used when the action isCampaignInboundEmailFilterAction.Discard, and on a filter with typeCampaignInboundEmailFilterType.Oversized. -
getFilterGlobalStringRequests
public EntityRequest<CampaignInboundEmailFilterGlobalStringRequest>[] getFilterGlobalStringRequests()Requests with the strings to global filter. Used on a filter with typeCampaignInboundEmailFilterType.BouncingorCampaignInboundEmailFilterType.DeliveryFailure. -
setFilterGlobalStringRequests
public void setFilterGlobalStringRequests(EntityRequest<CampaignInboundEmailFilterGlobalStringRequest>[] value) Requests with the strings to global filter. Used on a filter with typeCampaignInboundEmailFilterType.BouncingorCampaignInboundEmailFilterType.DeliveryFailure. -
getFilterFieldRequests
Requests with the strings to filter in fields. Used on a filter with typeCampaignInboundEmailFilterType.Field. -
setFilterFieldRequests
Requests with the strings to filter in fields. Used on a filter with typeCampaignInboundEmailFilterType.Field.
-