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 Details

    • MicrosoftGraphBaseItemInner

      public MicrosoftGraphBaseItemInner()
      Creates an instance of MicrosoftGraphBaseItemInner class.
  • Method Details

    • 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: user

      Represents an Azure Active Directory user object.

      Returns:
      the createdByUser value.
    • withCreatedByUser

      public MicrosoftGraphBaseItemInner withCreatedByUser(MicrosoftGraphUserInner createdByUser)
      Set the createdByUser property: user

      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: user

      Represents an Azure Active Directory user object.

      Returns:
      the lastModifiedByUser value.
    • withLastModifiedByUser

      public MicrosoftGraphBaseItemInner withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
      Set the lastModifiedByUser property: user

      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 class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphBaseItemInner withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: baseItem.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      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 class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.