Package odata.msgraph.client.entity
Class Simulation
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.Simulation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Simulation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimulation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected SimulationAttackTechniqueattackTechniqueprotected SimulationAttackTypeattackTypeprotected StringautomationIdprotected OffsetDateTimecompletionDateTimeprotected EmailIdentitycreatedByprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected IntegerdurationInDaysprotected EndUserNotificationSettingendUserNotificationSettingprotected AccountTargetContentexcludedAccountTargetprotected AccountTargetContentincludedAccountTargetprotected BooleanisAutomatedprotected EmailIdentitylastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected OffsetDateTimelaunchDateTimeprotected OAuthConsentAppDetailoAuthConsentAppDetailprotected PayloadDeliveryPlatformpayloadDeliveryPlatformprotected SimulationReportreportprotected SimulationStatusstatusprotected TrainingSettingtrainingSetting-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimulation()
-
Method Summary
-
-
-
Field Detail
-
attackTechnique
protected SimulationAttackTechnique attackTechnique
-
attackType
protected SimulationAttackType attackType
-
automationId
protected String automationId
-
completionDateTime
protected OffsetDateTime completionDateTime
-
createdBy
protected EmailIdentity createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
durationInDays
protected Integer durationInDays
-
endUserNotificationSetting
protected EndUserNotificationSetting endUserNotificationSetting
-
excludedAccountTarget
protected AccountTargetContent excludedAccountTarget
-
includedAccountTarget
protected AccountTargetContent includedAccountTarget
-
isAutomated
protected Boolean isAutomated
-
lastModifiedBy
protected EmailIdentity lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
launchDateTime
protected OffsetDateTime launchDateTime
-
oAuthConsentAppDetail
protected OAuthConsentAppDetail oAuthConsentAppDetail
-
payloadDeliveryPlatform
protected PayloadDeliveryPlatform payloadDeliveryPlatform
-
report
protected SimulationReport report
-
status
protected SimulationStatus status
-
trainingSetting
protected TrainingSetting trainingSetting
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSimulation
public static Simulation.Builder builderSimulation()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAttackTechnique
public Optional<SimulationAttackTechnique> getAttackTechnique()
-
withAttackTechnique
public Simulation withAttackTechnique(SimulationAttackTechnique attackTechnique)
-
getAttackType
public Optional<SimulationAttackType> getAttackType()
-
withAttackType
public Simulation withAttackType(SimulationAttackType attackType)
-
withAutomationId
public Simulation withAutomationId(String automationId)
-
getCompletionDateTime
public Optional<OffsetDateTime> getCompletionDateTime()
-
withCompletionDateTime
public Simulation withCompletionDateTime(OffsetDateTime completionDateTime)
-
getCreatedBy
public Optional<EmailIdentity> getCreatedBy()
-
withCreatedBy
public Simulation withCreatedBy(EmailIdentity createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Simulation withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDescription
public Simulation withDescription(String description)
-
withDisplayName
public Simulation withDisplayName(String displayName)
-
withDurationInDays
public Simulation withDurationInDays(Integer durationInDays)
-
getEndUserNotificationSetting
public Optional<EndUserNotificationSetting> getEndUserNotificationSetting()
-
withEndUserNotificationSetting
public Simulation withEndUserNotificationSetting(EndUserNotificationSetting endUserNotificationSetting)
-
getExcludedAccountTarget
public Optional<AccountTargetContent> getExcludedAccountTarget()
-
withExcludedAccountTarget
public Simulation withExcludedAccountTarget(AccountTargetContent excludedAccountTarget)
-
getIncludedAccountTarget
public Optional<AccountTargetContent> getIncludedAccountTarget()
-
withIncludedAccountTarget
public Simulation withIncludedAccountTarget(AccountTargetContent includedAccountTarget)
-
withIsAutomated
public Simulation withIsAutomated(Boolean isAutomated)
-
getLastModifiedBy
public Optional<EmailIdentity> getLastModifiedBy()
-
withLastModifiedBy
public Simulation withLastModifiedBy(EmailIdentity lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public Simulation withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getLaunchDateTime
public Optional<OffsetDateTime> getLaunchDateTime()
-
withLaunchDateTime
public Simulation withLaunchDateTime(OffsetDateTime launchDateTime)
-
getOAuthConsentAppDetail
public Optional<OAuthConsentAppDetail> getOAuthConsentAppDetail()
-
withOAuthConsentAppDetail
public Simulation withOAuthConsentAppDetail(OAuthConsentAppDetail oAuthConsentAppDetail)
-
getPayloadDeliveryPlatform
public Optional<PayloadDeliveryPlatform> getPayloadDeliveryPlatform()
-
withPayloadDeliveryPlatform
public Simulation withPayloadDeliveryPlatform(PayloadDeliveryPlatform payloadDeliveryPlatform)
-
getReport
public Optional<SimulationReport> getReport()
-
withReport
public Simulation withReport(SimulationReport report)
-
getStatus
public Optional<SimulationStatus> getStatus()
-
withStatus
public Simulation withStatus(SimulationStatus status)
-
getTrainingSetting
public Optional<TrainingSetting> getTrainingSetting()
-
withTrainingSetting
public Simulation withTrainingSetting(TrainingSetting trainingSetting)
-
withUnmappedField
public Simulation withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getLandingPage
public LandingPageRequest getLandingPage()
-
getLoginPage
public LoginPageRequest getLoginPage()
-
getPayload
public PayloadRequest getPayload()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Simulation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Simulation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-