Class BillingRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.reports.partners.billing.BillingRequestBuilder
@Generated("com.microsoft.kiota")
public class BillingRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the billing property of the microsoft.graph.partners entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRepresents billing details for billed and unbilled 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
ConstructorsConstructorDescriptionBillingRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBillingRequestBuilderand sets the default values.BillingRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBillingRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property billing for reportsvoiddelete(Consumer<BillingRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property billing for reportsget()Represents billing details for billed and unbilled data.get(Consumer<BillingRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents billing details for billed and unbilled data.Provides operations to manage the manifests property of the microsoft.graph.partners.billing.billing entity.Provides operations to manage the operations property of the microsoft.graph.partners.billing.billing entity.Update the navigation property billing in reportspatch(Billing body, Consumer<BillingRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property billing in reportsProvides operations to manage the reconciliation property of the microsoft.graph.partners.billing.billing entity.com.microsoft.kiota.RequestInformationDelete navigation property billing for reportscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<BillingRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property billing for reportscom.microsoft.kiota.RequestInformationRepresents billing details for billed and unbilled data.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<BillingRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents billing details for billed and unbilled data.com.microsoft.kiota.RequestInformationUpdate the navigation property billing in reportscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Billing body, Consumer<BillingRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property billing in reportsusage()Provides operations to manage the usage property of the microsoft.graph.partners.billing.billing entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
BillingRequestBuilder
public BillingRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBillingRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
BillingRequestBuilder
public BillingRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBillingRequestBuilderand 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
-
manifests
Provides operations to manage the manifests property of the microsoft.graph.partners.billing.billing entity.- Returns:
- a
ManifestsRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.partners.billing.billing entity.- Returns:
- a
OperationsRequestBuilder
-
reconciliation
Provides operations to manage the reconciliation property of the microsoft.graph.partners.billing.billing entity.- Returns:
- a
ReconciliationRequestBuilder
-
usage
Provides operations to manage the usage property of the microsoft.graph.partners.billing.billing entity.- Returns:
- a
UsageRequestBuilder
-
delete
public void delete()Delete navigation property billing for reports- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<BillingRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property billing 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 billing details for billed and unbilled data.- Returns:
- a
Billing - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Billing get(@Nullable Consumer<BillingRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents billing details for billed and unbilled data.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Billing - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property billing in reports- Parameters:
body- The request body- Returns:
- a
Billing - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Billing patch(@Nonnull Billing body, @Nullable Consumer<BillingRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property billing in reports- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Billing - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property billing for reports- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<BillingRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property billing 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 billing details for billed and unbilled data.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<BillingRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents billing details for billed and unbilled 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 Billing body) Update the navigation property billing in reports- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Billing body, @Nullable Consumer<BillingRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property billing 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
BillingRequestBuilder
-