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.MicrosoftGraphIdentitySet
createdBy()
Get the createdBy property: identitySet.MicrosoftGraphUserInner
createdByUser()
Get the createdByUser property: Represents an Azure Active Directory user object.OffsetDateTime
createdDateTime()
Get the createdDateTime property: Date and time of item creation.String
description()
Get the description property: Provides a user-visible description of the item.String
etag()
Get the etag property: ETag for the item.MicrosoftGraphIdentitySet
lastModifiedBy()
Get the lastModifiedBy property: identitySet.MicrosoftGraphUserInner
lastModifiedByUser()
Get the lastModifiedByUser property: Represents an Azure Active Directory user object.OffsetDateTime
lastModifiedDateTime()
Get the lastModifiedDateTime property: Date and time the item was last modified.String
name()
Get the name property: The name of the item.MicrosoftGraphItemReference
parentReference()
Get the parentReference property: itemReference.void
validate()
Validates the instance.String
webUrl()
Get the webUrl property: URL that displays the resource in the browser.MicrosoftGraphBaseItemInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: baseItem.MicrosoftGraphBaseItemInner
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.MicrosoftGraphBaseItemInner
withCreatedByUser(MicrosoftGraphUserInner createdByUser)
Set the createdByUser property: Represents an Azure Active Directory user object.MicrosoftGraphBaseItemInner
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Date and time of item creation.MicrosoftGraphBaseItemInner
withDescription(String description)
Set the description property: Provides a user-visible description of the item.MicrosoftGraphBaseItemInner
withEtag(String etag)
Set the etag property: ETag for the item.MicrosoftGraphBaseItemInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphBaseItemInner
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.MicrosoftGraphBaseItemInner
withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
Set the lastModifiedByUser property: Represents an Azure Active Directory user object.MicrosoftGraphBaseItemInner
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: Date and time the item was last modified.MicrosoftGraphBaseItemInner
withName(String name)
Set the name property: The name of the item.MicrosoftGraphBaseItemInner
withParentReference(MicrosoftGraphItemReference parentReference)
Set the parentReference property: itemReference.MicrosoftGraphBaseItemInner
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
-
-
-
-
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:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphBaseItemInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: baseItem.- Overrides:
withAdditionalProperties
in 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-