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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET