Class MicrosoftGraphShared
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShared
shared.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: shared.owner()Get the owner property: identitySet.scope()Get the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users.sharedBy()Get the sharedBy property: identitySet.Get the sharedDateTime property: The UTC date and time when the item was shared.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: shared.Set the owner property: identitySet.Set the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users.withSharedBy(MicrosoftGraphIdentitySet sharedBy) Set the sharedBy property: identitySet.withSharedDateTime(OffsetDateTime sharedDateTime) Set the sharedDateTime property: The UTC date and time when the item was shared.
-
Constructor Details
-
MicrosoftGraphShared
public MicrosoftGraphShared()Creates an instance of MicrosoftGraphShared class.
-
-
Method Details
-
owner
Get the owner property: identitySet.- Returns:
- the owner value.
-
withOwner
Set the owner property: identitySet.- Parameters:
owner- the owner value to set.- Returns:
- the MicrosoftGraphShared object itself.
-
scope
Get the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only.- Returns:
- the scope value.
-
withScope
Set the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only.- Parameters:
scope- the scope value to set.- Returns:
- the MicrosoftGraphShared object itself.
-
additionalProperties
Get the additionalProperties property: shared.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: shared.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphShared object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-