/// <summary>
 /// Initializes a new instance of the <see cref="AccountItemParams" /> class.
 /// </summary>
 /// <param name="companyId">事業所ID (required).</param>
 /// <param name="accountItem">accountItem (required).</param>
 public AccountItemParams(int companyId = default(int), AccountItemParamsAccountItem accountItem = default(AccountItemParamsAccountItem))
 {
     this.CompanyId = companyId;
     // to ensure "accountItem" is required (not null)
     this.AccountItem = accountItem ?? throw new ArgumentNullException("accountItem is a required property for AccountItemParams and cannot be null");;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the AccountItemParams class.
 /// </summary>
 /// <param name="companyId">事業所ID</param>
 public AccountItemParams(int companyId, AccountItemParamsAccountItem accountItem)
 {
     CompanyId   = companyId;
     AccountItem = accountItem;
     CustomInit();
 }