Package odata.msgraph.client.beta.entity
Class AccessPackageResource
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AccessPackageResource
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AccessPackageResource extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessPackageResource.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringaddedByprotected OffsetDateTimeaddedOnprotected List<AccessPackageResourceAttribute>attributesprotected StringattributesNextLinkprotected Stringdescriptionprotected StringdisplayNameprotected BooleanisPendingOnboardingprotected StringoriginIdprotected StringoriginSystemprotected StringresourceTypeprotected Stringurl-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessPackageResource()
-
Method Summary
-
-
-
Field Detail
-
addedBy
protected String addedBy
-
addedOn
protected OffsetDateTime addedOn
-
attributes
protected List<AccessPackageResourceAttribute> attributes
-
attributesNextLink
protected String attributesNextLink
-
description
protected String description
-
displayName
protected String displayName
-
isPendingOnboarding
protected Boolean isPendingOnboarding
-
originId
protected String originId
-
originSystem
protected String originSystem
-
resourceType
protected String resourceType
-
url
protected String url
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAccessPackageResource
public static AccessPackageResource.Builder builderAccessPackageResource()
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
-
withAddedBy
public AccessPackageResource withAddedBy(String addedBy)
-
getAddedOn
public Optional<OffsetDateTime> getAddedOn()
-
withAddedOn
public AccessPackageResource withAddedOn(OffsetDateTime addedOn)
-
getAttributes
public com.github.davidmoten.odata.client.CollectionPage<AccessPackageResourceAttribute> getAttributes()
-
withAttributes
public AccessPackageResource withAttributes(List<AccessPackageResourceAttribute> attributes)
-
getAttributes
public com.github.davidmoten.odata.client.CollectionPage<AccessPackageResourceAttribute> getAttributes(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withDescription
public AccessPackageResource withDescription(String description)
-
withDisplayName
public AccessPackageResource withDisplayName(String displayName)
-
withIsPendingOnboarding
public AccessPackageResource withIsPendingOnboarding(Boolean isPendingOnboarding)
-
withOriginId
public AccessPackageResource withOriginId(String originId)
-
withOriginSystem
public AccessPackageResource withOriginSystem(String originSystem)
-
withResourceType
public AccessPackageResource withResourceType(String resourceType)
-
withUrl
public AccessPackageResource withUrl(String url)
-
withUnmappedField
public AccessPackageResource withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAccessPackageResourceEnvironment
public AccessPackageResourceEnvironmentRequest getAccessPackageResourceEnvironment()
-
getAccessPackageResourceRoles
public AccessPackageResourceRoleCollectionRequest getAccessPackageResourceRoles()
-
getAccessPackageResourceScopes
public AccessPackageResourceScopeCollectionRequest getAccessPackageResourceScopes()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AccessPackageResource patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AccessPackageResource put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-