kickflow 0.1.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +102 -100
  4. data/Rakefile +1 -1
  5. data/docs/DefaultApi.md +118 -114
  6. data/docs/FormField.md +3 -1
  7. data/docs/FormFieldDetail.md +2 -0
  8. data/docs/PatchTicketsTicketIdRequestInputsInner.md +4 -4
  9. data/docs/PatchTicketsTicketIdRequestSlipItemsInnerInputsInner.md +8 -2
  10. data/docs/PostFiles200Response.md +1 -1
  11. data/docs/PostTicketsIdCommentsRequest.md +1 -1
  12. data/docs/PostTicketsRequestInputsInner.md +4 -4
  13. data/docs/PostTicketsRequestSlipItemsInnerInputsInner.md +7 -1
  14. data/docs/PostTicketsRequestSlipItemsInnerInputsInnerTeamId.md +49 -0
  15. data/docs/PostTicketsRequestSlipItemsInnerInputsInnerTicketId.md +49 -0
  16. data/docs/PostTicketsRequestSlipItemsInnerInputsInnerUserId.md +49 -0
  17. data/docs/RouteStep.md +3 -1
  18. data/docs/Section.md +2 -0
  19. data/docs/SectionListItem.md +32 -0
  20. data/docs/SlipField.md +3 -1
  21. data/docs/SlipFieldDetail.md +2 -0
  22. data/docs/SlipItemInput.md +6 -0
  23. data/docs/SubStatus.md +1 -1
  24. data/docs/TicketWithStep.md +52 -0
  25. data/docs/TicketWorkflow.md +10 -6
  26. data/docs/UserImage.md +5 -1
  27. data/docs/Workflow.md +6 -4
  28. data/docs/WorkflowDetail.md +9 -5
  29. data/docs/WorkflowInTicket.md +10 -6
  30. data/kickflow.gemspec +8 -1
  31. data/lib/kickflow/api/_api.rb +115 -109
  32. data/lib/kickflow/configuration.rb +2 -2
  33. data/lib/kickflow/models/form_field.rb +16 -5
  34. data/lib/kickflow/models/form_field_detail.rb +12 -1
  35. data/lib/kickflow/models/patch_tickets_ticket_id_request_inputs_inner.rb +4 -4
  36. data/lib/kickflow/models/patch_tickets_ticket_id_request_slip_items_inner_inputs_inner.rb +30 -5
  37. data/lib/kickflow/models/post_files200_response.rb +1 -1
  38. data/lib/kickflow/models/post_tickets_id_comments_request.rb +1 -1
  39. data/lib/kickflow/models/post_tickets_request_inputs_inner.rb +4 -4
  40. data/lib/kickflow/models/post_tickets_request_slip_items_inner_inputs_inner.rb +29 -2
  41. data/lib/kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_team_id.rb +106 -0
  42. data/lib/kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_ticket_id.rb +106 -0
  43. data/lib/kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_user_id.rb +106 -0
  44. data/lib/kickflow/models/role_create_body_permission_list_inner.rb +2 -2
  45. data/lib/kickflow/models/role_detail_all_of_permission_list.rb +2 -2
  46. data/lib/kickflow/models/role_update_body_permission_list_inner.rb +2 -2
  47. data/lib/kickflow/models/route_step.rb +22 -5
  48. data/lib/kickflow/models/route_step_condition_field.rb +34 -0
  49. data/lib/kickflow/models/section.rb +51 -1
  50. data/lib/kickflow/models/section_list_item.rb +336 -0
  51. data/lib/kickflow/models/slip_field.rb +18 -7
  52. data/lib/kickflow/models/slip_field_detail.rb +14 -3
  53. data/lib/kickflow/models/slip_item_input.rb +37 -1
  54. data/lib/kickflow/models/sub_status.rb +2 -0
  55. data/lib/kickflow/models/ticket_with_step.rb +568 -0
  56. data/lib/kickflow/models/user_image.rb +29 -9
  57. data/lib/kickflow/models/workflow.rb +17 -5
  58. data/lib/kickflow/models/workflow_detail.rb +30 -6
  59. data/lib/kickflow/models/workflow_in_ticket.rb +31 -7
  60. data/lib/kickflow/version.rb +1 -1
  61. data/lib/kickflow.rb +5 -3
  62. data/manifest.scm +7 -1
  63. data/pkg/kickflow-0.1.0.gem +0 -0
  64. data/pkg/kickflow-0.2.0.gem +0 -0
  65. data/spec/models/post_tickets_request_slip_items_inner_inputs_inner_team_id_spec.rb +32 -0
  66. data/spec/models/post_tickets_request_slip_items_inner_inputs_inner_ticket_id_spec.rb +32 -0
  67. data/spec/models/post_tickets_request_slip_items_inner_inputs_inner_user_id_spec.rb +32 -0
  68. data/spec/models/section_list_item_spec.rb +82 -0
  69. data/spec/models/ticket_with_step_spec.rb +146 -0
  70. data/vendor/schema.yaml +377 -167
  71. metadata +31 -3
