예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SelectablesIndexResponseAccountCategories" /> class.
 /// </summary>
 /// <param name="accountItems">勘定科目の一覧 (required).</param>
 /// <param name="balance">収支 (required).</param>
 /// <param name="desc">カテゴリーの説明.</param>
 /// <param name="orgCode">事業形態(個人事業主: personal、法人: corporate) (required).</param>
 /// <param name="role">カテゴリーコード (required).</param>
 /// <param name="title">カテゴリー名 (required).</param>
 public SelectablesIndexResponseAccountCategories(List <SelectablesIndexResponseAccountItems> accountItems = default(List <SelectablesIndexResponseAccountItems>), BalanceEnum balance = default(BalanceEnum), string desc = default(string), OrgCodeEnum orgCode = default(OrgCodeEnum), string role = default(string), string title = default(string))
 {
     // to ensure "accountItems" is required (not null)
     this.AccountItems = accountItems ?? throw new ArgumentNullException("accountItems is a required property for SelectablesIndexResponseAccountCategories and cannot be null");
     this.Balance      = balance;
     this.OrgCode      = orgCode;
     // to ensure "role" is required (not null)
     this.Role = role ?? throw new ArgumentNullException("role is a required property for SelectablesIndexResponseAccountCategories and cannot be null");
     // to ensure "title" is required (not null)
     this.Title = title ?? throw new ArgumentNullException("title is a required property for SelectablesIndexResponseAccountCategories and cannot be null");
     this.Desc  = desc;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompaniesPlanResponse" /> class.
 /// </summary>
 /// <param name="id">事業所ID (required).</param>
 /// <param name="orgCode">事業形態(個人事業主: personal、法人: corporate) (required).</param>
 /// <param name="plan">会計プラン 個人用(non_charged: 無料プラン、starter: スターター、standard: スタンダード、premium: プレミアム) 法人用(non_charged: 無料プラン、minimum: ミニマム、basic: ベーシック、professional: プロフェッショナル、enterprise: エンタープライズ) (required).</param>
 public CompaniesPlanResponse(int id = default(int), OrgCodeEnum orgCode = default(OrgCodeEnum), PlanEnum plan = default(PlanEnum))
 {
     this.Id      = id;
     this.OrgCode = orgCode;
     this.Plan    = plan;
 }