Class MicrosoftGraphContractInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContractInner
-
public final class MicrosoftGraphContractInner extends MicrosoftGraphDirectoryObjectInner
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphContractInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: Represents an Azure Active Directory object.StringcontractType()Get the contractType property: Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer.UUIDcustomerId()Get the customerId property: The unique identifier for the customer tenant referenced by this partnership.StringdefaultDomainName()Get the defaultDomainName property: A copy of the customer tenant's default domain name.StringdisplayName()Get the displayName property: A copy of the customer tenant's display name.voidvalidate()Validates the instance.MicrosoftGraphContractInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Represents an Azure Active Directory object.MicrosoftGraphContractInnerwithContractType(String contractType)Set the contractType property: Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer.MicrosoftGraphContractInnerwithCustomerId(UUID customerId)Set the customerId property: The unique identifier for the customer tenant referenced by this partnership.MicrosoftGraphContractInnerwithDefaultDomainName(String defaultDomainName)Set the defaultDomainName property: A copy of the customer tenant's default domain name.MicrosoftGraphContractInnerwithDeletedDateTime(OffsetDateTime deletedDateTime)Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphContractInnerwithDisplayName(String displayName)Set the displayName property: A copy of the customer tenant's display name.MicrosoftGraphContractInnerwithId(String id)Set the id property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
contractType
public String contractType()
Get the contractType property: Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn’t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners.- Returns:
- the contractType value.
-
withContractType
public MicrosoftGraphContractInner withContractType(String contractType)
Set the contractType property: Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn’t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners.- Parameters:
contractType- the contractType value to set.- Returns:
- the MicrosoftGraphContractInner object itself.
-
customerId
public UUID customerId()
Get the customerId property: The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.- Returns:
- the customerId value.
-
withCustomerId
public MicrosoftGraphContractInner withCustomerId(UUID customerId)
Set the customerId property: The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.- Parameters:
customerId- the customerId value to set.- Returns:
- the MicrosoftGraphContractInner object itself.
-
defaultDomainName
public String defaultDomainName()
Get the defaultDomainName property: A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.- Returns:
- the defaultDomainName value.
-
withDefaultDomainName
public MicrosoftGraphContractInner withDefaultDomainName(String defaultDomainName)
Set the defaultDomainName property: A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.- Parameters:
defaultDomainName- the defaultDomainName value to set.- Returns:
- the MicrosoftGraphContractInner object itself.
-
displayName
public String displayName()
Get the displayName property: A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphContractInner withDisplayName(String displayName)
Set the displayName property: A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphContractInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
additionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphContractInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphContractInner object itself.
-
withDeletedDateTime
public MicrosoftGraphContractInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTimein classMicrosoftGraphDirectoryObjectInner- Parameters:
deletedDateTime- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphContractInner withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphDirectoryObjectInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphDirectoryObjectInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-