@@ -49,16 +49,16 @@ module Kickflow
49
49
  # タイトルの説明
50
50
  attr_accessor :title_description
51
51
 
52
- # 明細を持つ場合true
52
+ # 明細を持つ場合true。このフィールドは廃止予定です。代わりにsectionListのsectionTypeを参照してください。
53
53
  attr_accessor :slip
54
54
 
55
- # 明細タイトル
55
+ # 明細タイトル。このフィールドは廃止予定です。代わりにsectionListのtitleを参照してください。
56
56
  attr_accessor :slip_title
57
57
 
58
- # 明細の説明
58
+ # 明細の説明。このフィールドは廃止予定です。代わりにsectionListのdescriptionを参照してください。
59
59
  attr_accessor :slip_description
60
60
 
61
- # 明細の位置
61
+ # 明細の位置。このフィールドは廃止予定です。代わりにsectionListを参照してください。
62
62
  attr_accessor :slip_position
63
63
 
64
64
  # チケット番号のフォーマット
@@ -79,6 +79,9 @@ module Kickflow
79
79
  # タイトルの計算式
80
80
  attr_accessor :title_formula
81
81
 
82
+ # 閲覧者の編集が可能な場合true
83
+ attr_accessor :allow_editing_of_viewers
84
+
82
85
  attr_accessor :author
83
86
 
84
87
  attr_accessor :version_author
@@ -134,6 +137,7 @@ module Kickflow
134
137
  :'updated_at' => :'updatedAt',
135
138
  :'title_input_mode' => :'titleInputMode',
136
139
  :'title_formula' => :'titleFormula',
140
+ :'allow_editing_of_viewers' => :'allowEditingOfViewers',
137
141
  :'author' => :'author',
138
142
  :'version_author' => :'versionAuthor',
139
143
  :'folder' => :'folder',
@@ -170,6 +174,7 @@ module Kickflow
170
174
  :'updated_at' => :'String',
171
175
  :'title_input_mode' => :'String',
172
176
  :'title_formula' => :'String',
177
+ :'allow_editing_of_viewers' => :'Boolean',
173
178
  :'author' => :'User',
174
179
  :'version_author' => :'User',
175
180
  :'folder' => :'Folder',
@@ -331,6 +336,12 @@ module Kickflow
331
336
  self.title_formula = nil
332
337
  end
333
338
 
339
+ if attributes.key?(:'allow_editing_of_viewers')
340
+ self.allow_editing_of_viewers = attributes[:'allow_editing_of_viewers']
341
+ else
342
+ self.allow_editing_of_viewers = true
343
+ end
344
+
334
345
  if attributes.key?(:'author')
335
346
  self.author = attributes[:'author']
336
347
  else
@@ -558,6 +569,7 @@ module Kickflow
558
569
  updated_at == o.updated_at &&
559
570
  title_input_mode == o.title_input_mode &&
560
571
  title_formula == o.title_formula &&
572
+ allow_editing_of_viewers == o.allow_editing_of_viewers &&
561
573
  author == o.author &&
562
574
  version_author == o.version_author &&
563
575
  folder == o.folder &&
@@ -573,7 +585,7 @@ module Kickflow
573
585
  # Calculates hash code according to all attributes.
574
586
  # @return [Integer] Hash code
575
587
  def hash
576
- [id, code, version_id, version_number, name, description, status, public_ticket, visible_to_manager, visible_to_team_members, title_description, slip, slip_title, slip_description, slip_position, ticket_number_format, overwritable, created_at, updated_at, title_input_mode, title_formula, author, version_author, folder, categories].hash
588
+ [id, code, version_id, version_number, name, description, status, public_ticket, visible_to_manager, visible_to_team_members, title_description, slip, slip_title, slip_description, slip_position, ticket_number_format, overwritable, created_at, updated_at, title_input_mode, title_formula, allow_editing_of_viewers, author, version_author, folder, categories].hash
577
589
  end
578
590
 
579
591
  # Builds the object from hash
@@ -49,16 +49,16 @@ module Kickflow
49
49
  # タイトルの説明
50
50
  attr_accessor :title_description
51
51
 
52
- # 明細を持つ場合true
52
+ # 明細を持つ場合true。このフィールドは廃止予定です。代わりにsectionListのsectionTypeを参照してください。
53
53
  attr_accessor :slip
54
54
 
55
- # 明細タイトル
55
+ # 明細タイトル。このフィールドは廃止予定です。代わりにsectionListのtitleを参照してください。
56
56
  attr_accessor :slip_title
57
57
 
58
- # 明細の説明
58
+ # 明細の説明。このフィールドは廃止予定です。代わりにsectionListのdescriptionを参照してください。
59
59
  attr_accessor :slip_description
60
60
 
61
- # 明細の位置
61
+ # 明細の位置。このフィールドは廃止予定です。代わりにsectionListを参照してください。
62
62
  attr_accessor :slip_position
63
63
 
64
64
  # チケット番号のフォーマット
@@ -79,6 +79,9 @@ module Kickflow
79
79
  # タイトルの計算式
80
80
  attr_accessor :title_formula
81
81
 
82
+ # 閲覧者の編集が可能な場合true
83
+ attr_accessor :allow_editing_of_viewers
84
+
82
85
  attr_accessor :author
83
86
 
84
87
  attr_accessor :version_author
@@ -88,7 +91,10 @@ module Kickflow
88
91
  # カテゴリの配列
89
92
  attr_accessor :categories
90
93
 
91
- # セクションの配列
94
+ # セクション・明細を表すオブジェクトを画面に表示される順に格納した配列。
95
+ attr_accessor :section_list
96
+
97
+ # セクションの配列。このフィールドは廃止予定です。代わりにsectionListを参照してください。
92
98
  attr_accessor :sections
93
99
 
94
100
  # 明細フィールド
@@ -148,10 +154,12 @@ module Kickflow
148
154
  :'updated_at' => :'updatedAt',
149
155
  :'title_input_mode' => :'titleInputMode',
150
156
  :'title_formula' => :'titleFormula',
157
+ :'allow_editing_of_viewers' => :'allowEditingOfViewers',
151
158
  :'author' => :'author',
152
159
  :'version_author' => :'versionAuthor',
153
160
  :'folder' => :'folder',
154
161
  :'categories' => :'categories',
162
+ :'section_list' => :'sectionList',
155
163
  :'sections' => :'sections',
156
164
  :'slip_fields' => :'slipFields',
157
165
  :'ticket_viewers' => :'ticketViewers',
@@ -189,10 +197,12 @@ module Kickflow
189
197
  :'updated_at' => :'String',
190
198
  :'title_input_mode' => :'String',
191
199
  :'title_formula' => :'String',
200
+ :'allow_editing_of_viewers' => :'Boolean',
192
201
  :'author' => :'User',
193
202
  :'version_author' => :'User',
194
203
  :'folder' => :'Folder',
195
204
  :'categories' => :'Array<Category>',
205
+ :'section_list' => :'Array<SectionListItem>',
196
206
  :'sections' => :'Array<Section>',
197
207
  :'slip_fields' => :'Array<SlipFieldDetail>',
198
208
  :'ticket_viewers' => :'Array<WorkflowTicketViewer>',
@@ -361,6 +371,12 @@ module Kickflow
361
371
  self.title_formula = nil
362
372
  end
363
373
 
374
+ if attributes.key?(:'allow_editing_of_viewers')
375
+ self.allow_editing_of_viewers = attributes[:'allow_editing_of_viewers']
376
+ else
377
+ self.allow_editing_of_viewers = true
378
+ end
379
+
364
380
  if attributes.key?(:'author')
365
381
  self.author = attributes[:'author']
366
382
  else
@@ -387,6 +403,12 @@ module Kickflow
387
403
  self.categories = nil
388
404
  end
389
405
 
406
+ if attributes.key?(:'section_list')
407
+ if (value = attributes[:'section_list']).is_a?(Array)
408
+ self.section_list = value
409
+ end
410
+ end
411
+
390
412
  if attributes.key?(:'sections')
