Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public DeviceAppManagementRequestBuilder(@jakarta.annotation.Nonnull final Strin
* Read properties and relationships of the deviceAppManagement object.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeviceAppManagement get() {
Expand All @@ -195,7 +195,7 @@ public DeviceAppManagement get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -209,7 +209,7 @@ public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.func
* @param body The request body
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body) {
Expand All @@ -221,7 +221,7 @@ public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppMana
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,19 @@ public AndroidManagedAppProtectionsRequestBuilder(@jakarta.annotation.Nonnull fi
super(requestAdapter, "{+baseurl}/deviceAppManagement/androidManagedAppProtections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* List properties and relationships of the androidManagedAppProtection objects.
* Android managed app policies.
* @return a {@link AndroidManagedAppProtectionCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-list?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public AndroidManagedAppProtectionCollectionResponse get() {
return get(null);
}
/**
* List properties and relationships of the androidManagedAppProtection objects.
* Android managed app policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AndroidManagedAppProtectionCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-list?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public AndroidManagedAppProtectionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -84,23 +82,21 @@ public AndroidManagedAppProtectionCollectionResponse get(@jakarta.annotation.Nul
return this.requestAdapter.send(requestInfo, errorMapping, AndroidManagedAppProtectionCollectionResponse::createFromDiscriminatorValue);
}
/**
* Create a new androidManagedAppProtection object.
* Create new navigation property to androidManagedAppProtections for deviceAppManagement
* @param body The request body
* @return a {@link AndroidManagedAppProtection}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-create?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public AndroidManagedAppProtection post(@jakarta.annotation.Nonnull final AndroidManagedAppProtection body) {
return post(body, null);
}
/**
* Create a new androidManagedAppProtection object.
* Create new navigation property to androidManagedAppProtections for deviceAppManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AndroidManagedAppProtection}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-create?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public AndroidManagedAppProtection post(@jakarta.annotation.Nonnull final AndroidManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -111,15 +107,15 @@ public AndroidManagedAppProtection post(@jakarta.annotation.Nonnull final Androi
return this.requestAdapter.send(requestInfo, errorMapping, AndroidManagedAppProtection::createFromDiscriminatorValue);
}
/**
* List properties and relationships of the androidManagedAppProtection objects.
* Android managed app policies.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* List properties and relationships of the androidManagedAppProtection objects.
* Android managed app policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -131,7 +127,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Create a new androidManagedAppProtection object.
* Create new navigation property to androidManagedAppProtections for deviceAppManagement
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -140,7 +136,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Create a new androidManagedAppProtection object.
* Create new navigation property to androidManagedAppProtections for deviceAppManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand All @@ -165,7 +161,7 @@ public AndroidManagedAppProtectionsRequestBuilder withUrl(@jakarta.annotation.No
return new AndroidManagedAppProtectionsRequestBuilder(rawUrl, requestAdapter);
}
/**
* List properties and relationships of the androidManagedAppProtection objects.
* Android managed app policies.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,16 @@ public AndroidManagedAppProtectionItemRequestBuilder(@jakarta.annotation.Nonnull
super(requestAdapter, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}{?%24expand,%24select}", rawUrl);
}
/**
* Deletes a androidManagedAppProtection.
* Delete navigation property androidManagedAppProtections for deviceAppManagement
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-delete?view=graph-rest-1.0">Find more info here</a>
*/
public void delete() {
delete(null);
}
/**
* Deletes a androidManagedAppProtection.
* Delete navigation property androidManagedAppProtections for deviceAppManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-delete?view=graph-rest-1.0">Find more info here</a>
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
Expand All @@ -84,21 +82,19 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Read properties and relationships of the androidManagedAppProtection object.
* Android managed app policies.
* @return a {@link AndroidManagedAppProtection}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public AndroidManagedAppProtection get() {
return get(null);
}
/**
* Read properties and relationships of the androidManagedAppProtection object.
* Android managed app policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AndroidManagedAppProtection}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public AndroidManagedAppProtection get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -108,23 +104,21 @@ public AndroidManagedAppProtection get(@jakarta.annotation.Nullable final java.u
return this.requestAdapter.send(requestInfo, errorMapping, AndroidManagedAppProtection::createFromDiscriminatorValue);
}
/**
* Update the properties of a androidManagedAppProtection object.
* Update the navigation property androidManagedAppProtections in deviceAppManagement
* @param body The request body
* @return a {@link AndroidManagedAppProtection}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-update?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public AndroidManagedAppProtection patch(@jakarta.annotation.Nonnull final AndroidManagedAppProtection body) {
return patch(body, null);
}
/**
* Update the properties of a androidManagedAppProtection object.
* Update the navigation property androidManagedAppProtections in deviceAppManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AndroidManagedAppProtection}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-update?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public AndroidManagedAppProtection patch(@jakarta.annotation.Nonnull final AndroidManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
Expand All @@ -135,15 +129,15 @@ public AndroidManagedAppProtection patch(@jakarta.annotation.Nonnull final Andro
return this.requestAdapter.send(requestInfo, errorMapping, AndroidManagedAppProtection::createFromDiscriminatorValue);
}
/**
* Deletes a androidManagedAppProtection.
* Delete navigation property androidManagedAppProtections for deviceAppManagement
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
* Deletes a androidManagedAppProtection.
* Delete navigation property androidManagedAppProtections for deviceAppManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -155,15 +149,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Read properties and relationships of the androidManagedAppProtection object.
* Android managed app policies.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Read properties and relationships of the androidManagedAppProtection object.
* Android managed app policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -175,7 +169,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Update the properties of a androidManagedAppProtection object.
* Update the navigation property androidManagedAppProtections in deviceAppManagement
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -184,7 +178,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
* Update the properties of a androidManagedAppProtection object.
* Update the navigation property androidManagedAppProtections in deviceAppManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down Expand Up @@ -215,7 +209,7 @@ public AndroidManagedAppProtectionItemRequestBuilder withUrl(@jakarta.annotation
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Read properties and relationships of the androidManagedAppProtection object.
* Android managed app policies.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading
Loading