/// <summary>
 /// Initializes a new instance of the <see cref="UserTermAgreementModel" /> class.
 /// </summary>
 /// <param name="userTerms">userTerms.</param>
 /// <param name="hasAgreedToLatest">hasAgreedToLatest.</param>
 /// <param name="latestTerm">latestTerm.</param>
 public UserTermAgreementModel(List <UserTermModel> userTerms = default(List <UserTermModel>), bool?hasAgreedToLatest = default(bool?), TermModel latestTerm = default(TermModel))
 {
     this.UserTerms         = userTerms;
     this.HasAgreedToLatest = hasAgreedToLatest;
     this.LatestTerm        = latestTerm;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserTermModel" /> class.
 /// </summary>
 /// <param name="term">term.</param>
 /// <param name="id">id.</param>
 /// <param name="agreed">agreed.</param>
 public UserTermModel(TermModel term = default(TermModel), string id = default(string), bool?agreed = default(bool?))
 {
     this.Term   = term;
     this.Id     = id;
     this.Agreed = agreed;
 }