你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphShared Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphShared
- com.
Implements
public final class MicrosoftGraphShared
implements JsonSerializable<MicrosoftGraphShared>
shared.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphShared() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Microsoft |
owner()
Get the owner property: identity |
String |
scope()
Get the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users. |
Microsoft |
sharedBy()
Get the shared |
Offset |
sharedDateTime()
Get the shared |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withOwner(MicrosoftGraphIdentitySet owner)
Set the owner property: identity |
Microsoft |
withScope(String scope)
Set the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users. |
Microsoft |
withSharedBy(MicrosoftGraphIdentitySet sharedBy)
Set the shared |
Microsoft |
withSharedDateTime(OffsetDateTime sharedDateTime)
Set the shared |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphShared
public MicrosoftGraphShared()
Creates an instance of MicrosoftGraphShared class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: shared.
Returns:
fromJson
public static MicrosoftGraphShared fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphShared from the JsonReader.
Parameters:
Returns:
Throws:
owner
public MicrosoftGraphIdentitySet owner()
Get the owner property: identitySet.
Returns:
scope
public String scope()
Get the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only.
Returns:
sharedBy
public MicrosoftGraphIdentitySet sharedBy()
Get the sharedBy property: identitySet.
Returns:
sharedDateTime
public OffsetDateTime sharedDateTime()
Get the sharedDateTime property: The UTC date and time when the item was shared. Read-only.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphShared withAdditionalProperties(Map
Set the additionalProperties property: shared.
Parameters:
Returns:
withOwner
public MicrosoftGraphShared withOwner(MicrosoftGraphIdentitySet owner)
Set the owner property: identitySet.
Parameters:
Returns:
withScope
public MicrosoftGraphShared withScope(String scope)
Set the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only.
Parameters:
Returns:
withSharedBy
public MicrosoftGraphShared withSharedBy(MicrosoftGraphIdentitySet sharedBy)
Set the sharedBy property: identitySet.
Parameters:
Returns:
withSharedDateTime
public MicrosoftGraphShared withSharedDateTime(OffsetDateTime sharedDateTime)
Set the sharedDateTime property: The UTC date and time when the item was shared. Read-only.
Parameters:
Returns: