Class 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 Details

    • contractType

      @SerializedName(value="contractType", alternate="ContractType") @Expose @Nullable public String contractType
      The 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 customerId
      The 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 defaultDomainName
      The 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 displayName
      The 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class DirectoryObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to