Show / Hide Table of Contents

Class BaseActionMethodRequestBuilder<T>

The base method request builder class used for POST actions.

Inheritance
System.Object
BaseRequestBuilder
BaseActionMethodRequestBuilder<T>
CallAnswerRequestBuilder
CallCancelMediaProcessingRequestBuilder
CallChangeScreenSharingRoleRequestBuilder
CallMuteRequestBuilder
CallPlayPromptRequestBuilder
CallRecognizeRequestBuilder
CallRecordRequestBuilder
CallRedirectRequestBuilder
CallRejectRequestBuilder
CallSubscribeToToneRequestBuilder
CallTransferRequestBuilder
CallUnmuteRequestBuilder
CallUpdateMetadataRequestBuilder
ChatCreateBridgeRequestBuilder
ChatDeleteBridgeRequestBuilder
ChatParticipantAddRequestBuilder
ChatParticipantRemoveRequestBuilder
ChatSetIsTypingRequestBuilder
ParticipantConfigureMixerRequestBuilder
ParticipantInviteRequestBuilder
ParticipantMuteAllRequestBuilder
ParticipantMuteRequestBuilder
ParticipantSubscribeVideoRequestBuilder
ParticipantUnmuteAllRequestBuilder
ParticipantUnmuteRequestBuilder
Inherited Members
BaseRequestBuilder.Client
BaseRequestBuilder.RequestUrl
BaseRequestBuilder.AppendSegmentToRequestUrl(String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public abstract class BaseActionMethodRequestBuilder<T> : BaseRequestBuilder where T : IBaseRequest
Type Parameters
Name Description
T

Type of request

Constructors

View Source

BaseActionMethodRequestBuilder(String, IBaseClient)

Initializes a new instance of the BaseActionMethodRequestBuilder<T> class.

Declaration
public BaseActionMethodRequestBuilder(string requestUrl, IBaseClient client)
Parameters
Type Name Description
System.String requestUrl

The URL for the request.

IBaseClient client

The IBaseClient for handling requests.

Methods

View Source

CreateRequest(String, IEnumerable<Option>)

Derived classes implement this function to construct the specific request class instance when a request object is required.

Declaration
protected abstract T CreateRequest(string functionUrl, IEnumerable<Option> options)
Parameters
Type Name Description
System.String functionUrl

The URL to use for the request.

System.Collections.Generic.IEnumerable<Option> options

The query and header options for the request.

Returns
Type Description
T

An instance of the request class.

View Source

GetParameter<TU>(String)

Gets the parameter.

Declaration
protected TU GetParameter<TU>(string name)
Parameters
Type Name Description
System.String name

The name.

Returns
Type Description
TU

The Parameter

Type Parameters
Name Description
TU

The type of the parameter.

View Source

HasParameter(String)

Determines whether the instance has parameter.

Declaration
protected bool HasParameter(string name)
Parameters
Type Name Description
System.String name

The name.

Returns
Type Description
System.Boolean

true if the specified name has parameter; otherwise, false.

View Source

Request(IEnumerable<Option>)

Builds the request.

Declaration
public T Request(IEnumerable<Option> options = null)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Option> options

The query and header options for the request.

Returns
Type Description
T

The built request.

View Source

SetParameter<TU>(String, TU, Boolean)

A helper method for injecting a parameter string for a given name and value pair. This method handles the nullable case and properly wrapped and escaping string values.

Declaration
protected void SetParameter<TU>(string name, TU value, bool nullable)
Parameters
Type Name Description
System.String name

The parameter name.

TU value

The parameter value.

System.Boolean nullable

A flag specifying whether the parameter is allowed to be null.

Type Parameters
Name Description
TU

The type of the value parameter.

See Also

BaseRequestBuilder
  • View Source
Back to top Generated by DocFX