-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update generated files with build 123456
- Loading branch information
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
Aug 22, 2023
1 parent
ea6832b
commit 4ffe5e4
Showing
197 changed files
with
3,218 additions
and
633 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
59 changes: 59 additions & 0 deletions
59
lib/contacts/item/retry_service_provisioning/retry_service_provisioning_request_builder.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
require 'microsoft_kiota_abstractions' | ||
require_relative '../../../microsoft_graph' | ||
require_relative '../../../models/o_data_errors_o_data_error' | ||
require_relative '../../contacts' | ||
require_relative '../item' | ||
require_relative './retry_service_provisioning' | ||
|
||
module MicrosoftGraph | ||
module Contacts | ||
module Item | ||
module RetryServiceProvisioning | ||
## | ||
# Provides operations to call the retryServiceProvisioning method. | ||
class RetryServiceProvisioningRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder | ||
|
||
## | ||
## Instantiates a new RetryServiceProvisioningRequestBuilder and sets the default values. | ||
## @param path_parameters Path parameters for the request | ||
## @param request_adapter The request adapter to use to execute the requests. | ||
## @return a void | ||
## | ||
def initialize(path_parameters, request_adapter) | ||
super(path_parameters, request_adapter, "{+baseurl}/contacts/{orgContact%2Did}/retryServiceProvisioning") | ||
end | ||
## | ||
## Invoke action retryServiceProvisioning | ||
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. | ||
## @return a Fiber of void | ||
## | ||
def post(request_configuration=nil) | ||
request_info = self.to_post_request_information( | ||
request_configuration | ||
) | ||
error_mapping = Hash.new | ||
error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) } | ||
error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) } | ||
return @request_adapter.send_async(request_info, nil, error_mapping) | ||
end | ||
## | ||
## Invoke action retryServiceProvisioning | ||
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. | ||
## @return a request_information | ||
## | ||
def to_post_request_information(request_configuration=nil) | ||
request_info = MicrosoftKiotaAbstractions::RequestInformation.new() | ||
request_info.url_template = @url_template | ||
request_info.path_parameters = @path_parameters | ||
request_info.http_method = :POST | ||
unless request_configuration.nil? | ||
request_info.add_headers_from_raw_object(request_configuration.headers) | ||
request_info.add_request_options(request_configuration.options) | ||
end | ||
return request_info | ||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.