Package odata.msgraph.client.beta.entity
Class RiskyServicePrincipal
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.RiskyServicePrincipal
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
RiskyServicePrincipalHistoryItem
public class RiskyServicePrincipal extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = true
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRiskyServicePrincipal.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanaccountEnabledprotected StringappIdprotected StringdisplayNameprotected BooleanisProcessingprotected RiskDetailriskDetailprotected OffsetDateTimeriskLastUpdatedDateTimeprotected RiskLevelriskLevelprotected RiskStateriskStateprotected StringservicePrincipalType-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRiskyServicePrincipal()
-
Method Summary
-
-
-
Field Detail
-
accountEnabled
protected Boolean accountEnabled
-
appId
protected String appId
-
displayName
protected String displayName
-
isProcessing
protected Boolean isProcessing
-
riskDetail
protected RiskDetail riskDetail
-
riskLastUpdatedDateTime
protected OffsetDateTime riskLastUpdatedDateTime
-
riskLevel
protected RiskLevel riskLevel
-
riskState
protected RiskState riskState
-
servicePrincipalType
protected String servicePrincipalType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderRiskyServicePrincipal
public static RiskyServicePrincipal.Builder builderRiskyServicePrincipal()
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
-
withAccountEnabled
public RiskyServicePrincipal withAccountEnabled(Boolean accountEnabled)
-
withAppId
public RiskyServicePrincipal withAppId(String appId)
-
withDisplayName
public RiskyServicePrincipal withDisplayName(String displayName)
-
withIsProcessing
public RiskyServicePrincipal withIsProcessing(Boolean isProcessing)
-
getRiskDetail
public Optional<RiskDetail> getRiskDetail()
-
withRiskDetail
public RiskyServicePrincipal withRiskDetail(RiskDetail riskDetail)
-
getRiskLastUpdatedDateTime
public Optional<OffsetDateTime> getRiskLastUpdatedDateTime()
-
withRiskLastUpdatedDateTime
public RiskyServicePrincipal withRiskLastUpdatedDateTime(OffsetDateTime riskLastUpdatedDateTime)
-
withRiskLevel
public RiskyServicePrincipal withRiskLevel(RiskLevel riskLevel)
-
withRiskState
public RiskyServicePrincipal withRiskState(RiskState riskState)
-
withServicePrincipalType
public RiskyServicePrincipal withServicePrincipalType(String servicePrincipalType)
-
withUnmappedField
public RiskyServicePrincipal withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getHistory
public RiskyServicePrincipalHistoryItemCollectionRequest getHistory()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public RiskyServicePrincipal patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public RiskyServicePrincipal put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-