Table of Contents

Interface IInboundInboxCollectionResource

Namespace
Mailtrap.Inbound
Assembly
Mailtrap.Abstractions.dll

Represents the inbound inbox collection resource for a folder.

public interface IInboundInboxCollectionResource : IRestResource
Inherited Members

Methods

Create(CreateInboundInboxRequest, CancellationToken)

Creates a new inbox in the folder with details specified by request.

Task<InboundInbox> Create(CreateInboundInboxRequest request, CancellationToken cancellationToken = default)

Parameters

request CreateInboundInboxRequest

Request containing inbox details for creation.

cancellationToken CancellationToken
Token to control operation cancellation.

Returns

Task<InboundInbox>

Created inbox details.

GetAll(CancellationToken)

Returns all inboxes in the folder.

Task<IList<InboundInbox>> GetAll(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Token to control operation cancellation.

Returns

Task<IList<InboundInbox>>

Collection of inboxes in the folder.