Sha256: e2ec755cd65e16500429dba9754d5522e5aefab0f89f5c3de5cb4e197b2019b1

Contents?: true

Size: 1.87 KB

Versions: 4

Compression:

Stored size: 1.87 KB

Contents

require 'microsoft_kiota_abstractions'
require_relative '../../../../microsoft_graph'
require_relative '../../../groups'
require_relative '../../item'
require_relative '../rejected_senders'
require_relative './item'
require_relative './ref/ref_request_builder'

module MicrosoftGraph::Groups::Item::RejectedSenders::Item
    ## 
    # Builds and executes requests for operations under \groups\{group-id}\rejectedSenders\{directoryObject-id}
    class DirectoryObjectItemRequestBuilder
        
        ## 
        # Path parameters for the request
        @path_parameters
        ## 
        # Provides operations to manage the collection of group entities.
        def ref()
            return MicrosoftGraph::Groups::Item::RejectedSenders::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 DirectoryObjectItemRequestBuilder 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}/groups/{group%2Did}/rejectedSenders/{directoryObject%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/groups/item/rejected_senders/item/directory_object_item_request_builder.rb
microsoft_graph-0.13.0 lib/groups/item/rejected_senders/item/directory_object_item_request_builder.rb
microsoft_graph-0.12.0 lib/groups/item/rejected_senders/item/directory_object_item_request_builder.rb
microsoft_graph-0.11.0 lib/groups/item/rejected_senders/item/directory_object_item_request_builder.rb