Class DomainPurchaseConsent

java.lang.Object
com.microsoft.azure.management.appservice.DomainPurchaseConsent

public class DomainPurchaseConsent extends Object
Domain purchase consent object, representing acceptance of applicable legal agreements.
  • Constructor Details

    • DomainPurchaseConsent

      public DomainPurchaseConsent()
  • Method Details

    • agreementKeys

      public List<String> agreementKeys()
      Get list of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource.
      Returns:
      the agreementKeys value
    • withAgreementKeys

      public DomainPurchaseConsent withAgreementKeys(List<String> agreementKeys)
      Set list of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource.
      Parameters:
      agreementKeys - the agreementKeys value to set
      Returns:
      the DomainPurchaseConsent object itself.
    • agreedBy

      public String agreedBy()
      Get client IP address.
      Returns:
      the agreedBy value
    • withAgreedBy

      public DomainPurchaseConsent withAgreedBy(String agreedBy)
      Set client IP address.
      Parameters:
      agreedBy - the agreedBy value to set
      Returns:
      the DomainPurchaseConsent object itself.
    • agreedAt

      public org.joda.time.DateTime agreedAt()
      Get timestamp when the agreements were accepted.
      Returns:
      the agreedAt value
    • withAgreedAt

      public DomainPurchaseConsent withAgreedAt(org.joda.time.DateTime agreedAt)
      Set timestamp when the agreements were accepted.
      Parameters:
      agreedAt - the agreedAt value to set
      Returns:
      the DomainPurchaseConsent object itself.