Package odata.msgraph.client.complex
Class UserSimulationDetails
- java.lang.Object
-
- odata.msgraph.client.complex.UserSimulationDetails
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class UserSimulationDetails extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserSimulationDetails.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerassignedTrainingsCountprotected IntegercompletedTrainingsCountprotected OffsetDateTimecompromisedDateTimeprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerinProgressTrainingsCountprotected BooleanisCompromisedprotected StringodataTypeprotected OffsetDateTimereportedPhishDateTimeprotected List<UserSimulationEventInfo>simulationEventsprotected StringsimulationEventsNextLinkprotected AttackSimulationUsersimulationUserprotected List<UserTrainingEventInfo>trainingEventsprotected StringtrainingEventsNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserSimulationDetails()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
assignedTrainingsCount
protected Integer assignedTrainingsCount
-
completedTrainingsCount
protected Integer completedTrainingsCount
-
compromisedDateTime
protected OffsetDateTime compromisedDateTime
-
inProgressTrainingsCount
protected Integer inProgressTrainingsCount
-
isCompromised
protected Boolean isCompromised
-
reportedPhishDateTime
protected OffsetDateTime reportedPhishDateTime
-
simulationEvents
protected List<UserSimulationEventInfo> simulationEvents
-
simulationEventsNextLink
protected String simulationEventsNextLink
-
simulationUser
protected AttackSimulationUser simulationUser
-
trainingEvents
protected List<UserTrainingEventInfo> trainingEvents
-
trainingEventsNextLink
protected String trainingEventsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAssignedTrainingsCount
public UserSimulationDetails withAssignedTrainingsCount(Integer assignedTrainingsCount)
-
withCompletedTrainingsCount
public UserSimulationDetails withCompletedTrainingsCount(Integer completedTrainingsCount)
-
getCompromisedDateTime
public Optional<OffsetDateTime> getCompromisedDateTime()
-
withCompromisedDateTime
public UserSimulationDetails withCompromisedDateTime(OffsetDateTime compromisedDateTime)
-
withInProgressTrainingsCount
public UserSimulationDetails withInProgressTrainingsCount(Integer inProgressTrainingsCount)
-
withIsCompromised
public UserSimulationDetails withIsCompromised(Boolean isCompromised)
-
getReportedPhishDateTime
public Optional<OffsetDateTime> getReportedPhishDateTime()
-
withReportedPhishDateTime
public UserSimulationDetails withReportedPhishDateTime(OffsetDateTime reportedPhishDateTime)
-
getSimulationEvents
public com.github.davidmoten.odata.client.CollectionPage<UserSimulationEventInfo> getSimulationEvents()
-
getSimulationEvents
public com.github.davidmoten.odata.client.CollectionPage<UserSimulationEventInfo> getSimulationEvents(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getSimulationUser
public Optional<AttackSimulationUser> getSimulationUser()
-
withSimulationUser
public UserSimulationDetails withSimulationUser(AttackSimulationUser simulationUser)
-
getTrainingEvents
public com.github.davidmoten.odata.client.CollectionPage<UserTrainingEventInfo> getTrainingEvents()
-
getTrainingEvents
public com.github.davidmoten.odata.client.CollectionPage<UserTrainingEventInfo> getTrainingEvents(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public UserSimulationDetails withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static UserSimulationDetails.Builder builder()
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
-
-