noresponse 10.0.8 → 10.0.10

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 (129) hide show
  1. checksums.yaml +4 -4
  2. data/lib/no_response/events.rb +3946 -0
  3. data/lib/no_response/models/operations/addattendees_request.rb +66 -0
  4. data/lib/no_response/models/operations/addattendees_request.rbi +38 -0
  5. data/lib/no_response/models/operations/addattendees_response.rb +32 -0
  6. data/lib/no_response/models/operations/addattendees_response.rbi +20 -0
  7. data/lib/no_response/models/operations/cancelscreening_request.rb +66 -0
  8. data/lib/no_response/models/operations/cancelscreening_request.rbi +38 -0
  9. data/lib/no_response/models/operations/cancelscreening_response.rb +32 -0
  10. data/lib/no_response/models/operations/cancelscreening_response.rbi +20 -0
  11. data/lib/no_response/models/operations/createevent_request.rb +52 -0
  12. data/lib/no_response/models/operations/createevent_request.rbi +26 -0
  13. data/lib/no_response/models/operations/createevent_response.rb +32 -0
  14. data/lib/no_response/models/operations/createevent_response.rbi +20 -0
  15. data/lib/no_response/models/operations/deleteevent_request.rb +45 -0
  16. data/lib/no_response/models/operations/deleteevent_request.rbi +26 -0
  17. data/lib/no_response/models/operations/deleteevent_response.rb +28 -0
  18. data/lib/no_response/models/operations/deleteevent_response.rbi +14 -0
  19. data/lib/no_response/models/operations/getattendee_request.rb +57 -0
  20. data/lib/no_response/models/operations/getattendee_request.rbi +32 -0
  21. data/lib/no_response/models/operations/getattendee_response.rb +32 -0
  22. data/lib/no_response/models/operations/getattendee_response.rbi +20 -0
  23. data/lib/no_response/models/operations/getevent_request.rb +45 -0
  24. data/lib/no_response/models/operations/getevent_request.rbi +26 -0
  25. data/lib/no_response/models/operations/getevent_response.rb +32 -0
  26. data/lib/no_response/models/operations/getevent_response.rbi +20 -0
  27. data/lib/no_response/models/operations/getscreening_request.rb +61 -0
  28. data/lib/no_response/models/operations/getscreening_request.rbi +32 -0
  29. data/lib/no_response/models/operations/getscreening_response.rb +32 -0
  30. data/lib/no_response/models/operations/getscreening_response.rbi +20 -0
  31. data/lib/no_response/models/operations/listattendees_request.rb +88 -0
  32. data/lib/no_response/models/operations/listattendees_request.rbi +50 -0
  33. data/lib/no_response/models/operations/listattendees_response.rb +32 -0
  34. data/lib/no_response/models/operations/listattendees_response.rbi +20 -0
  35. data/lib/no_response/models/operations/listevents_request.rb +65 -0
  36. data/lib/no_response/models/operations/listevents_request.rbi +32 -0
  37. data/lib/no_response/models/operations/listevents_response.rb +32 -0
  38. data/lib/no_response/models/operations/listevents_response.rbi +20 -0
  39. data/lib/no_response/models/operations/listscreenings_request.rb +70 -0
  40. data/lib/no_response/models/operations/listscreenings_request.rbi +38 -0
  41. data/lib/no_response/models/operations/listscreenings_response.rb +32 -0
  42. data/lib/no_response/models/operations/listscreenings_response.rbi +20 -0
  43. data/lib/no_response/models/operations/reviewattendee_request.rb +62 -0
  44. data/lib/no_response/models/operations/reviewattendee_request.rbi +38 -0
  45. data/lib/no_response/models/operations/reviewattendee_response.rb +32 -0
  46. data/lib/no_response/models/operations/reviewattendee_response.rbi +20 -0
  47. data/lib/no_response/models/operations/startscreening_request.rb +66 -0
  48. data/lib/no_response/models/operations/startscreening_request.rbi +38 -0
  49. data/lib/no_response/models/operations/startscreening_response.rb +32 -0
  50. data/lib/no_response/models/operations/startscreening_response.rbi +20 -0
  51. data/lib/no_response/models/operations/updateevent_request.rb +57 -0
  52. data/lib/no_response/models/operations/updateevent_request.rbi +32 -0
  53. data/lib/no_response/models/operations/updateevent_response.rb +32 -0
  54. data/lib/no_response/models/operations/updateevent_response.rbi +20 -0
  55. data/lib/no_response/models/operations.rb +26 -0
  56. data/lib/no_response/models/shared/attendee.rb +239 -0
  57. data/lib/no_response/models/shared/attendee.rbi +128 -0
  58. data/lib/no_response/models/shared/attendee_coverage.rb +23 -0
  59. data/lib/no_response/models/shared/attendee_coverage.rbi +9 -0
  60. data/lib/no_response/models/shared/attendeebatch.rb +48 -0
  61. data/lib/no_response/models/shared/attendeebatch.rbi +26 -0
  62. data/lib/no_response/models/shared/attendeebatchitem.rb +51 -0
  63. data/lib/no_response/models/shared/attendeebatchitem.rbi +26 -0
  64. data/lib/no_response/models/shared/attendeebatchitemoutcome.rb +20 -0
  65. data/lib/no_response/models/shared/attendeebatchitemoutcome.rbi +9 -0
  66. data/lib/no_response/models/shared/attendeebatchrequest.rb +32 -0
  67. data/lib/no_response/models/shared/attendeebatchrequest.rbi +14 -0
  68. data/lib/no_response/models/shared/attendeedecision.rb +20 -0
  69. data/lib/no_response/models/shared/attendeedecision.rbi +9 -0
  70. data/lib/no_response/models/shared/attendeeidentity.rb +88 -0
  71. data/lib/no_response/models/shared/attendeeidentity.rbi +50 -0
  72. data/lib/no_response/models/shared/attendeelist.rb +40 -0
  73. data/lib/no_response/models/shared/attendeelist.rbi +20 -0
  74. data/lib/no_response/models/shared/attendeereport.rb +65 -0
  75. data/lib/no_response/models/shared/attendeereport.rbi +32 -0
  76. data/lib/no_response/models/shared/attendeereview.rb +75 -0
  77. data/lib/no_response/models/shared/attendeereview.rbi +38 -0
  78. data/lib/no_response/models/shared/attendeereviewrequest.rb +46 -0
  79. data/lib/no_response/models/shared/attendeereviewrequest.rbi +20 -0
  80. data/lib/no_response/models/shared/conflicterrorcode.rb +3 -0
  81. data/lib/no_response/models/shared/event.rb +177 -0
  82. data/lib/no_response/models/shared/event.rbi +98 -0
  83. data/lib/no_response/models/shared/eventlist.rb +40 -0
  84. data/lib/no_response/models/shared/eventlist.rbi +20 -0
  85. data/lib/no_response/models/shared/eventrequest.rb +88 -0
  86. data/lib/no_response/models/shared/eventrequest.rbi +50 -0
  87. data/lib/no_response/models/shared/eventupdate.rb +110 -0
  88. data/lib/no_response/models/shared/eventupdate.rbi +56 -0
  89. data/lib/no_response/models/shared/finding.rb +23 -0
  90. data/lib/no_response/models/shared/finding.rbi +9 -0
  91. data/lib/no_response/models/shared/handle.rb +46 -0
  92. data/lib/no_response/models/shared/handle.rbi +20 -0
  93. data/lib/no_response/models/shared/handleplatform.rb +27 -0
  94. data/lib/no_response/models/shared/handleplatform.rbi +9 -0
  95. data/lib/no_response/models/shared/highestband.rb +22 -0
  96. data/lib/no_response/models/shared/highestband.rbi +9 -0
  97. data/lib/no_response/models/shared/key_scope.rb +1 -0
  98. data/lib/no_response/models/shared/keyrequest_scope.rb +1 -0
  99. data/lib/no_response/models/shared/listattendeesband.rb +20 -0
  100. data/lib/no_response/models/shared/listattendeesband.rbi +9 -0
  101. data/lib/no_response/models/shared/listattendeesdecision.rb +18 -0
  102. data/lib/no_response/models/shared/listattendeesdecision.rbi +9 -0
  103. data/lib/no_response/models/shared/matchstate.rb +23 -0
  104. data/lib/no_response/models/shared/matchstate.rbi +9 -0
  105. data/lib/no_response/models/shared/principal.rb +37 -0
  106. data/lib/no_response/models/shared/principal.rbi +20 -0
  107. data/lib/no_response/models/shared/profile.rb +23 -0
  108. data/lib/no_response/models/shared/profile.rbi +9 -0
  109. data/lib/no_response/models/shared/screening.rb +203 -0
  110. data/lib/no_response/models/shared/screening.rbi +104 -0
  111. data/lib/no_response/models/shared/screening_platform.rb +27 -0
  112. data/lib/no_response/models/shared/screening_platform.rbi +9 -0
  113. data/lib/no_response/models/shared/screeningcancelrequest.rb +23 -0
  114. data/lib/no_response/models/shared/screeningcancelrequest.rbi +9 -0
  115. data/lib/no_response/models/shared/screeningdepth.rb +18 -0
  116. data/lib/no_response/models/shared/screeningdepth.rbi +9 -0
  117. data/lib/no_response/models/shared/screeninglist.rb +40 -0
  118. data/lib/no_response/models/shared/screeninglist.rbi +20 -0
  119. data/lib/no_response/models/shared/screeningrequest.rb +49 -0
  120. data/lib/no_response/models/shared/screeningrequest.rbi +20 -0
  121. data/lib/no_response/models/shared/screeningrequest_platform.rb +24 -0
  122. data/lib/no_response/models/shared/screeningrequest_platform.rbi +9 -0
  123. data/lib/no_response/models/shared/screeningstatus.rb +23 -0
  124. data/lib/no_response/models/shared/screeningstatus.rbi +9 -0
  125. data/lib/no_response/models/shared.rb +33 -0
  126. data/lib/no_response/noresponseclient.rb +3 -1
  127. data/lib/no_response/sdkconfiguration.rb +2 -2
  128. data/lib/noresponse.rb +1 -0
  129. metadata +121 -2
