Class MicrosoftGraphBaseItemInner
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphBaseItemInner
- Direct Known Subclasses:
MicrosoftGraphDrive,MicrosoftGraphDriveItem,MicrosoftGraphList,MicrosoftGraphListItem,MicrosoftGraphSite
baseItem.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphBaseItemInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: baseItem.Get the createdBy property: identitySet.Get the createdByUser property: userGet the createdDateTime property: Date and time of item creation.Get the description property: Provides a user-visible description of the item.etag()Get the etag property: ETag for the item.Get the lastModifiedBy property: identitySet.Get the lastModifiedByUser property: userGet the lastModifiedDateTime property: Date and time the item was last modified.name()Get the name property: The name of the item.Get the parentReference property: itemReference.voidvalidate()Validates the instance.webUrl()Get the webUrl property: URL that displays the resource in the browser.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: baseItem.withCreatedBy(MicrosoftGraphIdentitySet createdBy) Set the createdBy property: identitySet.withCreatedByUser(MicrosoftGraphUserInner createdByUser) Set the createdByUser property: userwithCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: Date and time of item creation.withDescription(String description) Set the description property: Provides a user-visible description of the item.Set the etag property: ETag for the item.Set the id property: Read-only.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser) Set the lastModifiedByUser property: userwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: Date and time the item was last modified.Set the name property: The name of the item.withParentReference(MicrosoftGraphItemReference parentReference) Set the parentReference property: itemReference.withWebUrl(String webUrl) Set the webUrl property: URL that displays the resource in the browser.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphBaseItemInner
public MicrosoftGraphBaseItemInner()Creates an instance of MicrosoftGraphBaseItemInner class.
-
-
Method Details
-
createdBy
Get the createdBy property: identitySet.- Returns:
- the createdBy value.
-
withCreatedBy
Set the createdBy property: identitySet.- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
createdDateTime
Get the createdDateTime property: Date and time of item creation. Read-only.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
Set the createdDateTime property: Date and time of item creation. Read-only.- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
description
Get the description property: Provides a user-visible description of the item. Optional.- Returns:
- the description value.
-
withDescription
Set the description property: Provides a user-visible description of the item. Optional.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
etag
Get the etag property: ETag for the item. Read-only.- Returns:
- the etag value.
-
withEtag
Set the etag property: ETag for the item. Read-only.- Parameters:
etag- the etag value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
lastModifiedBy
Get the lastModifiedBy property: identitySet.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
Set the lastModifiedBy property: identitySet.- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: Date and time the item was last modified. Read-only.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
Set the lastModifiedDateTime property: Date and time the item was last modified. Read-only.- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
name
Get the name property: The name of the item. Read-write.- Returns:
- the name value.
-
withName
Set the name property: The name of the item. Read-write.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
parentReference
Get the parentReference property: itemReference.- Returns:
- the parentReference value.
-
withParentReference
Set the parentReference property: itemReference.- Parameters:
parentReference- the parentReference value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
webUrl
Get the webUrl property: URL that displays the resource in the browser. Read-only.- Returns:
- the webUrl value.
-
withWebUrl
Set the webUrl property: URL that displays the resource in the browser. Read-only.- Parameters:
webUrl- the webUrl value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
createdByUser
Get the createdByUser property: userRepresents an Azure Active Directory user object.
- Returns:
- the createdByUser value.
-
withCreatedByUser
Set the createdByUser property: userRepresents an Azure Active Directory user object.
- Parameters:
createdByUser- the createdByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
lastModifiedByUser
Get the lastModifiedByUser property: userRepresents an Azure Active Directory user object.
- Returns:
- the lastModifiedByUser value.
-
withLastModifiedByUser
public MicrosoftGraphBaseItemInner withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser) Set the lastModifiedByUser property: userRepresents an Azure Active Directory user object.
- Parameters:
lastModifiedByUser- the lastModifiedByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
additionalProperties
Get the additionalProperties property: baseItem.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphBaseItemInner withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: baseItem.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-