391
413
  if (value = attributes[:'sections']).is_a?(Array)
392
414
  self.sections = value
@@ -656,10 +678,12 @@ module Kickflow
656
678
  updated_at == o.updated_at &&
657
679
  title_input_mode == o.title_input_mode &&
658
680
  title_formula == o.title_formula &&
681
+ allow_editing_of_viewers == o.allow_editing_of_viewers &&
659
682
  author == o.author &&
660
683
  version_author == o.version_author &&
661
684
  folder == o.folder &&
662
685
  categories == o.categories &&
686
+ section_list == o.section_list &&
663
687
  sections == o.sections &&
664
688
  slip_fields == o.slip_fields &&
665
689
  ticket_viewers == o.ticket_viewers &&
@@ -676,7 +700,7 @@ module Kickflow
676
700
  # Calculates hash code according to all attributes.
677
701
  # @return [Integer] Hash code
678
702
  def hash
679
- [id, code, version_id, version_number, name, description, status, public_ticket, visible_to_manager, visible_to_team_members, title_description, slip, slip_title, slip_description, slip_position, ticket_number_format, overwritable, created_at, updated_at, title_input_mode, title_formula, author, version_author, folder, categories, sections, slip_fields, ticket_viewers, cloud_sign_setting, route_conditions].hash
703
+ [id, code, version_id, version_number, name, description, status, public_ticket, visible_to_manager, visible_to_team_members, title_description, slip, slip_title, slip_description, slip_position, ticket_number_format, overwritable, created_at, updated_at, title_input_mode, title_formula, allow_editing_of_viewers, author, version_author, folder, categories, section_list, sections, slip_fields, ticket_viewers, cloud_sign_setting, route_conditions].hash
680
704
  end
681
705
 
682
706
  # Builds the object from hash
@@ -49,16 +49,16 @@ module Kickflow
49
49
  # タイトルの説明
50
50
  attr_accessor :title_description
51
51
 
52
- # 明細を持つ場合true
52
+ # 明細を持つ場合true。このフィールドは廃止予定です。代わりにsectionListのsectionTypeを参照してください。
53
53
  attr_accessor :slip
54
54
 
55
- # 明細タイトル
55
+ # 明細タイトル。このフィールドは廃止予定です。代わりにsectionListのtitleを参照してください。
56
56
  attr_accessor :slip_title
57
57
 
58
- # 明細の説明
58
+ # 明細の説明。このフィールドは廃止予定です。代わりにsectionListのdescriptionを参照してください。
59
59
  attr_accessor :slip_description
60
60
 
61
- # 明細の位置
61
+ # 明細の位置。このフィールドは廃止予定です。代わりにsectionListを参照してください。
62
62
  attr_accessor :slip_position
63
63
 
64
64
  # チケット番号のフォーマット
@@ -79,6 +79,9 @@ module Kickflow
79
79
  # タイトルの計算式
80
80
  attr_accessor :title_formula
81
81
 
82
+ # 閲覧者の編集が可能な場合true
83
+ attr_accessor :allow_editing_of_viewers
84
+
82
85
  attr_accessor :author
83
86
 
84
87
  attr_accessor :version_author
@@ -88,10 +91,13 @@ module Kickflow
88
91
  # カテゴリの配列
89
92
  attr_accessor :categories
90
93
 
91
- # セクションの配列
94
+ # セクション・明細を表すオブジェクトを画面に表示される順に格納した配列。
95
+ attr_accessor :section_list
96
+
97
+ # セクションの配列。このフィールドは廃止予定です。代わりにsectionListを参照してください。
92
98
  attr_accessor :sections
93
99
 
94
- # 明細フィールドの配列
100
+ # 明細フィールドの配列。このフィールドは廃止予定です。代わりにsectionListを参照してください。
95
101
  attr_accessor :slip_fields
96
102
 
97
103
  # ワークフロー単位のチケット閲覧者
@@ -145,10 +151,12 @@ module Kickflow
145
151
  :'updated_at' => :'updatedAt',
146
152
  :'title_input_mode' => :'titleInputMode',
147
153
  :'title_formula' => :'titleFormula',
154
+ :'allow_editing_of_viewers' => :'allowEditingOfViewers',
148
155
  :'author' => :'author',
149
156
  :'version_author' => :'versionAuthor',
150
157
  :'folder' => :'folder',
151
158
  :'categories' => :'categories',
