Package com.microsoft.graph.requests
Class PrinterShareRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<PrinterShare>
com.microsoft.graph.requests.PrinterShareRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
public class PrinterShareRequestBuilder
extends com.microsoft.graph.http.BaseRequestBuilder<PrinterShare>
The class for the Printer Share Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionPrinterShareRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the PrinterShare -
Method Summary
Modifier and TypeMethodDescriptionGets a request builder for the Group collectionallowedGroups
(String id) Gets a request builder for the Group itemGets a request builder for the User collectionallowedUsers
(String id) Gets a request builder for the User itembuildRequest
(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest
(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionsjobs()
Gets a request builder for the PrintJob collectionGets a request builder for the PrintJob itemprinter()
Gets the request builder for PrinterMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
PrinterShareRequestBuilder
public PrinterShareRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the PrinterShare- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public PrinterShareRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions
- the options for this request- Returns:
- the PrinterShareRequest instance
-
buildRequest
@Nonnull public PrinterShareRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions
- the options for this request- Returns:
- the PrinterShareRequest instance
-
jobs
Gets a request builder for the PrintJob collection- Returns:
- the collection request builder
-
jobs
Gets a request builder for the PrintJob item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
allowedGroups
Gets a request builder for the Group collection- Returns:
- the collection request builder
-
allowedGroups
Gets a request builder for the Group item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
allowedUsers
Gets a request builder for the User collection- Returns:
- the collection request builder
-
allowedUsers
Gets a request builder for the User item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
printer
Gets the request builder for Printer- Returns:
- the PrinterWithReferenceRequestBuilder instance
-