Class UnbilledRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.reports.partners.billing.usage.unbilled.UnbilledRequestBuilder
@Generated("com.microsoft.kiota")
public class UnbilledRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the unbilled property of the microsoft.graph.partners.billing.azureUsage entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRepresents details for unbilled Azure usage data.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionUnbilledRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUnbilledRequestBuilderand sets the default values.UnbilledRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUnbilledRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property unbilled for reportsvoiddelete(Consumer<UnbilledRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property unbilled for reportsget()Represents details for unbilled Azure usage data.get(Consumer<UnbilledRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents details for unbilled Azure usage data.Provides operations to call the export method.patch(UnbilledUsage body) Update the navigation property unbilled in reportspatch(UnbilledUsage body, Consumer<UnbilledRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property unbilled in reportscom.microsoft.kiota.RequestInformationDelete navigation property unbilled for reportscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<UnbilledRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property unbilled for reportscom.microsoft.kiota.RequestInformationRepresents details for unbilled Azure usage data.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<UnbilledRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents details for unbilled Azure usage data.com.microsoft.kiota.RequestInformationUpdate the navigation property unbilled in reportscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(UnbilledUsage body, Consumer<UnbilledRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property unbilled in reportsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
UnbilledRequestBuilder
public UnbilledRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUnbilledRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
UnbilledRequestBuilder
public UnbilledRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUnbilledRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
microsoftGraphPartnersBillingExport
@Nonnull public MicrosoftGraphPartnersBillingExportRequestBuilder microsoftGraphPartnersBillingExport()Provides operations to call the export method. -
delete
public void delete()Delete navigation property unbilled for reports- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<UnbilledRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property unbilled for reports- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Represents details for unbilled Azure usage data.- Returns:
- a
UnbilledUsage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public UnbilledUsage get(@Nullable Consumer<UnbilledRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents details for unbilled Azure usage data.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UnbilledUsage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property unbilled in reports- Parameters:
body- The request body- Returns:
- a
UnbilledUsage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public UnbilledUsage patch(@Nonnull UnbilledUsage body, @Nullable Consumer<UnbilledRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property unbilled in reports- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UnbilledUsage - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property unbilled for reports- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<UnbilledRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property unbilled for reports- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Represents details for unbilled Azure usage data.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<UnbilledRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents details for unbilled Azure usage data.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull UnbilledUsage body) Update the navigation property unbilled in reports- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull UnbilledUsage body, @Nullable Consumer<UnbilledRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property unbilled in reports- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
UnbilledRequestBuilder
-