159
+ :'section_list' => :'sectionList',
152
160
  :'sections' => :'sections',
153
161
  :'slip_fields' => :'slipFields',
154
162
  :'ticket_viewers' => :'ticketViewers',
@@ -185,10 +193,12 @@ module Kickflow
185
193
  :'updated_at' => :'String',
186
194
  :'title_input_mode' => :'String',
187
195
  :'title_formula' => :'String',
196
+ :'allow_editing_of_viewers' => :'Boolean',
188
197
  :'author' => :'User',
189
198
  :'version_author' => :'User',
190
199
  :'folder' => :'Folder',
191
200
  :'categories' => :'Array<Category>',
201
+ :'section_list' => :'Array<SectionListItem>',
192
202
  :'sections' => :'Array<Section>',
193
203
  :'slip_fields' => :'Array<SlipFieldDetail>',
194
204
  :'ticket_viewers' => :'Array<WorkflowTicketViewer>',
@@ -356,6 +366,12 @@ module Kickflow
356
366
  self.title_formula = nil
357
367
  end
358
368
 
369
+ if attributes.key?(:'allow_editing_of_viewers')
370
+ self.allow_editing_of_viewers = attributes[:'allow_editing_of_viewers']
371
+ else
372
+ self.allow_editing_of_viewers = true
373
+ end
374
+
359
375
  if attributes.key?(:'author')
360
376
  self.author = attributes[:'author']
361
377
  else
@@ -382,6 +398,12 @@ module Kickflow
382
398
  self.categories = nil
383
399
  end
384
400
 
401
+ if attributes.key?(:'section_list')
402
+ if (value = attributes[:'section_list']).is_a?(Array)
403
+ self.section_list = value
404
+ end
405
+ end
406
+
385
407
  if attributes.key?(:'sections')
386
408
  if (value = attributes[:'sections']).is_a?(Array)
387
409
  self.sections = value
@@ -631,10 +653,12 @@ module Kickflow
631
653
  updated_at == o.updated_at &&
632
654
  title_input_mode == o.title_input_mode &&
633
655
  title_formula == o.title_formula &&
656
+ allow_editing_of_viewers == o.allow_editing_of_viewers &&
634
657
  author == o.author &&
635
658
  version_author == o.version_author &&
636
659
  folder == o.folder &&
637
660
  categories == o.categories &&
661
+ section_list == o.section_list &&
638
662
  sections == o.sections &&
639
663
  slip_fields == o.slip_fields &&
640
664
  ticket_viewers == o.ticket_viewers &&
@@ -650,7 +674,7 @@ module Kickflow
650
674
  # Calculates hash code according to all attributes.
651
675
  # @return [Integer] Hash code
652
676
  def hash
653
- [id, code, version_id, version_number, name, description, status, public_ticket, visible_to_manager, visible_to_team_members, title_description, slip, slip_title, slip_description, slip_position, ticket_number_format, overwritable, created_at, updated_at, title_input_mode, title_formula, author, version_author, folder, categories, sections, slip_fields, ticket_viewers, cloud_sign_setting].hash
677
+ [id, code, version_id, version_number, name, description, status, public_ticket, visible_to_manager, visible_to_team_members, title_description, slip, slip_title, slip_description, slip_position, ticket_number_format, overwritable, created_at, updated_at, title_input_mode, title_formula, allow_editing_of_viewers, author, version_author, folder, categories, section_list, sections, slip_fields, ticket_viewers, cloud_sign_setting].hash
654
678
  end
655
679
 
656
680
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.7.0
11
11
  =end
12
12
 
13
13
  module Kickflow
14
- VERSION = '0.1.0'
14
+ VERSION = '0.2.1'
15
15
  end
data/lib/kickflow.rb CHANGED
@@ -81,12 +81,12 @@ require 'kickflow/models/post_tickets_id_viewers_request_user_id'
81
81
  require 'kickflow/models/post_tickets_request'
82
82
  require 'kickflow/models/post_tickets_request_cloud_sign_document'
83
83
  require 'kickflow/models/post_tickets_request_inputs_inner'
84
- require 'kickflow/models/post_tickets_request_inputs_inner_team_id'
85
- require 'kickflow/models/post_tickets_request_inputs_inner_ticket_id'
86
- require 'kickflow/models/post_tickets_request_inputs_inner_user_id'
87
84
  require 'kickflow/models/post_tickets_request_slip_items_inner'
