Sha256: 4788253b27e9811480b57589b679a12004b6633fea4300a1548ad8b4a66b58b7

Contents?: true

Size: 1.96 KB

Versions: 4

Compression:

Stored size: 1.96 KB

Contents

require 'microsoft_kiota_abstractions'
require_relative '../../../../microsoft_graph'
require_relative '../../../applications'
require_relative '../../item'
require_relative '../token_issuance_policies'
require_relative './item'
require_relative './ref/ref_request_builder'

module MicrosoftGraph::Applications::Item::TokenIssuancePolicies::Item
    ## 
    # Builds and executes requests for operations under \applications\{application-id}\tokenIssuancePolicies\{tokenIssuancePolicy-id}
    class TokenIssuancePolicyItemRequestBuilder
        
        ## 
        # Path parameters for the request
        @path_parameters
        ## 
        # Provides operations to manage the collection of application entities.
        def ref()
            return MicrosoftGraph::Applications::Item::TokenIssuancePolicies::Item::Ref::RefRequestBuilder.new(@path_parameters, @request_adapter)
        end
        ## 
        # The request adapter to use to execute the requests.
        @request_adapter
        ## 
        # Url template to use to build the URL for the current request builder
        @url_template
        ## 
        ## Instantiates a new TokenIssuancePolicyItemRequestBuilder and sets the default values.
        ## @param pathParameters Path parameters for the request
        ## @param requestAdapter The request adapter to use to execute the requests.
        ## @return a void
        ## 
        def initialize(path_parameters, request_adapter)
            raise StandardError, 'path_parameters cannot be null' if path_parameters.nil?
            raise StandardError, 'request_adapter cannot be null' if request_adapter.nil?
            @url_template = "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}"
            @request_adapter = request_adapter
            path_parameters = { "request-raw-url" => path_parameters } if path_parameters.is_a? String
            @path_parameters = path_parameters if path_parameters.is_a? Hash
        end
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
microsoft_graph-0.14.0 lib/applications/item/token_issuance_policies/item/token_issuance_policy_item_request_builder.rb
microsoft_graph-0.13.0 lib/applications/item/token_issuance_policies/item/token_issuance_policy_item_request_builder.rb
microsoft_graph-0.12.0 lib/applications/item/token_issuance_policies/item/token_issuance_policy_item_request_builder.rb
microsoft_graph-0.11.0 lib/applications/item/token_issuance_policies/item/token_issuance_policy_item_request_builder.rb