Class CollectionOfOAuth2PermissionGrant
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.CollectionOfOAuth2PermissionGrant
-
public final class CollectionOfOAuth2PermissionGrant extends Object
Collection of oAuth2PermissionGrant.
-
-
Constructor Summary
Constructors Constructor Description CollectionOfOAuth2PermissionGrant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Collection of oAuth2PermissionGrant.String
odataNextLink()
Get the odataNextLink property: The @odata.nextLink property.void
validate()
Validates the instance.List<MicrosoftGraphOAuth2PermissionGrantInner>
value()
Get the value property: The value property.CollectionOfOAuth2PermissionGrant
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Collection of oAuth2PermissionGrant.CollectionOfOAuth2PermissionGrant
withOdataNextLink(String odataNextLink)
Set the odataNextLink property: The @odata.nextLink property.CollectionOfOAuth2PermissionGrant
withValue(List<MicrosoftGraphOAuth2PermissionGrantInner> value)
Set the value property: The value property.
-
-
-
Method Detail
-
value
public List<MicrosoftGraphOAuth2PermissionGrantInner> value()
Get the value property: The value property.- Returns:
- the value value.
-
withValue
public CollectionOfOAuth2PermissionGrant withValue(List<MicrosoftGraphOAuth2PermissionGrantInner> value)
Set the value property: The value property.- Parameters:
value
- the value value to set.- Returns:
- the CollectionOfOAuth2PermissionGrant object itself.
-
odataNextLink
public String odataNextLink()
Get the odataNextLink property: The @odata.nextLink property.- Returns:
- the odataNextLink value.
-
withOdataNextLink
public CollectionOfOAuth2PermissionGrant withOdataNextLink(String odataNextLink)
Set the odataNextLink property: The @odata.nextLink property.- Parameters:
odataNextLink
- the odataNextLink value to set.- Returns:
- the CollectionOfOAuth2PermissionGrant object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Collection of oAuth2PermissionGrant.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public CollectionOfOAuth2PermissionGrant withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Collection of oAuth2PermissionGrant.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the CollectionOfOAuth2PermissionGrant object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-