Package com.microsoft.graph.models
Class Contract
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.Contract
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class Contract
extends DirectoryObject
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Contract.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Contract Type.The Customer Id.The Default Domain Name.The Display Name.Fields inherited from class com.microsoft.graph.models.DirectoryObject
deletedDateTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
contractType
@SerializedName(value="contractType", alternate="ContractType") @Expose @Nullable public String contractTypeThe Contract Type. Type of contract. Possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below. -
customerId
@SerializedName(value="customerId", alternate="CustomerId") @Expose @Nullable public UUID customerIdThe Customer Id. The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource. -
defaultDomainName
@SerializedName(value="defaultDomainName", alternate="DefaultDomainName") @Expose @Nullable public String defaultDomainNameThe Default Domain Name. 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. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. 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.
-
-
Constructor Details
-
Contract
public Contract()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classDirectoryObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-