JobRouterModelFactory.RouterJobOffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RouterJobOffer.
public static Azure.Communication.JobRouter.RouterJobOffer RouterJobOffer (string offerId = default, string jobId = default, int capacityCost = 0, DateTimeOffset? offeredAt = default, DateTimeOffset? expiresAt = default);
static member RouterJobOffer : string * string * int * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Communication.JobRouter.RouterJobOffer
Public Shared Function RouterJobOffer (Optional offerId As String = Nothing, Optional jobId As String = Nothing, Optional capacityCost As Integer = 0, Optional offeredAt As Nullable(Of DateTimeOffset) = Nothing, Optional expiresAt As Nullable(Of DateTimeOffset) = Nothing) As RouterJobOffer
Parameters
- offerId
- String
Id of an offer.
- jobId
- String
Id of the job.
- capacityCost
- Int32
The capacity cost consumed by the job offer.
- offeredAt
- Nullable<DateTimeOffset>
Timestamp when the offer was created in UTC.
- expiresAt
- Nullable<DateTimeOffset>
Timestamp when the offer will expire in UTC.
Returns
A new RouterJobOffer instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET