Struct GetSessionRequest
- Namespace
- Vonage.Video.ExperienceComposer.GetSession
- Assembly
- Vonage.dll
Represents a request to retrieve a session.
public readonly struct GetSessionRequest : IVonageRequest, IHasApplicationId
- Implements
- Inherited Members
Properties
ApplicationId
The Vonage Application UUID.
public Guid ApplicationId { get; }
Property Value
ExperienceComposerId
ID of the Experience Composer instance
public string ExperienceComposerId { get; }
Property Value
Methods
BuildRequestMessage()
Converts the request to a HttpRequest.
public HttpRequestMessage BuildRequestMessage()
Returns
- HttpRequestMessage
The Http request.
Parse(Guid, string)
Parses the input into a GetSessionRequest.
public static Result<GetSessionRequest> Parse(Guid applicationId, string experienceComposerId)
Parameters
Returns
- Result<GetSessionRequest>
A success state with the request if the parsing succeeded. A failure state with an error if it failed.