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
public class MicrosoftGraphBaseItemInner extends MicrosoftGraphEntity
baseItem.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphBaseItemInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: baseItem.MicrosoftGraphIdentitySetcreatedBy()Get the createdBy property: identitySet.MicrosoftGraphUserInnercreatedByUser()Get the createdByUser property: Represents an Azure Active Directory user object.OffsetDateTimecreatedDateTime()Get the createdDateTime property: Date and time of item creation.Stringdescription()Get the description property: Provides a user-visible description of the item.Stringetag()Get the etag property: ETag for the item.MicrosoftGraphIdentitySetlastModifiedBy()Get the lastModifiedBy property: identitySet.MicrosoftGraphUserInnerlastModifiedByUser()Get the lastModifiedByUser property: Represents an Azure Active Directory user object.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: Date and time the item was last modified.Stringname()Get the name property: The name of the item.MicrosoftGraphItemReferenceparentReference()Get the parentReference property: itemReference.voidvalidate()Validates the instance.StringwebUrl()Get the webUrl property: URL that displays the resource in the browser.MicrosoftGraphBaseItemInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: baseItem.MicrosoftGraphBaseItemInnerwithCreatedBy(MicrosoftGraphIdentitySet createdBy)Set the createdBy property: identitySet.MicrosoftGraphBaseItemInnerwithCreatedByUser(MicrosoftGraphUserInner createdByUser)Set the createdByUser property: Represents an Azure Active Directory user object.MicrosoftGraphBaseItemInnerwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: Date and time of item creation.MicrosoftGraphBaseItemInnerwithDescription(String description)Set the description property: Provides a user-visible description of the item.MicrosoftGraphBaseItemInnerwithEtag(String etag)Set the etag property: ETag for the item.MicrosoftGraphBaseItemInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphBaseItemInnerwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphBaseItemInnerwithLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)Set the lastModifiedByUser property: Represents an Azure Active Directory user object.MicrosoftGraphBaseItemInnerwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: Date and time the item was last modified.MicrosoftGraphBaseItemInnerwithName(String name)Set the name property: The name of the item.MicrosoftGraphBaseItemInnerwithParentReference(MicrosoftGraphItemReference parentReference)Set the parentReference property: itemReference.MicrosoftGraphBaseItemInnerwithWebUrl(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
-
-
-
-
Method Detail
-
createdBy
public MicrosoftGraphIdentitySet createdBy()
Get the createdBy property: identitySet.- Returns:
- the createdBy value.
-
withCreatedBy
public MicrosoftGraphBaseItemInner withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Date and time of item creation. Read-only.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
public MicrosoftGraphBaseItemInner withCreatedDateTime(OffsetDateTime createdDateTime)
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
public String description()
Get the description property: Provides a user-visible description of the item. Optional.- Returns:
- the description value.
-
withDescription
public MicrosoftGraphBaseItemInner withDescription(String description)
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
public String etag()
Get the etag property: ETag for the item. Read-only.- Returns:
- the etag value.
-
withEtag
public MicrosoftGraphBaseItemInner withEtag(String etag)
Set the etag property: ETag for the item. Read-only.- Parameters:
etag- the etag value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
lastModifiedBy
public MicrosoftGraphIdentitySet lastModifiedBy()
Get the lastModifiedBy property: identitySet.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
public MicrosoftGraphBaseItemInner withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: Date and time the item was last modified. Read-only.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
public MicrosoftGraphBaseItemInner withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
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
public String name()
Get the name property: The name of the item. Read-write.- Returns:
- the name value.
-
withName
public MicrosoftGraphBaseItemInner withName(String name)
Set the name property: The name of the item. Read-write.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
parentReference
public MicrosoftGraphItemReference parentReference()
Get the parentReference property: itemReference.- Returns:
- the parentReference value.
-
withParentReference
public MicrosoftGraphBaseItemInner withParentReference(MicrosoftGraphItemReference parentReference)
Set the parentReference property: itemReference.- Parameters:
parentReference- the parentReference value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
webUrl
public String webUrl()
Get the webUrl property: URL that displays the resource in the browser. Read-only.- Returns:
- the webUrl value.
-
withWebUrl
public MicrosoftGraphBaseItemInner withWebUrl(String webUrl)
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
public MicrosoftGraphUserInner createdByUser()
Get the createdByUser property: Represents an Azure Active Directory user object.- Returns:
- the createdByUser value.
-
withCreatedByUser
public MicrosoftGraphBaseItemInner withCreatedByUser(MicrosoftGraphUserInner createdByUser)
Set the createdByUser property: Represents an Azure Active Directory user object.- Parameters:
createdByUser- the createdByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
lastModifiedByUser
public MicrosoftGraphUserInner lastModifiedByUser()
Get the lastModifiedByUser property: Represents an Azure Active Directory user object.- Returns:
- the lastModifiedByUser value.
-
withLastModifiedByUser
public MicrosoftGraphBaseItemInner withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
Set the lastModifiedByUser property: Represents an Azure Active Directory user object.- Parameters:
lastModifiedByUser- the lastModifiedByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
additionalProperties
public Map<String,Object> 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
public MicrosoftGraphBaseItemInner withId(String id)
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.
-
-