smplkit 3.0.65 → 3.0.66

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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/group_memberships_api.rb +295 -0
  3. data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/groups_api.rb +366 -0
  4. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group.rb +247 -0
  5. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_create_request.rb +165 -0
  6. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_create_resource.rb +242 -0
  7. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_list_response.rb +193 -0
  8. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_membership.rb +215 -0
  9. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_membership_list_response.rb +193 -0
  10. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_membership_request.rb +165 -0
  11. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_membership_resource.rb +225 -0
  12. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_membership_response.rb +165 -0
  13. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_request.rb +165 -0
  14. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_resource.rb +225 -0
  15. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/group_response.rb +165 -0
  16. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/invitation.rb +14 -1
  17. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/invitation_create_item.rb +17 -4
  18. data/lib/smplkit/_generated/app/lib/smplkit_app_client.rb +14 -0
  19. data/lib/smplkit/_generated/app/spec/api/group_memberships_api_spec.rb +88 -0
  20. data/lib/smplkit/_generated/app/spec/api/groups_api_spec.rb +100 -0
  21. data/lib/smplkit/_generated/app/spec/models/group_create_request_spec.rb +36 -0
  22. data/lib/smplkit/_generated/app/spec/models/group_create_resource_spec.rb +52 -0
  23. data/lib/smplkit/_generated/app/spec/models/group_list_response_spec.rb +42 -0
  24. data/lib/smplkit/_generated/app/spec/models/group_membership_list_response_spec.rb +42 -0
  25. data/lib/smplkit/_generated/app/spec/models/group_membership_request_spec.rb +36 -0
  26. data/lib/smplkit/_generated/app/spec/models/group_membership_resource_spec.rb +52 -0
  27. data/lib/smplkit/_generated/app/spec/models/group_membership_response_spec.rb +36 -0
  28. data/lib/smplkit/_generated/app/spec/models/group_membership_spec.rb +54 -0
  29. data/lib/smplkit/_generated/app/spec/models/group_request_spec.rb +36 -0
  30. data/lib/smplkit/_generated/app/spec/models/group_resource_spec.rb +52 -0
  31. data/lib/smplkit/_generated/app/spec/models/group_response_spec.rb +36 -0
  32. data/lib/smplkit/_generated/app/spec/models/group_spec.rb +66 -0
  33. data/lib/smplkit/_generated/app/spec/models/invitation_create_item_spec.rb +6 -0
  34. data/lib/smplkit/_generated/app/spec/models/invitation_spec.rb +6 -0
  35. metadata +29 -1
@@ -70,6 +70,18 @@ require 'smplkit_app_client/models/environment_usage_resource'
70
70
  require 'smplkit_app_client/models/environment_usage_response'
71
71
  require 'smplkit_app_client/models/error'
72
72
  require 'smplkit_app_client/models/error_response'
73
+ require 'smplkit_app_client/models/group'
74
+ require 'smplkit_app_client/models/group_create_request'
75
+ require 'smplkit_app_client/models/group_create_resource'
76
+ require 'smplkit_app_client/models/group_list_response'
77
+ require 'smplkit_app_client/models/group_membership'
78
+ require 'smplkit_app_client/models/group_membership_list_response'
79
+ require 'smplkit_app_client/models/group_membership_request'
80
+ require 'smplkit_app_client/models/group_membership_resource'
81
+ require 'smplkit_app_client/models/group_membership_response'
82
+ require 'smplkit_app_client/models/group_request'
83
+ require 'smplkit_app_client/models/group_resource'
84
+ require 'smplkit_app_client/models/group_response'
73
85
  require 'smplkit_app_client/models/invitation'
74
86
  require 'smplkit_app_client/models/invitation_accept_request'
75
87
  require 'smplkit_app_client/models/invitation_bulk_create_request'
@@ -160,6 +172,8 @@ require 'smplkit_app_client/api/discount_tiers_api'
160
172
  require 'smplkit_app_client/api/email_registrations_api'
161
173
  require 'smplkit_app_client/api/emails_api'
162
174
  require 'smplkit_app_client/api/environments_api'
175
+ require 'smplkit_app_client/api/group_memberships_api'
176
+ require 'smplkit_app_client/api/groups_api'
163
177
  require 'smplkit_app_client/api/invitations_api'
164
178
  require 'smplkit_app_client/api/metrics_api'
165
179
  require 'smplkit_app_client/api/plans_api'
