Package odata.msgraph.client.entity
Class AccessPackageAssignment
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.AccessPackageAssignment
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AccessPackageAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessPackageAssignment.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<CustomExtensionCalloutInstance>customExtensionCalloutInstancesprotected StringcustomExtensionCalloutInstancesNextLinkprotected OffsetDateTimeexpiredDateTimeprotected EntitlementManagementSchedulescheduleprotected AccessPackageAssignmentStatestateprotected Stringstatus-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessPackageAssignment()
-
Method Summary
-
-
-
Field Detail
-
customExtensionCalloutInstances
protected List<CustomExtensionCalloutInstance> customExtensionCalloutInstances
-
customExtensionCalloutInstancesNextLink
protected String customExtensionCalloutInstancesNextLink
-
expiredDateTime
protected OffsetDateTime expiredDateTime
-
schedule
protected EntitlementManagementSchedule schedule
-
state
protected AccessPackageAssignmentState state
-
status
protected String status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAccessPackageAssignment
public static AccessPackageAssignment.Builder builderAccessPackageAssignment()
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
-
getCustomExtensionCalloutInstances
public com.github.davidmoten.odata.client.CollectionPage<CustomExtensionCalloutInstance> getCustomExtensionCalloutInstances()
-
withCustomExtensionCalloutInstances
public AccessPackageAssignment withCustomExtensionCalloutInstances(List<CustomExtensionCalloutInstance> customExtensionCalloutInstances)
-
getCustomExtensionCalloutInstances
public com.github.davidmoten.odata.client.CollectionPage<CustomExtensionCalloutInstance> getCustomExtensionCalloutInstances(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getExpiredDateTime
public Optional<OffsetDateTime> getExpiredDateTime()
-
withExpiredDateTime
public AccessPackageAssignment withExpiredDateTime(OffsetDateTime expiredDateTime)
-
getSchedule
public Optional<EntitlementManagementSchedule> getSchedule()
-
withSchedule
public AccessPackageAssignment withSchedule(EntitlementManagementSchedule schedule)
-
getState
public Optional<AccessPackageAssignmentState> getState()
-
withState
public AccessPackageAssignment withState(AccessPackageAssignmentState state)
-
withStatus
public AccessPackageAssignment withStatus(String status)
-
withUnmappedField
public AccessPackageAssignment withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAccessPackage
public AccessPackageRequest getAccessPackage()
-
getAssignmentPolicy
public AccessPackageAssignmentPolicyRequest getAssignmentPolicy()
-
getTarget
public AccessPackageSubjectRequest getTarget()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AccessPackageAssignment patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AccessPackageAssignment put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
reprocess
public com.github.davidmoten.odata.client.ActionRequestNoReturn reprocess()
-
-