Class VppTokensRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.deviceappmanagement.vpptokens.VppTokensRequestBuilder
@Generated("com.microsoft.kiota")
public class VppTokensRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the vppTokens property of the microsoft.graph.deviceAppManagement entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassList of Vpp tokens for this organization.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
ConstructorsConstructorDescriptionVppTokensRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newVppTokensRequestBuilderand sets the default values.VppTokensRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newVppTokensRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyVppTokenId(String vppTokenId) Provides operations to manage the vppTokens property of the microsoft.graph.deviceAppManagement entity.count()Provides operations to count the resources in the collection.get()List of Vpp tokens for this organization.get(Consumer<VppTokensRequestBuilder.GetRequestConfiguration> requestConfiguration) List of Vpp tokens for this organization.Create new navigation property to vppTokens for deviceAppManagementpost(VppToken body, Consumer<VppTokensRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to vppTokens for deviceAppManagementcom.microsoft.kiota.RequestInformationList of Vpp tokens for this organization.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<VppTokensRequestBuilder.GetRequestConfiguration> requestConfiguration) List of Vpp tokens for this organization.com.microsoft.kiota.RequestInformationCreate new navigation property to vppTokens for deviceAppManagementcom.microsoft.kiota.RequestInformationtoPostRequestInformation(VppToken body, Consumer<VppTokensRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to vppTokens for deviceAppManagementReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
VppTokensRequestBuilder
public VppTokensRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newVppTokensRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
VppTokensRequestBuilder
public VppTokensRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newVppTokensRequestBuilderand 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
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byVppTokenId
Provides operations to manage the vppTokens property of the microsoft.graph.deviceAppManagement entity.- Parameters:
vppTokenId- The unique identifier of vppToken- Returns:
- a
VppTokenItemRequestBuilder
-
get
List of Vpp tokens for this organization.- Returns:
- a
VppTokenCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public VppTokenCollectionResponse get(@Nullable Consumer<VppTokensRequestBuilder.GetRequestConfiguration> requestConfiguration) List of Vpp tokens for this organization.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
VppTokenCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
Create new navigation property to vppTokens for deviceAppManagement- Parameters:
body- The request body- Returns:
- a
VppToken - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public VppToken post(@Nonnull VppToken body, @Nullable Consumer<VppTokensRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to vppTokens for deviceAppManagement- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
VppToken - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()List of Vpp tokens for this organization.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<VppTokensRequestBuilder.GetRequestConfiguration> requestConfiguration) List of Vpp tokens for this organization.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull VppToken body) Create new navigation property to vppTokens for deviceAppManagement- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull VppToken body, @Nullable Consumer<VppTokensRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to vppTokens for deviceAppManagement- 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
VppTokensRequestBuilder
-