@@ -0,0 +1,88 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for SmplkitGeneratedClient::App::GroupMembershipsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'GroupMembershipsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = SmplkitGeneratedClient::App::GroupMembershipsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of GroupMembershipsApi' do
30
+ it 'should create an instance of GroupMembershipsApi' do
31
+ expect(@api_instance).to be_instance_of(SmplkitGeneratedClient::App::GroupMembershipsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_group_membership
36
+ # Create Group Membership
37
+ # Add a user to a group. The body references the user (UUID) and the group (key) in the resource attributes. Returns `409` if this user is already a member of this group, or `422` if either the user is not a member of the account or the group does not exist.
38
+ # @param group_membership_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [GroupMembershipResponse]
41
+ describe 'create_group_membership test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for delete_group_membership
48
+ # Delete Group Membership
49
+ # Remove a user from a group. Returns `409` when the membership is the user's `default` membership — every user must remain in the `default` group per ADR-055 §4.
50
+ # @param id
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete_group_membership test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for get_group_membership
60
+ # Get Group Membership
61
+ # Return a single membership by id.
62
+ # @param id
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [GroupMembershipResponse]
65
+ describe 'get_group_membership test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for list_group_memberships
72
+ # List Group Memberships
73
+ # List group memberships in the authenticated account. Pass `filter[group]` (a group key) to list members of a single group, or `filter[user]` (a UUID) to list a single user's memberships. The two filters may be combined to look up a specific (user, group) pair.
74
+ # @param [Hash] opts the optional parameters
75
+ # @option opts [String] :filter_group Group key to narrow the result to memberships in that group.
76
+ # @option opts [String] :filter_user User UUID to narrow the result to memberships for that user.
77
+ # @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `created_at`. Allowed values: `created_at`, `-created_at`, `updated_at`, `-updated_at`.
78
+ # @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
79
+ # @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
80
+ # @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
81
+ # @return [GroupMembershipListResponse]
82
+ describe 'list_group_memberships test' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
+ end
86
+ end
87
+
88
+ end
@@ -0,0 +1,100 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for SmplkitGeneratedClient::App::GroupsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'GroupsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = SmplkitGeneratedClient::App::GroupsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of GroupsApi' do
30
+ it 'should create an instance of GroupsApi' do
31
+ expect(@api_instance).to be_instance_of(SmplkitGeneratedClient::App::GroupsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_group
36
+ # Create Group
37
+ # Create an Environment Access Group. The caller provides the group id (a snake-case key, unique within the account) in the request body. The id is immutable thereafter. Returns `409` if a group with that id already exists, or `422` if `managed_environments` is not exactly `['*']` or a subset of the account's standard environment keys.
38
+ # @param group_create_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [GroupResponse]
41
+ describe 'create_group test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for delete_group
48
+ # Delete Group
49
+ # Delete a group by id. Returns `409` for the reserved `default` group, which every account requires. Deleting a group also cascades to its memberships.
50
+ # @param id
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete_group test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for get_group
60
+ # Get Group
61
+ # Return a group by id.
62
+ # @param id
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [GroupResponse]
65
+ describe 'get_group test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for list_groups
72
+ # List Groups
73
+ # List Environment Access Groups for the authenticated account. `filter[search]` does a case-insensitive substring match against the group `key` and `name`.
74
+ # @param [Hash] opts the optional parameters
75
+ # @option opts [String] :filter_search Case-insensitive substring match against the group `key` and `name`. A group is returned if either field contains the search term.
76
+ # @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
77
+ # @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
78
+ # @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
79
+ # @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
80
+ # @return [GroupListResponse]
81
+ describe 'list_groups test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
84
+ end
85
+ end
86
+
87
+ # unit tests for update_group
88
+ # Update Group
89
+ # Update a group's name, description, and managed environments. Whole-resource semantics — submit every writable attribute. For the reserved `default` group, `managed_environments` may be changed (this is the lever that narrows the account-wide baseline), but renaming or other identity changes are rejected with `409`. Invalid `managed_environments` is `422`.
90
+ # @param id
91
+ # @param group_request
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [GroupResponse]
94
+ describe 'update_group test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
97
+ end
98
+ end
99
+
100
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupCreateRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupCreateRequest do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupCreateRequest.new }
22
+
23
+ describe 'test an instance of GroupCreateRequest' do
24
+ it 'should create an instance of GroupCreateRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupCreateRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupCreateResource
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupCreateResource do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupCreateResource.new }
22
+
23
+ describe 'test an instance of GroupCreateResource' do
24
+ it 'should create an instance of GroupCreateResource' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupCreateResource)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "type"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["group"])
40
+ # validator.allowable_values.each do |value|
41
+ # expect { instance.type = value }.not_to raise_error
42
+ # end
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "attributes"' 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
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupListResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupListResponse do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupListResponse.new }
22
+
23
+ describe 'test an instance of GroupListResponse' do
24
+ it 'should create an instance of GroupListResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupListResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "meta"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupMembershipListResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupMembershipListResponse do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupMembershipListResponse.new }
22
+
23
+ describe 'test an instance of GroupMembershipListResponse' do
24
+ it 'should create an instance of GroupMembershipListResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupMembershipListResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "meta"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupMembershipRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupMembershipRequest do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupMembershipRequest.new }
22
+
23
+ describe 'test an instance of GroupMembershipRequest' do
24
+ it 'should create an instance of GroupMembershipRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupMembershipRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupMembershipResource
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupMembershipResource do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupMembershipResource.new }
22
+
23
+ describe 'test an instance of GroupMembershipResource' do
24
+ it 'should create an instance of GroupMembershipResource' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupMembershipResource)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "type"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["group_membership"])
40
+ # validator.allowable_values.each do |value|
41
+ # expect { instance.type = value }.not_to raise_error
42
+ # end
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "attributes"' 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
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupMembershipResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupMembershipResponse do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupMembershipResponse.new }
22
+
23
+ describe 'test an instance of GroupMembershipResponse' do
24
+ it 'should create an instance of GroupMembershipResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupMembershipResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupMembership
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupMembership do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupMembership.new }
22
+
23
+ describe 'test an instance of GroupMembership' do
24
+ it 'should create an instance of GroupMembership' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupMembership)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "user"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "group"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "created_at"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "updated_at"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupRequest do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupRequest.new }
22
+
23
+ describe 'test an instance of GroupRequest' do
24
+ it 'should create an instance of GroupRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #smplkit API
3
+
4
+ #API for the smplkit platform.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SmplkitGeneratedClient::App::GroupResource
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe SmplkitGeneratedClient::App::GroupResource do
21
+ #let(:instance) { SmplkitGeneratedClient::App::GroupResource.new }
22
+
23
+ describe 'test an instance of GroupResource' do
24
+ it 'should create an instance of GroupResource' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(SmplkitGeneratedClient::App::GroupResource)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "type"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["group"])
40
+ # validator.allowable_values.each do |value|
41
+ # expect { instance.type = value }.not_to raise_error
42
+ # end
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "attributes"' 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
+ end