Package odata.msgraph.client.entity
Class RiskDetection
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.RiskDetection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class RiskDetection extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = true
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.TopSupported
true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRiskDetection.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ActivityTypeactivityprotected OffsetDateTimeactivityDateTimeprotected StringadditionalInfoprotected StringcorrelationIdprotected OffsetDateTimedetectedDateTimeprotected RiskDetectionTimingTypedetectionTimingTypeprotected StringipAddressprotected OffsetDateTimelastUpdatedDateTimeprotected SignInLocationlocationprotected StringrequestIdprotected RiskDetailriskDetailprotected StringriskEventTypeprotected RiskLevelriskLevelprotected RiskStateriskStateprotected Stringsourceprotected TokenIssuerTypetokenIssuerTypeprotected StringuserDisplayNameprotected StringuserIdprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRiskDetection()
-
Method Summary
-
-
-
Field Detail
-
activity
protected ActivityType activity
-
activityDateTime
protected OffsetDateTime activityDateTime
-
additionalInfo
protected String additionalInfo
-
correlationId
protected String correlationId
-
detectedDateTime
protected OffsetDateTime detectedDateTime
-
detectionTimingType
protected RiskDetectionTimingType detectionTimingType
-
ipAddress
protected String ipAddress
-
lastUpdatedDateTime
protected OffsetDateTime lastUpdatedDateTime
-
location
protected SignInLocation location
-
requestId
protected String requestId
-
riskDetail
protected RiskDetail riskDetail
-
riskEventType
protected String riskEventType
-
riskLevel
protected RiskLevel riskLevel
-
riskState
protected RiskState riskState
-
source
protected String source
-
tokenIssuerType
protected TokenIssuerType tokenIssuerType
-
userDisplayName
protected String userDisplayName
-
userId
protected String userId
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderRiskDetection
public static RiskDetection.Builder builderRiskDetection()
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
-
getActivity
public Optional<ActivityType> getActivity()
-
withActivity
public RiskDetection withActivity(ActivityType activity)
-
getActivityDateTime
public Optional<OffsetDateTime> getActivityDateTime()
-
withActivityDateTime
public RiskDetection withActivityDateTime(OffsetDateTime activityDateTime)
-
withAdditionalInfo
public RiskDetection withAdditionalInfo(String additionalInfo)
-
withCorrelationId
public RiskDetection withCorrelationId(String correlationId)
-
getDetectedDateTime
public Optional<OffsetDateTime> getDetectedDateTime()
-
withDetectedDateTime
public RiskDetection withDetectedDateTime(OffsetDateTime detectedDateTime)
-
getDetectionTimingType
public Optional<RiskDetectionTimingType> getDetectionTimingType()
-
withDetectionTimingType
public RiskDetection withDetectionTimingType(RiskDetectionTimingType detectionTimingType)
-
withIpAddress
public RiskDetection withIpAddress(String ipAddress)
-
getLastUpdatedDateTime
public Optional<OffsetDateTime> getLastUpdatedDateTime()
-
withLastUpdatedDateTime
public RiskDetection withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)
-
getLocation
public Optional<SignInLocation> getLocation()
-
withLocation
public RiskDetection withLocation(SignInLocation location)
-
withRequestId
public RiskDetection withRequestId(String requestId)
-
getRiskDetail
public Optional<RiskDetail> getRiskDetail()
-
withRiskDetail
public RiskDetection withRiskDetail(RiskDetail riskDetail)
-
withRiskEventType
public RiskDetection withRiskEventType(String riskEventType)
-
withRiskLevel
public RiskDetection withRiskLevel(RiskLevel riskLevel)
-
withRiskState
public RiskDetection withRiskState(RiskState riskState)
-
withSource
public RiskDetection withSource(String source)
-
getTokenIssuerType
public Optional<TokenIssuerType> getTokenIssuerType()
-
withTokenIssuerType
public RiskDetection withTokenIssuerType(TokenIssuerType tokenIssuerType)
-
withUserDisplayName
public RiskDetection withUserDisplayName(String userDisplayName)
-
withUserId
public RiskDetection withUserId(String userId)
-
withUserPrincipalName
public RiskDetection withUserPrincipalName(String userPrincipalName)
-
withUnmappedField
public RiskDetection withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public RiskDetection patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public RiskDetection put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-