@@ -0,0 +1,66 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class AddAttendeesRequest
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # Your workspace id, as each key lists it in workspace_id. Another workspace, a malformed id and a test environment's id answer 404.
13
+ field(
14
+ :workspace_id,
15
+ ::String,
16
+ {'path_param': {'field_name': "workspace_id", 'style': "simple", 'explode': false}}
17
+ )
18
+ # The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404.
19
+ field(
20
+ :environment,
21
+ Models::Shared::KeyEnvironment,
22
+ {'path_param': {'field_name': "environment", 'style': "simple", 'explode': false}}
23
+ )
24
+
25
+ field :event_id, ::String, {'path_param': {'field_name': "event_id", 'style': "simple", 'explode': false}}
26
+
27
+ field :body, Models::Shared::AttendeeBatchRequest, {'request': {'media_type': "application/json"}}
28
+ # Opaque client key, 16 to 128 characters of [A-Za-z0-9._:-] (a UUID or ULID fits). Scoped to the workspace principal and bound to the canonical body for 24 hours. Optional: the SDK generates a UUID when you omit it and sends the same key on every retry of the call.
29
+ field(
30
+ :idempotency_key,
31
+ Crystalline::Nilable.new(::String),
32
+ {'header': {'field_name': "Idempotency-Key", 'style': "simple", 'explode': false}}
33
+ )
34
+
35
+ sig {
36
+ params(
37
+ workspace_id: ::String,
38
+ environment: Models::Shared::KeyEnvironment,
39
+ event_id: ::String,
40
+ body: Models::Shared::AttendeeBatchRequest,
41
+ idempotency_key: T.nilable(::String)
42
+ )
43
+ .void
44
+ }
45
+ def initialize(workspace_id:, environment:, event_id:, body:, idempotency_key: nil)
46
+ @workspace_id = workspace_id
47
+ @environment = environment
48
+ @event_id = event_id
49
+ @body = body
50
+ @idempotency_key = idempotency_key
51
+ end
52
+
53
+ sig { params(other: T.untyped).returns(T::Boolean) }
54
+ def ==(other)
55
+ return false unless other.is_a?(self.class)
56
+ return false unless @workspace_id == other.workspace_id
57
+ return false unless @environment == other.environment
58
+ return false unless @event_id == other.event_id
59
+ return false unless @body == other.body
60
+ return false unless @idempotency_key == other.idempotency_key
61
+ true
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,38 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::AddAttendeesRequest
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::AddAttendeesRequest
9
+ def workspace_id
10
+ end
11
+
12
+ def workspace_id=(str_)
13
+ end
14
+
15
+ def environment
16
+ end
17
+
18
+ def environment=(str_)
19
+ end
20
+
21
+ def event_id
22
+ end
23
+
24
+ def event_id=(str_)
25
+ end
26
+
27
+ def body
28
+ end
29
+
30
+ def body=(str_)
31
+ end
32
+
33
+ def idempotency_key
34
+ end
35
+
36
+ def idempotency_key=(str_)
37
+ end
38
+ end
@@ -0,0 +1,32 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class AddAttendeesResponse
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
13
+
14
+ field :result, Models::Shared::AttendeeBatch, {}
15
+
16
+ sig { params(headers: T::Hash[Symbol, T::Array[::String]], result: Models::Shared::AttendeeBatch).void }
17
+ def initialize(headers:, result:)
18
+ @headers = headers
19
+ @result = result
20
+ end
21
+
22
+ sig { params(other: T.untyped).returns(T::Boolean) }
23
+ def ==(other)
24
+ return false unless other.is_a?(self.class)
25
+ return false unless @headers == other.headers
26
+ return false unless @result == other.result
27
+ true
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,20 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::AddAttendeesResponse
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::AddAttendeesResponse
9
+ def headers
10
+ end
11
+
12
+ def headers=(str_)
13
+ end
14
+
15
+ def result
16
+ end
17
+
18
+ def result=(str_)
19
+ end
20
+ end
@@ -0,0 +1,66 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class CancelScreeningRequest
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # Your workspace id, as each key lists it in workspace_id. Another workspace, a malformed id and a test environment's id answer 404.
13
+ field(
14
+ :workspace_id,
15
+ ::String,
16
+ {'path_param': {'field_name': "workspace_id", 'style': "simple", 'explode': false}}
17
+ )
18
+ # The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404.
19
+ field(
20
+ :environment,
21
+ Models::Shared::KeyEnvironment,
22
+ {'path_param': {'field_name': "environment", 'style': "simple", 'explode': false}}
23
+ )
24
+
25
+ field :event_id, ::String, {'path_param': {'field_name': "event_id", 'style': "simple", 'explode': false}}
26
+
27
+ field(
28
+ :screening_id,
29
+ ::String,
30
+ {'path_param': {'field_name': "screening_id", 'style': "simple", 'explode': false}}
31
+ )
32
+
33
+ field :body, Models::Shared::ScreeningCancelRequest, {'request': {'media_type': "application/json"}}
34
+
35
+ sig {
36
+ params(
37
+ workspace_id: ::String,
38
+ environment: Models::Shared::KeyEnvironment,
39
+ event_id: ::String,
40
+ screening_id: ::String,
41
+ body: Models::Shared::ScreeningCancelRequest
42
+ )
43
+ .void
44
+ }
45
+ def initialize(workspace_id:, environment:, event_id:, screening_id:, body:)
46
+ @workspace_id = workspace_id
47
+ @environment = environment
48
+ @event_id = event_id
49
+ @screening_id = screening_id
50
+ @body = body
51
+ end
52
+
53
+ sig { params(other: T.untyped).returns(T::Boolean) }
54
+ def ==(other)
55
+ return false unless other.is_a?(self.class)
56
+ return false unless @workspace_id == other.workspace_id
57
+ return false unless @environment == other.environment
58
+ return false unless @event_id == other.event_id
59
+ return false unless @screening_id == other.screening_id
60
+ return false unless @body == other.body
61
+ true
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,38 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::CancelScreeningRequest
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::CancelScreeningRequest
9
+ def workspace_id
10
+ end
11
+
12
+ def workspace_id=(str_)
13
+ end
14
+
15
+ def environment
16
+ end
17
+
18
+ def environment=(str_)
19
+ end
20
+
21
+ def event_id
22
+ end
23
+
24
+ def event_id=(str_)
25
+ end
26
+
27
+ def screening_id
28
+ end
29
+
30
+ def screening_id=(str_)
31
+ end
32
+
33
+ def body
34
+ end
35
+
36
+ def body=(str_)
37
+ end
38
+ end
@@ -0,0 +1,32 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class CancelScreeningResponse
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
13
+
14
+ field :result, Models::Shared::Screening, {}
15
+
16
+ sig { params(headers: T::Hash[Symbol, T::Array[::String]], result: Models::Shared::Screening).void }
17
+ def initialize(headers:, result:)
18
+ @headers = headers
19
+ @result = result
20
+ end
21
+
22
+ sig { params(other: T.untyped).returns(T::Boolean) }
23
+ def ==(other)
24
+ return false unless other.is_a?(self.class)
25
+ return false unless @headers == other.headers
26
+ return false unless @result == other.result
27
+ true
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,20 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::CancelScreeningResponse
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::CancelScreeningResponse
9
+ def headers
10
+ end
11
+
12
+ def headers=(str_)
13
+ end
14
+
15
+ def result
16
+ end
17
+
18
+ def result=(str_)
19
+ end
20
+ end
@@ -0,0 +1,52 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class CreateEventRequest
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # Your workspace id, as each key lists it in workspace_id. Another workspace, a malformed id and a test environment's id answer 404.
13
+ field(
14
+ :workspace_id,
15
+ ::String,
16
+ {'path_param': {'field_name': "workspace_id", 'style': "simple", 'explode': false}}
17
+ )
18
+ # The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404.
19
+ field(
20
+ :environment,
21
+ Models::Shared::KeyEnvironment,
22
+ {'path_param': {'field_name': "environment", 'style': "simple", 'explode': false}}
23
+ )
24
+
25
+ field :body, Models::Shared::EventRequest, {'request': {'media_type': "application/json"}}
26
+
27
+ sig {
28
+ params(
29
+ workspace_id: ::String,
30
+ environment: Models::Shared::KeyEnvironment,
31
+ body: Models::Shared::EventRequest
32
+ )
33
+ .void
34
+ }
35
+ def initialize(workspace_id:, environment:, body:)
36
+ @workspace_id = workspace_id
37
+ @environment = environment
38
+ @body = body
39
+ end
40
+
41
+ sig { params(other: T.untyped).returns(T::Boolean) }
42
+ def ==(other)
43
+ return false unless other.is_a?(self.class)
44
+ return false unless @workspace_id == other.workspace_id
45
+ return false unless @environment == other.environment
46
+ return false unless @body == other.body
47
+ true
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,26 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::CreateEventRequest
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::CreateEventRequest
9
+ def workspace_id
10
+ end
11
+
12
+ def workspace_id=(str_)
13
+ end
14
+
15
+ def environment
16
+ end
17
+
18
+ def environment=(str_)
19
+ end
20
+
21
+ def body
22
+ end
23
+
24
+ def body=(str_)
25
+ end
26
+ end
@@ -0,0 +1,32 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class CreateEventResponse
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
13
+
14
+ field :result, Models::Shared::Event, {}
15
+
16
+ sig { params(headers: T::Hash[Symbol, T::Array[::String]], result: Models::Shared::Event).void }
17
+ def initialize(headers:, result:)
18
+ @headers = headers
19
+ @result = result
20
+ end
21
+
22
+ sig { params(other: T.untyped).returns(T::Boolean) }
23
+ def ==(other)
24
+ return false unless other.is_a?(self.class)
25
+ return false unless @headers == other.headers
26
+ return false unless @result == other.result
27
+ true
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,20 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::CreateEventResponse
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::CreateEventResponse
9
+ def headers
10
+ end
11
+
12
+ def headers=(str_)
13
+ end
14
+
15
+ def result
16
+ end
17
+
18
+ def result=(str_)
19
+ end
20
+ end
@@ -0,0 +1,45 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class DeleteEventRequest
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # Your workspace id, as each key lists it in workspace_id. Another workspace, a malformed id and a test environment's id answer 404.
13
+ field(
14
+ :workspace_id,
15
+ ::String,
16
+ {'path_param': {'field_name': "workspace_id", 'style': "simple", 'explode': false}}
17
+ )
18
+ # The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404.
19
+ field(
20
+ :environment,
21
+ Models::Shared::KeyEnvironment,
22
+ {'path_param': {'field_name': "environment", 'style': "simple", 'explode': false}}
23
+ )
24
+
25
+ field :event_id, ::String, {'path_param': {'field_name': "event_id", 'style': "simple", 'explode': false}}
26
+
27
+ sig { params(workspace_id: ::String, environment: Models::Shared::KeyEnvironment, event_id: ::String).void }
28
+ def initialize(workspace_id:, environment:, event_id:)
29
+ @workspace_id = workspace_id
30
+ @environment = environment
31
+ @event_id = event_id
32
+ end
33
+
34
+ sig { params(other: T.untyped).returns(T::Boolean) }
35
+ def ==(other)
36
+ return false unless other.is_a?(self.class)
37
+ return false unless @workspace_id == other.workspace_id
38
+ return false unless @environment == other.environment
39
+ return false unless @event_id == other.event_id
40
+ true
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,26 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::DeleteEventRequest
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::DeleteEventRequest
9
+ def workspace_id
10
+ end
11
+
12
+ def workspace_id=(str_)
13
+ end
14
+
15
+ def environment
16
+ end
17
+
18
+ def environment=(str_)
19
+ end
20
+
21
+ def event_id
22
+ end
23
+
24
+ def event_id=(str_)
25
+ end
26
+ end
@@ -0,0 +1,28 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class DeleteEventResponse
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
13
+
14
+ sig { params(headers: T::Hash[Symbol, T::Array[::String]]).void }
15
+ def initialize(headers:)
16
+ @headers = headers
17
+ end
18
+
19
+ sig { params(other: T.untyped).returns(T::Boolean) }
20
+ def ==(other)
21
+ return false unless other.is_a?(self.class)
22
+ return false unless @headers == other.headers
23
+ true
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,14 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::DeleteEventResponse
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::DeleteEventResponse
9
+ def headers
10
+ end
11
+
12
+ def headers=(str_)
13
+ end
14
+ end
@@ -0,0 +1,57 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Operations
7
+
8
+ class GetAttendeeRequest
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # Your workspace id, as each key lists it in workspace_id. Another workspace, a malformed id and a test environment's id answer 404.
13
+ field(
14
+ :workspace_id,
15
+ ::String,
16
+ {'path_param': {'field_name': "workspace_id", 'style': "simple", 'explode': false}}
17
+ )
18
+ # The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404.
19
+ field(
20
+ :environment,
21
+ Models::Shared::KeyEnvironment,
22
+ {'path_param': {'field_name': "environment", 'style': "simple", 'explode': false}}
23
+ )
24
+
25
+ field :event_id, ::String, {'path_param': {'field_name': "event_id", 'style': "simple", 'explode': false}}
26
+
27
+ field :attendee_id, ::String, {'path_param': {'field_name': "attendee_id", 'style': "simple", 'explode': false}}
28
+
29
+ sig {
30
+ params(
31
+ workspace_id: ::String,
32
+ environment: Models::Shared::KeyEnvironment,
33
+ event_id: ::String,
34
+ attendee_id: ::String
35
+ )
36
+ .void
37
+ }
38
+ def initialize(workspace_id:, environment:, event_id:, attendee_id:)
39
+ @workspace_id = workspace_id
40
+ @environment = environment
41
+ @event_id = event_id
42
+ @attendee_id = attendee_id
43
+ end
44
+
45
+ sig { params(other: T.untyped).returns(T::Boolean) }
46
+ def ==(other)
47
+ return false unless other.is_a?(self.class)
48
+ return false unless @workspace_id == other.workspace_id
49
+ return false unless @environment == other.environment
50
+ return false unless @event_id == other.event_id
51
+ return false unless @attendee_id == other.attendee_id
52
+ true
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,32 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Operations::GetAttendeeRequest
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Operations::GetAttendeeRequest
9
+ def workspace_id
10
+ end
11
+
12
+ def workspace_id=(str_)
13
+ end
14
+
15
+ def environment
16
+ end
17
+
18
+ def environment=(str_)
19
+ end
20
+
21
+ def event_id
22
+ end
23
+
24
+ def event_id=(str_)
25
+ end
26
+
27
+ def attendee_id
28
+ end
29
+
30
+ def attendee_id=(str_)
31
+ end
32
+ end