MicrosoftGraphBaseItemInner Class

public class MicrosoftGraphBaseItemInner
extends MicrosoftGraphEntity

baseItem.

Constructor Summary

Constructor Description
MicrosoftGraphBaseItemInner()

Creates an instance of MicrosoftGraphBaseItemInner class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphBaseItemInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphBaseItemInner from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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 MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphBaseItemInner

public MicrosoftGraphBaseItemInner()

Creates an instance of MicrosoftGraphBaseItemInner class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: baseItem.

Overrides:

MicrosoftGraphBaseItemInner.additionalProperties()

Returns:

the additionalProperties value.

createdBy

public MicrosoftGraphIdentitySet createdBy()

Get the createdBy property: identitySet.

Returns:

the createdBy value.

createdByUser

public MicrosoftGraphUserInner createdByUser()

Get the createdByUser property: Represents an Azure Active Directory user object.

Returns:

the createdByUser value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: Date and time of item creation. Read-only.

Returns:

the createdDateTime value.

description

public String description()

Get the description property: Provides a user-visible description of the item. Optional.

Returns:

the description value.

etag

public String etag()

Get the etag property: ETag for the item. Read-only.

Returns:

the etag value.

fromJson

public static MicrosoftGraphBaseItemInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphBaseItemInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphBaseItemInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphBaseItemInner.

lastModifiedBy

public MicrosoftGraphIdentitySet lastModifiedBy()

Get the lastModifiedBy property: identitySet.

Returns:

the lastModifiedBy value.

lastModifiedByUser

public MicrosoftGraphUserInner lastModifiedByUser()

Get the lastModifiedByUser property: Represents an Azure Active Directory user object.

Returns:

the lastModifiedByUser value.

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: Date and time the item was last modified. Read-only.

Returns:

the lastModifiedDateTime value.

name

public String name()

Get the name property: The name of the item. Read-write.

Returns:

the name value.

parentReference

public MicrosoftGraphItemReference parentReference()

Get the parentReference property: itemReference.

Returns:

the parentReference value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphBaseItemInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphBaseItemInner.validate()

webUrl

public String webUrl()

Get the webUrl property: URL that displays the resource in the browser. Read-only.

Returns:

the webUrl value.

withAdditionalProperties

public MicrosoftGraphBaseItemInner withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: baseItem.

Overrides:

MicrosoftGraphBaseItemInner.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphBaseItemInner object itself.

withCreatedBy

public MicrosoftGraphBaseItemInner withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

Parameters:

createdBy - the createdBy value to set.

Returns:

the MicrosoftGraphBaseItemInner object itself.

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.

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.

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.

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.

withId

public MicrosoftGraphBaseItemInner withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphBaseItemInner.withId(String id)

Parameters:

id

withLastModifiedBy

public MicrosoftGraphBaseItemInner withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Parameters:

lastModifiedBy - the lastModifiedBy value to set.

Returns:

the MicrosoftGraphBaseItemInner object itself.

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.

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.

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.

withParentReference

public MicrosoftGraphBaseItemInner withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

Parameters:

parentReference - the parentReference value to set.

Returns:

the MicrosoftGraphBaseItemInner object itself.

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.

Applies to