public class PrinterShareRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<PrinterShare>
| Constructor and Description |
|---|
PrinterShareRequestBuilder(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request builder for the PrinterShare
|
| Modifier and Type | Method and Description |
|---|---|
GroupCollectionWithReferencesRequestBuilder |
allowedGroups()
Gets a request builder for the Group collection
|
GroupWithReferenceRequestBuilder |
allowedGroups(java.lang.String id)
Gets a request builder for the Group item
|
UserCollectionWithReferencesRequestBuilder |
allowedUsers()
Gets a request builder for the User collection
|
UserWithReferenceRequestBuilder |
allowedUsers(java.lang.String id)
Gets a request builder for the User item
|
PrinterShareRequest |
buildRequest(java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
Creates the request with specific requestOptions instead of the existing requestOptions
|
PrinterShareRequest |
buildRequest(com.microsoft.graph.options.Option... requestOptions)
Creates the request
|
PrintJobCollectionRequestBuilder |
jobs()
Gets a request builder for the PrintJob collection
|
PrintJobRequestBuilder |
jobs(java.lang.String id)
Gets a request builder for the PrintJob item
|
PrinterWithReferenceRequestBuilder |
printer()
Gets the request builder for Printer
|
public PrinterShareRequestBuilder(@Nonnull
java.lang.String requestUrl,
@Nonnull
com.microsoft.graph.core.IBaseClient<?> client,
@Nullable
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this request@Nonnull public PrinterShareRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions)
requestOptions - the options for this request@Nonnull public PrinterShareRequest buildRequest(@Nonnull java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestOptions - the options for this request@Nonnull public PrintJobCollectionRequestBuilder jobs()
@Nonnull public PrintJobRequestBuilder jobs(@Nonnull java.lang.String id)
id - the item identifier@Nonnull public GroupCollectionWithReferencesRequestBuilder allowedGroups()
@Nonnull public GroupWithReferenceRequestBuilder allowedGroups(@Nonnull java.lang.String id)
id - the item identifier@Nonnull public UserCollectionWithReferencesRequestBuilder allowedUsers()
@Nonnull public UserWithReferenceRequestBuilder allowedUsers(@Nonnull java.lang.String id)
id - the item identifier@Nonnull public PrinterWithReferenceRequestBuilder printer()