Share via


MicrosoftGraphSharedInsight Class

public final class MicrosoftGraphSharedInsight
extends MicrosoftGraphEntity

Represents a shared insight.

Constructor Summary

Constructor Description
MicrosoftGraphSharedInsight()

Creates an instance of MicrosoftGraphSharedInsight class.

Method Summary

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

Get the additionalProperties property: sharedInsight.

static MicrosoftGraphSharedInsight fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSharedInsight from the JsonReader.

MicrosoftGraphSharingDetail lastShared()

Get the lastShared property: sharingDetail.

MicrosoftGraphEntity lastSharedMethod()

Get the lastSharedMethod property: entity.

MicrosoftGraphEntity resource()

Get the resource property: entity.

MicrosoftGraphResourceReference resourceReference()

Get the resourceReference property: resourceReference.

MicrosoftGraphResourceVisualization resourceVisualization()

Get the resourceVisualization property: resourceVisualization.

List<MicrosoftGraphSharingDetail> sharingHistory()

Get the sharingHistory property: The sharingHistory property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphSharedInsight withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: sharedInsight.

MicrosoftGraphSharedInsight withId(String id)

Set the id property: Read-only.

MicrosoftGraphSharedInsight withLastShared(MicrosoftGraphSharingDetail lastShared)

Set the lastShared property: sharingDetail.

MicrosoftGraphSharedInsight withLastSharedMethod(MicrosoftGraphEntity lastSharedMethod)

Set the lastSharedMethod property: entity.

MicrosoftGraphSharedInsight withResource(MicrosoftGraphEntity resource)

Set the resource property: entity.

MicrosoftGraphSharedInsight withResourceReference(MicrosoftGraphResourceReference resourceReference)

Set the resourceReference property: resourceReference.

MicrosoftGraphSharedInsight withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)

Set the resourceVisualization property: resourceVisualization.

MicrosoftGraphSharedInsight withSharingHistory(List<MicrosoftGraphSharingDetail> sharingHistory)

Set the sharingHistory property: The sharingHistory property.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSharedInsight

public MicrosoftGraphSharedInsight()

Creates an instance of MicrosoftGraphSharedInsight class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: sharedInsight.

Overrides:

MicrosoftGraphSharedInsight.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphSharedInsight fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSharedInsight from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastShared

public MicrosoftGraphSharingDetail lastShared()

Get the lastShared property: sharingDetail.

Returns:

the lastShared value.

lastSharedMethod

public MicrosoftGraphEntity lastSharedMethod()

Get the lastSharedMethod property: entity.

Returns:

the lastSharedMethod value.

resource

public MicrosoftGraphEntity resource()

Get the resource property: entity.

Returns:

the resource value.

resourceReference

public MicrosoftGraphResourceReference resourceReference()

Get the resourceReference property: resourceReference.

Returns:

the resourceReference value.

resourceVisualization

public MicrosoftGraphResourceVisualization resourceVisualization()

Get the resourceVisualization property: resourceVisualization.

Returns:

the resourceVisualization value.

sharingHistory

public List<MicrosoftGraphSharingDetail> sharingHistory()

Get the sharingHistory property: The sharingHistory property.

Returns:

the sharingHistory value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphSharedInsight.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphSharedInsight.validate()

withAdditionalProperties

public MicrosoftGraphSharedInsight withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: sharedInsight.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSharedInsight object itself.

withId

public MicrosoftGraphSharedInsight withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphSharedInsight.withId(String id)

Parameters:

id

withLastShared

public MicrosoftGraphSharedInsight withLastShared(MicrosoftGraphSharingDetail lastShared)

Set the lastShared property: sharingDetail.

Parameters:

lastShared - the lastShared value to set.

Returns:

the MicrosoftGraphSharedInsight object itself.

withLastSharedMethod

public MicrosoftGraphSharedInsight withLastSharedMethod(MicrosoftGraphEntity lastSharedMethod)

Set the lastSharedMethod property: entity.

Parameters:

lastSharedMethod - the lastSharedMethod value to set.

Returns:

the MicrosoftGraphSharedInsight object itself.

withResource

public MicrosoftGraphSharedInsight withResource(MicrosoftGraphEntity resource)

Set the resource property: entity.

Parameters:

resource - the resource value to set.

Returns:

the MicrosoftGraphSharedInsight object itself.

withResourceReference

public MicrosoftGraphSharedInsight withResourceReference(MicrosoftGraphResourceReference resourceReference)

Set the resourceReference property: resourceReference.

Parameters:

resourceReference - the resourceReference value to set.

Returns:

the MicrosoftGraphSharedInsight object itself.

withResourceVisualization

public MicrosoftGraphSharedInsight withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)

Set the resourceVisualization property: resourceVisualization.

Parameters:

resourceVisualization - the resourceVisualization value to set.

Returns:

the MicrosoftGraphSharedInsight object itself.

withSharingHistory

public MicrosoftGraphSharedInsight withSharingHistory(List<MicrosoftGraphSharingDetail> sharingHistory)

Set the sharingHistory property: The sharingHistory property.

Parameters:

sharingHistory - the sharingHistory value to set.

Returns:

the MicrosoftGraphSharedInsight object itself.

Applies to