Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Template Source: BaseEntityRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.requests;
import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.AttackSimulationRoot;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Attack Simulation Root Request Builder.
*/
public class AttackSimulationRootRequestBuilder extends BaseRequestBuilder {
/**
* The request builder for the AttackSimulationRoot
*
* @param requestUrl the request URL
* @param client the service client
* @param requestOptions the options for this request
*/
public AttackSimulationRootRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
super(requestUrl, client, requestOptions);
}
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the AttackSimulationRootRequest instance
*/
@Nonnull
public AttackSimulationRootRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(getOptions(requestOptions));
}
/**
* Creates the request with specific requestOptions instead of the existing requestOptions
*
* @param requestOptions the options for this request
* @return the AttackSimulationRootRequest instance
*/
@Nonnull
public AttackSimulationRootRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
return new com.microsoft.graph.requests.AttackSimulationRootRequest(getRequestUrl(), getClient(), requestOptions);
}
/**
* Gets a request builder for the EndUserNotification collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.EndUserNotificationCollectionRequestBuilder endUserNotifications() {
return new com.microsoft.graph.requests.EndUserNotificationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("endUserNotifications"), getClient(), null);
}
/**
* Gets a request builder for the EndUserNotification item
*
* @return the request builder
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.EndUserNotificationRequestBuilder endUserNotifications(@Nonnull final String id) {
return new com.microsoft.graph.requests.EndUserNotificationRequestBuilder(getRequestUrlWithAdditionalSegment("endUserNotifications") + "/" + id, getClient(), null);
}
/**
* Gets a request builder for the LandingPage collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.LandingPageCollectionRequestBuilder landingPages() {
return new com.microsoft.graph.requests.LandingPageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("landingPages"), getClient(), null);
}
/**
* Gets a request builder for the LandingPage item
*
* @return the request builder
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.LandingPageRequestBuilder landingPages(@Nonnull final String id) {
return new com.microsoft.graph.requests.LandingPageRequestBuilder(getRequestUrlWithAdditionalSegment("landingPages") + "/" + id, getClient(), null);
}
/**
* Gets a request builder for the LoginPage collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.LoginPageCollectionRequestBuilder loginPages() {
return new com.microsoft.graph.requests.LoginPageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("loginPages"), getClient(), null);
}
/**
* Gets a request builder for the LoginPage item
*
* @return the request builder
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.LoginPageRequestBuilder loginPages(@Nonnull final String id) {
return new com.microsoft.graph.requests.LoginPageRequestBuilder(getRequestUrlWithAdditionalSegment("loginPages") + "/" + id, getClient(), null);
}
/**
* Gets a request builder for the AttackSimulationOperation collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.AttackSimulationOperationCollectionRequestBuilder operations() {
return new com.microsoft.graph.requests.AttackSimulationOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("operations"), getClient(), null);
}
/**
* Gets a request builder for the AttackSimulationOperation item
*
* @return the request builder
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.AttackSimulationOperationRequestBuilder operations(@Nonnull final String id) {
return new com.microsoft.graph.requests.AttackSimulationOperationRequestBuilder(getRequestUrlWithAdditionalSegment("operations") + "/" + id, getClient(), null);
}
/**
* Gets a request builder for the Payload collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.PayloadCollectionRequestBuilder payloads() {
return new com.microsoft.graph.requests.PayloadCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("payloads"), getClient(), null);
}
/**
* Gets a request builder for the Payload item
*
* @return the request builder
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.PayloadRequestBuilder payloads(@Nonnull final String id) {
return new com.microsoft.graph.requests.PayloadRequestBuilder(getRequestUrlWithAdditionalSegment("payloads") + "/" + id, getClient(), null);
}
/**
* Gets a request builder for the SimulationAutomation collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.SimulationAutomationCollectionRequestBuilder simulationAutomations() {
return new com.microsoft.graph.requests.SimulationAutomationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("simulationAutomations"), getClient(), null);
}
/**
* Gets a request builder for the SimulationAutomation item
*
* @return the request builder
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.SimulationAutomationRequestBuilder simulationAutomations(@Nonnull final String id) {
return new com.microsoft.graph.requests.SimulationAutomationRequestBuilder(getRequestUrlWithAdditionalSegment("simulationAutomations") + "/" + id, getClient(), null);
}
/**
* Gets a request builder for the Simulation collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.SimulationCollectionRequestBuilder simulations() {
return new com.microsoft.graph.requests.SimulationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("simulations"), getClient(), null);
}
/**
* Gets a request builder for the Simulation item
*
* @return the request builder
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.SimulationRequestBuilder simulations(@Nonnull final String id) {
return new com.microsoft.graph.requests.SimulationRequestBuilder(getRequestUrlWithAdditionalSegment("simulations") + "/" + id, getClient(), null);
}
/**
* Gets a request builder for the Training collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.TrainingCollectionRequestBuilder trainings() {
return new com.microsoft.graph.requests.TrainingCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("trainings"), getClient(), null);
}
/**
* Gets a request builder for the Training item
*
* @return the request builder
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.TrainingRequestBuilder trainings(@Nonnull final String id) {
return new com.microsoft.graph.requests.TrainingRequestBuilder(getRequestUrlWithAdditionalSegment("trainings") + "/" + id, getClient(), null);
}
}