All Downloads are FREE. Search and download functionalities are using the official Maven repository.

odata.msgraph.client.entity.request.AttackSimulationRootRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package odata.msgraph.client.entity.request;

import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.NameValue;

import java.lang.Object;
import java.lang.String;
import java.util.Optional;

import odata.msgraph.client.entity.AttackSimulationRoot;
import odata.msgraph.client.entity.collection.request.AttackSimulationOperationCollectionRequest;
import odata.msgraph.client.entity.collection.request.EndUserNotificationCollectionRequest;
import odata.msgraph.client.entity.collection.request.LandingPageCollectionRequest;
import odata.msgraph.client.entity.collection.request.LoginPageCollectionRequest;
import odata.msgraph.client.entity.collection.request.PayloadCollectionRequest;
import odata.msgraph.client.entity.collection.request.SimulationAutomationCollectionRequest;
import odata.msgraph.client.entity.collection.request.SimulationCollectionRequest;
import odata.msgraph.client.entity.collection.request.TrainingCollectionRequest;

@JsonIgnoreType
public class AttackSimulationRootRequest extends EntityRequest {

    public AttackSimulationRootRequest(ContextPath contextPath, Optional value) {
        super(AttackSimulationRoot.class, contextPath, value, false);
    }

    public EndUserNotificationRequest endUserNotifications(String id) {
        return new EndUserNotificationRequest(contextPath.addSegment("endUserNotifications").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public EndUserNotificationCollectionRequest endUserNotifications() {
        return new EndUserNotificationCollectionRequest(
                        contextPath.addSegment("endUserNotifications"), Optional.empty());
    }

    public LandingPageRequest landingPages(String id) {
        return new LandingPageRequest(contextPath.addSegment("landingPages").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public LandingPageCollectionRequest landingPages() {
        return new LandingPageCollectionRequest(
                        contextPath.addSegment("landingPages"), Optional.empty());
    }

    public LoginPageRequest loginPages(String id) {
        return new LoginPageRequest(contextPath.addSegment("loginPages").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public LoginPageCollectionRequest loginPages() {
        return new LoginPageCollectionRequest(
                        contextPath.addSegment("loginPages"), Optional.empty());
    }

    public AttackSimulationOperationRequest operations(String id) {
        return new AttackSimulationOperationRequest(contextPath.addSegment("operations").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public AttackSimulationOperationCollectionRequest operations() {
        return new AttackSimulationOperationCollectionRequest(
                        contextPath.addSegment("operations"), Optional.empty());
    }

    public PayloadRequest payloads(String id) {
        return new PayloadRequest(contextPath.addSegment("payloads").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public PayloadCollectionRequest payloads() {
        return new PayloadCollectionRequest(
                        contextPath.addSegment("payloads"), Optional.empty());
    }

    public SimulationAutomationRequest simulationAutomations(String id) {
        return new SimulationAutomationRequest(contextPath.addSegment("simulationAutomations").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public SimulationAutomationCollectionRequest simulationAutomations() {
        return new SimulationAutomationCollectionRequest(
                        contextPath.addSegment("simulationAutomations"), Optional.empty());
    }

    public SimulationRequest simulations(String id) {
        return new SimulationRequest(contextPath.addSegment("simulations").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public SimulationCollectionRequest simulations() {
        return new SimulationCollectionRequest(
                        contextPath.addSegment("simulations"), Optional.empty());
    }

    public TrainingRequest trainings(String id) {
        return new TrainingRequest(contextPath.addSegment("trainings").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public TrainingCollectionRequest trainings() {
        return new TrainingCollectionRequest(
                        contextPath.addSegment("trainings"), Optional.empty());
    }

}