/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import java.util.List;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Domain purchase consent object, representing acceptance of applicable legal
* agreements.
*/
public class DomainPurchaseConsent {
/**
* List of applicable legal agreement keys. This list can be retrieved
* using ListLegalAgreements API under
* <code>TopLevelDomain</code> resource.
*/
@JsonProperty(value = "agreementKeys")
private List<String> agreementKeys;
/**
* Client IP address.
*/
@JsonProperty(value = "agreedBy")
private String agreedBy;
/**
* Timestamp when the agreements were accepted.
*/
@JsonProperty(value = "agreedAt")
private DateTime agreedAt;
/**
* Get the agreementKeys value.
*
* @return the agreementKeys value
*/
public List<String> agreementKeys() {
return this.agreementKeys;
}
/**
* Set the agreementKeys value.
*
* @param agreementKeys the agreementKeys value to set
* @return the DomainPurchaseConsent object itself.
*/
public DomainPurchaseConsent withAgreementKeys(List<String> agreementKeys) {
this.agreementKeys = agreementKeys;
return this;
}
/**
* Get the agreedBy value.
*
* @return the agreedBy value
*/
public String agreedBy() {
return this.agreedBy;
}
/**
* Set the agreedBy value.
*
* @param agreedBy the agreedBy value to set
* @return the DomainPurchaseConsent object itself.
*/
public DomainPurchaseConsent withAgreedBy(String agreedBy) {
this.agreedBy = agreedBy;
return this;
}
/**
* Get the agreedAt value.
*
* @return the agreedAt value
*/
public DateTime agreedAt() {
return this.agreedAt;
}
/**
* Set the agreedAt value.
*
* @param agreedAt the agreedAt value to set
* @return the DomainPurchaseConsent object itself.
*/
public DomainPurchaseConsent withAgreedAt(DateTime agreedAt) {
this.agreedAt = agreedAt;
return this;
}
}