MicrosoftGraphResourceReference Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphResourceReference
- com.
Implements
public final class MicrosoftGraphResourceReference
implements JsonSerializable<MicrosoftGraphResourceReference>
resourceReference.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphResourceReference() |
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 |
String |
id()
Get the id property: The item's unique identifier. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: A string value that can be used to classify the item, such as 'microsoft. |
void |
validate()
Validates the instance. |
String |
webUrl()
Get the web |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withId(String id)
Set the id property: The item's unique identifier. |
Microsoft |
withType(String type)
Set the type property: A string value that can be used to classify the item, such as 'microsoft. |
Microsoft |
withWebUrl(String webUrl)
Set the web |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphResourceReference
public MicrosoftGraphResourceReference()
Creates an instance of MicrosoftGraphResourceReference class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: resourceReference.
Returns:
fromJson
public static MicrosoftGraphResourceReference fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphResourceReference from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The item's unique identifier.
Returns:
toJson
type
public String type()
Get the type property: A string value that can be used to classify the item, such as 'microsoft.graph.driveItem'.
Returns:
validate
public void validate()
Validates the instance.
webUrl
public String webUrl()
Get the webUrl property: A URL leading to the referenced item.
Returns:
withAdditionalProperties
public MicrosoftGraphResourceReference withAdditionalProperties(Map
Set the additionalProperties property: resourceReference.
Parameters:
Returns:
withId
public MicrosoftGraphResourceReference withId(String id)
Set the id property: The item's unique identifier.
Parameters:
Returns:
withType
public MicrosoftGraphResourceReference withType(String type)
Set the type property: A string value that can be used to classify the item, such as 'microsoft.graph.driveItem'.
Parameters:
Returns:
withWebUrl
public MicrosoftGraphResourceReference withWebUrl(String webUrl)
Set the webUrl property: A URL leading to the referenced item.
Parameters:
Returns:
Applies to
Azure SDK for Java