88
85
  require 'kickflow/models/post_tickets_request_slip_items_inner_inputs_inner'
89
86
  require 'kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_general_master_item_id'
87
+ require 'kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_team_id'
88
+ require 'kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_ticket_id'
89
+ require 'kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_user_id'
90
90
  require 'kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_value'
91
91
  require 'kickflow/models/post_tickets_ticket_id_reject_request'
92
92
  require 'kickflow/models/post_users_request'
@@ -106,6 +106,7 @@ require 'kickflow/models/route_step_condition'
106
106
  require 'kickflow/models/route_step_condition_field'
107
107
  require 'kickflow/models/route_step_target'
108
108
  require 'kickflow/models/section'
109
+ require 'kickflow/models/section_list_item'
109
110
  require 'kickflow/models/slip_field'
110
111
  require 'kickflow/models/slip_field_detail'
111
112
  require 'kickflow/models/slip_item'
@@ -125,6 +126,7 @@ require 'kickflow/models/ticket_input_value'
125
126
  require 'kickflow/models/ticket_section'
126
127
  require 'kickflow/models/ticket_step'
127
128
  require 'kickflow/models/ticket_viewer'
129
+ require 'kickflow/models/ticket_with_step'
128
130
  require 'kickflow/models/ticket_workflow'
129
131
  require 'kickflow/models/user'
130
132
  require 'kickflow/models/user_detail'
data/manifest.scm CHANGED
@@ -1 +1,7 @@
1
- (specifications->manifest (list "ruby@3.1" "ruby-rubocop" "ruby-rspec" "ruby-yard"))
1
+ (specifications->manifest (list "ruby@3.1"
2
+ "ruby-rubocop"
3
+ "ruby-rspec"
4
+ "ruby-yard"
5
+ "ruby-faraday"
6
+ "ruby-faraday-multipart"
7
+ "ruby-marcel"))
Binary file
Binary file
@@ -0,0 +1,32 @@
1
+ =begin
2
+ #kickflow REST API v1
3
+
4
+ #kickflowの開発者用REST API (v1)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.7.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Kickflow::PostTicketsRequestSlipItemsInnerInputsInnerTeamId
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Kickflow::PostTicketsRequestSlipItemsInnerInputsInnerTeamId do
21
+ describe '.openapi_one_of' do
22
+ it 'lists the items referenced in the oneOf array' do
23
+ expect(described_class.openapi_one_of).to_not be_empty
24
+ end
25
+ end
26
+
27
+ describe '.build' do
28
+ it 'returns the correct model' do
29
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,32 @@
1
+ =begin
2
+ #kickflow REST API v1
3
+
4
+ #kickflowの開発者用REST API (v1)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.7.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Kickflow::PostTicketsRequestSlipItemsInnerInputsInnerTicketId
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Kickflow::PostTicketsRequestSlipItemsInnerInputsInnerTicketId do
21
+ describe '.openapi_one_of' do
22
+ it 'lists the items referenced in the oneOf array' do
23
+ expect(described_class.openapi_one_of).to_not be_empty
24
+ end
25
+ end
26
+
27
+ describe '.build' do
28
+ it 'returns the correct model' do
29
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,32 @@
1
+ =begin
2
+ #kickflow REST API v1
3
+
4
+ #kickflowの開発者用REST API (v1)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.7.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Kickflow::PostTicketsRequestSlipItemsInnerInputsInnerUserId
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Kickflow::PostTicketsRequestSlipItemsInnerInputsInnerUserId do
21
+ describe '.openapi_one_of' do
22
+ it 'lists the items referenced in the oneOf array' do
23
+ expect(described_class.openapi_one_of).to_not be_empty
24
+ end
25
+ end
26
+
27
+ describe '.build' do
28
+ it 'returns the correct model' do
29
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,82 @@
1
+ =begin
2
+ #kickflow REST API v1
3
+
4
+ #kickflowの開発者用REST API (v1)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.7.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Kickflow::SectionListItem
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Kickflow::SectionListItem do
21
+ let(:instance) { Kickflow::SectionListItem.new }
22
+
23
+ describe 'test an instance of SectionListItem' do
24
+ it 'should create an instance of SectionListItem' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Kickflow::SectionListItem)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "section_type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["form", "slip"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.section_type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "title"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "description"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "id"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "form_fields"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "conditional"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "condition_all_of"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "slip_fields"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ end