Package odata.msgraph.client.entity
Class UserActivity
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UserActivity
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserActivity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = false
Org.OData.Capabilities.V1.SkipSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserActivity.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringactivationUrlprotected StringactivitySourceHostprotected StringappActivityIdprotected StringappDisplayNameprotected JsoncontentInfoprotected StringcontentUrlprotected OffsetDateTimecreatedDateTimeprotected OffsetDateTimeexpirationDateTimeprotected StringfallbackUrlprotected List<ActivityHistoryItem>historyItemsprotected OffsetDateTimelastModifiedDateTimeprotected Statusstatusprotected StringuserTimezoneprotected VisualInfovisualElements-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserActivity()
-
Method Summary
-
-
-
Field Detail
-
activationUrl
protected String activationUrl
-
activitySourceHost
protected String activitySourceHost
-
appActivityId
protected String appActivityId
-
appDisplayName
protected String appDisplayName
-
contentInfo
protected Json contentInfo
-
contentUrl
protected String contentUrl
-
createdDateTime
protected OffsetDateTime createdDateTime
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
fallbackUrl
protected String fallbackUrl
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
status
protected Status status
-
userTimezone
protected String userTimezone
-
visualElements
protected VisualInfo visualElements
-
historyItems
protected List<ActivityHistoryItem> historyItems
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserActivity
public static UserActivity.Builder builderUserActivity()
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
-
withActivationUrl
public UserActivity withActivationUrl(String activationUrl)
-
withActivitySourceHost
public UserActivity withActivitySourceHost(String activitySourceHost)
-
withAppActivityId
public UserActivity withAppActivityId(String appActivityId)
-
withAppDisplayName
public UserActivity withAppDisplayName(String appDisplayName)
-
withContentInfo
public UserActivity withContentInfo(Json contentInfo)
-
withContentUrl
public UserActivity withContentUrl(String contentUrl)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public UserActivity withCreatedDateTime(OffsetDateTime createdDateTime)
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
-
withExpirationDateTime
public UserActivity withExpirationDateTime(OffsetDateTime expirationDateTime)
-
withFallbackUrl
public UserActivity withFallbackUrl(String fallbackUrl)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public UserActivity withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withStatus
public UserActivity withStatus(Status status)
-
withUserTimezone
public UserActivity withUserTimezone(String userTimezone)
-
getVisualElements
public Optional<VisualInfo> getVisualElements()
-
withVisualElements
public UserActivity withVisualElements(VisualInfo visualElements)
-
withUnmappedField
public UserActivity withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getHistoryItems
public ActivityHistoryItemCollectionRequest getHistoryItems()
-
withHistoryItems
public UserActivity withHistoryItems(List<ActivityHistoryItem> historyItems)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public UserActivity patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserActivity put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-