src/Microsoft.Graph/Requests/Generated/GroupGrantResourceSpecificConsentRequestBuilder.cs
/// <summary>
/// A method used by the base class to construct a request class instance.
/// </summary>
/// <param name="functionUrl">The request URL to </param>
/// <param name="options">The query and header options for the request.</param>
/// <returns>An instance of a specific request class.</returns>
A method used by the base class to construct a request class instance.
A method used by the base class to construct a request class instance .
protected override IGroupGrantResourceSpecificConsentRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
        {
            var request = new GroupGrantResourceSpecificConsentRequest(functionUrl, this.Client, options);
            if (this.HasParameter("checkOnly"))
            {
                request.RequestBody.CheckOnly = this.GetParameter<bool>("checkOnly");
            }
            if (this.HasParameter("clientAppId"))
            {
                request.RequestBody.ClientAppId = this.GetParameter<string>("clientAppId");
            }
            if (this.HasParameter("permissionSets"))
            {
                request.RequestBody.PermissionSets = this.GetParameter<IEnumerable<InstanceResourceAccess>>("permissionSets");
            }
            if (this.HasParameter("tags"))
            {
                request.RequestBody.Tags = this.GetParameter<IEnumerable<string>>("tags");
            }
            return request;
        }
protected override IGroupGrantResourceSpecificConsentRequest CreateRequest ( string functionUrl , IEnumerable < Option > options ) { var request = new GroupGrantResourceSpecificConsentRequest ( functionUrl , this . Client , options ) ; if ( this . HasParameter ( " " ) ) { request . RequestBody . CheckOnly = this . GetParameter < bool > ( " " ) ; } if ( this . HasParameter ( " " ) ) { request . RequestBody . ClientAppId = this . GetParameter < string > ( " " ) ; } if ( this . HasParameter ( " " ) ) { request . RequestBody . PermissionSets = this . GetParameter < IEnumerable < InstanceResourceAccess > > ( " " ) ; } if ( this . HasParameter ( " " ) ) { request . RequestBody . Tags = this . GetParameter < IEnumerable < string > > ( " " ) ; } return request ; }
A method used by the base class to construct a request class instance.
A method used by the base class to construct a request class instance .
An instance of a specific request class.
An instance of a specific request class .
functionUrl
string
The request URL to
The request URL to
options
IEnumerable<Option>
The query and header options for the request.
The query and header options for the request .