你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphSharingDetail Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingDetail

Implements

public final class MicrosoftGraphSharingDetail
implements JsonSerializable<MicrosoftGraphSharingDetail>

sharingDetail.

Constructor Summary

Constructor Description
MicrosoftGraphSharingDetail()

Creates an instance of MicrosoftGraphSharingDetail class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: sharingDetail.

static MicrosoftGraphSharingDetail fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSharingDetail from the JsonReader.

MicrosoftGraphInsightIdentity sharedBy()

Get the sharedBy property: insightIdentity.

OffsetDateTime sharedDateTime()

Get the sharedDateTime property: The date and time the file was last shared.

MicrosoftGraphResourceReference sharingReference()

Get the sharingReference property: resourceReference.

String sharingSubject()

Get the sharingSubject property: The subject with which the document was shared.

String sharingType()

Get the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphSharingDetail withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: sharingDetail.

MicrosoftGraphSharingDetail withSharedBy(MicrosoftGraphInsightIdentity sharedBy)

Set the sharedBy property: insightIdentity.

MicrosoftGraphSharingDetail withSharedDateTime(OffsetDateTime sharedDateTime)

Set the sharedDateTime property: The date and time the file was last shared.

MicrosoftGraphSharingDetail withSharingReference(MicrosoftGraphResourceReference sharingReference)

Set the sharingReference property: resourceReference.

MicrosoftGraphSharingDetail withSharingSubject(String sharingSubject)

Set the sharingSubject property: The subject with which the document was shared.

MicrosoftGraphSharingDetail withSharingType(String sharingType)

Set the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSharingDetail

public MicrosoftGraphSharingDetail()

Creates an instance of MicrosoftGraphSharingDetail class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: sharingDetail.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphSharingDetail fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSharingDetail from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphSharingDetail 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 MicrosoftGraphSharingDetail.

sharedBy

public MicrosoftGraphInsightIdentity sharedBy()

Get the sharedBy property: insightIdentity.

Returns:

the sharedBy value.

sharedDateTime

public OffsetDateTime sharedDateTime()

Get the sharedDateTime property: The date and time the file was last shared. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: 2014-01-01T00:00:00Z. Read-only.

Returns:

the sharedDateTime value.

sharingReference

public MicrosoftGraphResourceReference sharingReference()

Get the sharingReference property: resourceReference.

Returns:

the sharingReference value.

sharingSubject

public String sharingSubject()

Get the sharingSubject property: The subject with which the document was shared.

Returns:

the sharingSubject value.

sharingType

public String sharingType()

Get the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.

Returns:

the sharingType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphSharingDetail withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: sharingDetail.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSharingDetail object itself.

withSharedBy

public MicrosoftGraphSharingDetail withSharedBy(MicrosoftGraphInsightIdentity sharedBy)

Set the sharedBy property: insightIdentity.

Parameters:

sharedBy - the sharedBy value to set.

Returns:

the MicrosoftGraphSharingDetail object itself.

withSharedDateTime

public MicrosoftGraphSharingDetail withSharedDateTime(OffsetDateTime sharedDateTime)

Set the sharedDateTime property: The date and time the file was last shared. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: 2014-01-01T00:00:00Z. Read-only.

Parameters:

sharedDateTime - the sharedDateTime value to set.

Returns:

the MicrosoftGraphSharingDetail object itself.

withSharingReference

public MicrosoftGraphSharingDetail withSharingReference(MicrosoftGraphResourceReference sharingReference)

Set the sharingReference property: resourceReference.

Parameters:

sharingReference - the sharingReference value to set.

Returns:

the MicrosoftGraphSharingDetail object itself.

withSharingSubject

public MicrosoftGraphSharingDetail withSharingSubject(String sharingSubject)

Set the sharingSubject property: The subject with which the document was shared.

Parameters:

sharingSubject - the sharingSubject value to set.

Returns:

the MicrosoftGraphSharingDetail object itself.

withSharingType

public MicrosoftGraphSharingDetail withSharingType(String sharingType)

Set the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.

Parameters:

sharingType - the sharingType value to set.

Returns:

the MicrosoftGraphSharingDetail object itself.

Applies to