Package odata.msgraph.client.beta.entity
Class RiskyServicePrincipalHistoryItem
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.RiskyServicePrincipal
-
- odata.msgraph.client.beta.entity.RiskyServicePrincipalHistoryItem
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class RiskyServicePrincipalHistoryItem extends RiskyServicePrincipal implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRiskyServicePrincipalHistoryItem.Builder
-
Field Summary
Fields Modifier and Type Field Description protected RiskServicePrincipalActivityactivityprotected StringinitiatedByprotected StringservicePrincipalId-
Fields inherited from class odata.msgraph.client.beta.entity.RiskyServicePrincipal
accountEnabled, appId, displayName, isProcessing, riskDetail, riskLastUpdatedDateTime, riskLevel, riskState, servicePrincipalType
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRiskyServicePrincipalHistoryItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RiskyServicePrincipalHistoryItem.BuilderbuilderRiskyServicePrincipalHistoryItem()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<RiskServicePrincipalActivity>getActivity()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getInitiatedBy()Optional<String>getServicePrincipalId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()RiskyServicePrincipalHistoryItempatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)RiskyServicePrincipalHistoryItemput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()RiskyServicePrincipalHistoryItemwithActivity(RiskServicePrincipalActivity activity)RiskyServicePrincipalHistoryItemwithInitiatedBy(String initiatedBy)RiskyServicePrincipalHistoryItemwithServicePrincipalId(String servicePrincipalId)RiskyServicePrincipalHistoryItemwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.RiskyServicePrincipal
builderRiskyServicePrincipal, getAccountEnabled, getAppId, getDisplayName, getHistory, getIsProcessing, getRiskDetail, getRiskLastUpdatedDateTime, getRiskLevel, getRiskState, getServicePrincipalType, withAccountEnabled, withAppId, withDisplayName, withIsProcessing, withRiskDetail, withRiskLastUpdatedDateTime, withRiskLevel, withRiskState, withServicePrincipalType
-
-
-
-
Field Detail
-
activity
protected RiskServicePrincipalActivity activity
-
initiatedBy
protected String initiatedBy
-
servicePrincipalId
protected String servicePrincipalId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classRiskyServicePrincipal
-
builderRiskyServicePrincipalHistoryItem
public static RiskyServicePrincipalHistoryItem.Builder builderRiskyServicePrincipalHistoryItem()
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 classRiskyServicePrincipal
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classRiskyServicePrincipal
-
getActivity
public Optional<RiskServicePrincipalActivity> getActivity()
-
withActivity
public RiskyServicePrincipalHistoryItem withActivity(RiskServicePrincipalActivity activity)
-
withInitiatedBy
public RiskyServicePrincipalHistoryItem withInitiatedBy(String initiatedBy)
-
withServicePrincipalId
public RiskyServicePrincipalHistoryItem withServicePrincipalId(String servicePrincipalId)
-
withUnmappedField
public RiskyServicePrincipalHistoryItem withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classRiskyServicePrincipal
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classRiskyServicePrincipal
-
patch
public RiskyServicePrincipalHistoryItem patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classRiskyServicePrincipal- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public RiskyServicePrincipalHistoryItem put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classRiskyServicePrincipal- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classRiskyServicePrincipal
-
-