rivet-group 0.0.7

Rivet service enabling identities to create groups together
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ResolveGroupJoinRequestOutput {}
impl std::fmt::Debug for ResolveGroupJoinRequestOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("ResolveGroupJoinRequestOutput");
		formatter.finish()
	}
}
/// See [`ResolveGroupJoinRequestOutput`](crate::output::ResolveGroupJoinRequestOutput)
pub mod resolve_group_join_request_output {
	/// A builder for [`ResolveGroupJoinRequestOutput`](crate::output::ResolveGroupJoinRequestOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {}
	impl Builder {
		/// Consumes the builder and constructs a [`ResolveGroupJoinRequestOutput`](crate::output::ResolveGroupJoinRequestOutput)
		pub fn build(self) -> crate::output::ResolveGroupJoinRequestOutput {
			crate::output::ResolveGroupJoinRequestOutput {}
		}
	}
}
impl ResolveGroupJoinRequestOutput {
	/// Creates a new builder-style object to manufacture [`ResolveGroupJoinRequestOutput`](crate::output::ResolveGroupJoinRequestOutput)
	pub fn builder() -> crate::output::resolve_group_join_request_output::Builder {
		crate::output::resolve_group_join_request_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateGroupJoinRequestOutput {}
impl std::fmt::Debug for CreateGroupJoinRequestOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("CreateGroupJoinRequestOutput");
		formatter.finish()
	}
}
/// See [`CreateGroupJoinRequestOutput`](crate::output::CreateGroupJoinRequestOutput)
pub mod create_group_join_request_output {
	/// A builder for [`CreateGroupJoinRequestOutput`](crate::output::CreateGroupJoinRequestOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {}
	impl Builder {
		/// Consumes the builder and constructs a [`CreateGroupJoinRequestOutput`](crate::output::CreateGroupJoinRequestOutput)
		pub fn build(self) -> crate::output::CreateGroupJoinRequestOutput {
			crate::output::CreateGroupJoinRequestOutput {}
		}
	}
}
impl CreateGroupJoinRequestOutput {
	/// Creates a new builder-style object to manufacture [`CreateGroupJoinRequestOutput`](crate::output::CreateGroupJoinRequestOutput)
	pub fn builder() -> crate::output::create_group_join_request_output::Builder {
		crate::output::create_group_join_request_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetGroupInviteOutput {
	/// A group handle.
	pub group: std::option::Option<crate::model::GroupHandle>,
}
impl GetGroupInviteOutput {
	/// A group handle.
	pub fn group(&self) -> std::option::Option<&crate::model::GroupHandle> {
		self.group.as_ref()
	}
}
impl std::fmt::Debug for GetGroupInviteOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("GetGroupInviteOutput");
		formatter.field("group", &self.group);
		formatter.finish()
	}
}
/// See [`GetGroupInviteOutput`](crate::output::GetGroupInviteOutput)
pub mod get_group_invite_output {
	/// A builder for [`GetGroupInviteOutput`](crate::output::GetGroupInviteOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) group: std::option::Option<crate::model::GroupHandle>,
	}
	impl Builder {
		/// A group handle.
		pub fn group(mut self, input: crate::model::GroupHandle) -> Self {
			self.group = Some(input);
			self
		}
		/// A group handle.
		pub fn set_group(mut self, input: std::option::Option<crate::model::GroupHandle>) -> Self {
			self.group = input;
			self
		}
		/// Consumes the builder and constructs a [`GetGroupInviteOutput`](crate::output::GetGroupInviteOutput)
		pub fn build(self) -> crate::output::GetGroupInviteOutput {
			crate::output::GetGroupInviteOutput { group: self.group }
		}
	}
}
impl GetGroupInviteOutput {
	/// Creates a new builder-style object to manufacture [`GetGroupInviteOutput`](crate::output::GetGroupInviteOutput)
	pub fn builder() -> crate::output::get_group_invite_output::Builder {
		crate::output::get_group_invite_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ConsumeGroupInviteOutput {
	/// A universally unique identifier.
	pub group_id: std::option::Option<std::string::String>,
}
impl ConsumeGroupInviteOutput {
	/// A universally unique identifier.
	pub fn group_id(&self) -> std::option::Option<&str> {
		self.group_id.as_deref()
	}
}
impl std::fmt::Debug for ConsumeGroupInviteOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("ConsumeGroupInviteOutput");
		formatter.field("group_id", &self.group_id);
		formatter.finish()
	}
}
/// See [`ConsumeGroupInviteOutput`](crate::output::ConsumeGroupInviteOutput)
pub mod consume_group_invite_output {
	/// A builder for [`ConsumeGroupInviteOutput`](crate::output::ConsumeGroupInviteOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) group_id: std::option::Option<std::string::String>,
	}
	impl Builder {
		/// A universally unique identifier.
		pub fn group_id(mut self, input: impl Into<std::string::String>) -> Self {
			self.group_id = Some(input.into());
			self
		}
		/// A universally unique identifier.
		pub fn set_group_id(mut self, input: std::option::Option<std::string::String>) -> Self {
			self.group_id = input;
			self
		}
		/// Consumes the builder and constructs a [`ConsumeGroupInviteOutput`](crate::output::ConsumeGroupInviteOutput)
		pub fn build(self) -> crate::output::ConsumeGroupInviteOutput {
			crate::output::ConsumeGroupInviteOutput {
				group_id: self.group_id,
			}
		}
	}
}
impl ConsumeGroupInviteOutput {
	/// Creates a new builder-style object to manufacture [`ConsumeGroupInviteOutput`](crate::output::ConsumeGroupInviteOutput)
	pub fn builder() -> crate::output::consume_group_invite_output::Builder {
		crate::output::consume_group_invite_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateGroupInviteOutput {
	/// The code that will be passed to `rivet.api.group#ConsumeGroupInvite` to join a group.
	pub code: std::option::Option<std::string::String>,
}
impl CreateGroupInviteOutput {
	/// The code that will be passed to `rivet.api.group#ConsumeGroupInvite` to join a group.
	pub fn code(&self) -> std::option::Option<&str> {
		self.code.as_deref()
	}
}
impl std::fmt::Debug for CreateGroupInviteOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("CreateGroupInviteOutput");
		formatter.field("code", &self.code);
		formatter.finish()
	}
}
/// See [`CreateGroupInviteOutput`](crate::output::CreateGroupInviteOutput)
pub mod create_group_invite_output {
	/// A builder for [`CreateGroupInviteOutput`](crate::output::CreateGroupInviteOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) code: std::option::Option<std::string::String>,
	}
	impl Builder {
		/// The code that will be passed to `rivet.api.group#ConsumeGroupInvite` to join a group.
		pub fn code(mut self, input: impl Into<std::string::String>) -> Self {
			self.code = Some(input.into());
			self
		}
		/// The code that will be passed to `rivet.api.group#ConsumeGroupInvite` to join a group.
		pub fn set_code(mut self, input: std::option::Option<std::string::String>) -> Self {
			self.code = input;
			self
		}
		/// Consumes the builder and constructs a [`CreateGroupInviteOutput`](crate::output::CreateGroupInviteOutput)
		pub fn build(self) -> crate::output::CreateGroupInviteOutput {
			crate::output::CreateGroupInviteOutput { code: self.code }
		}
	}
}
impl CreateGroupInviteOutput {
	/// Creates a new builder-style object to manufacture [`CreateGroupInviteOutput`](crate::output::CreateGroupInviteOutput)
	pub fn builder() -> crate::output::create_group_invite_output::Builder {
		crate::output::create_group_invite_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct LeaveGroupOutput {}
impl std::fmt::Debug for LeaveGroupOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("LeaveGroupOutput");
		formatter.finish()
	}
}
/// See [`LeaveGroupOutput`](crate::output::LeaveGroupOutput)
pub mod leave_group_output {
	/// A builder for [`LeaveGroupOutput`](crate::output::LeaveGroupOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {}
	impl Builder {
		/// Consumes the builder and constructs a [`LeaveGroupOutput`](crate::output::LeaveGroupOutput)
		pub fn build(self) -> crate::output::LeaveGroupOutput {
			crate::output::LeaveGroupOutput {}
		}
	}
}
impl LeaveGroupOutput {
	/// Creates a new builder-style object to manufacture [`LeaveGroupOutput`](crate::output::LeaveGroupOutput)
	pub fn builder() -> crate::output::leave_group_output::Builder {
		crate::output::leave_group_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct JoinGroupOutput {}
impl std::fmt::Debug for JoinGroupOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("JoinGroupOutput");
		formatter.finish()
	}
}
/// See [`JoinGroupOutput`](crate::output::JoinGroupOutput)
pub mod join_group_output {
	/// A builder for [`JoinGroupOutput`](crate::output::JoinGroupOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {}
	impl Builder {
		/// Consumes the builder and constructs a [`JoinGroupOutput`](crate::output::JoinGroupOutput)
		pub fn build(self) -> crate::output::JoinGroupOutput {
			crate::output::JoinGroupOutput {}
		}
	}
}
impl JoinGroupOutput {
	/// Creates a new builder-style object to manufacture [`JoinGroupOutput`](crate::output::JoinGroupOutput)
	pub fn builder() -> crate::output::join_group_output::Builder {
		crate::output::join_group_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CompleteGroupAvatarUploadOutput {}
impl std::fmt::Debug for CompleteGroupAvatarUploadOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("CompleteGroupAvatarUploadOutput");
		formatter.finish()
	}
}
/// See [`CompleteGroupAvatarUploadOutput`](crate::output::CompleteGroupAvatarUploadOutput)
pub mod complete_group_avatar_upload_output {
	/// A builder for [`CompleteGroupAvatarUploadOutput`](crate::output::CompleteGroupAvatarUploadOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {}
	impl Builder {
		/// Consumes the builder and constructs a [`CompleteGroupAvatarUploadOutput`](crate::output::CompleteGroupAvatarUploadOutput)
		pub fn build(self) -> crate::output::CompleteGroupAvatarUploadOutput {
			crate::output::CompleteGroupAvatarUploadOutput {}
		}
	}
}
impl CompleteGroupAvatarUploadOutput {
	/// Creates a new builder-style object to manufacture [`CompleteGroupAvatarUploadOutput`](crate::output::CompleteGroupAvatarUploadOutput)
	pub fn builder() -> crate::output::complete_group_avatar_upload_output::Builder {
		crate::output::complete_group_avatar_upload_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PrepareGroupAvatarUploadOutput {
	/// A universally unique identifier.
	pub upload_id: std::option::Option<std::string::String>,
	/// A presigned request used to upload files. Upload your file to the given URL via a PUT request.
	pub presigned_request: std::option::Option<crate::model::UploadPresignedRequest>,
}
impl PrepareGroupAvatarUploadOutput {
	/// A universally unique identifier.
	pub fn upload_id(&self) -> std::option::Option<&str> {
		self.upload_id.as_deref()
	}
	/// A presigned request used to upload files. Upload your file to the given URL via a PUT request.
	pub fn presigned_request(&self) -> std::option::Option<&crate::model::UploadPresignedRequest> {
		self.presigned_request.as_ref()
	}
}
impl std::fmt::Debug for PrepareGroupAvatarUploadOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("PrepareGroupAvatarUploadOutput");
		formatter.field("upload_id", &self.upload_id);
		formatter.field("presigned_request", &self.presigned_request);
		formatter.finish()
	}
}
/// See [`PrepareGroupAvatarUploadOutput`](crate::output::PrepareGroupAvatarUploadOutput)
pub mod prepare_group_avatar_upload_output {
	/// A builder for [`PrepareGroupAvatarUploadOutput`](crate::output::PrepareGroupAvatarUploadOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) upload_id: std::option::Option<std::string::String>,
		pub(crate) presigned_request: std::option::Option<crate::model::UploadPresignedRequest>,
	}
	impl Builder {
		/// A universally unique identifier.
		pub fn upload_id(mut self, input: impl Into<std::string::String>) -> Self {
			self.upload_id = Some(input.into());
			self
		}
		/// A universally unique identifier.
		pub fn set_upload_id(mut self, input: std::option::Option<std::string::String>) -> Self {
			self.upload_id = input;
			self
		}
		/// A presigned request used to upload files. Upload your file to the given URL via a PUT request.
		pub fn presigned_request(mut self, input: crate::model::UploadPresignedRequest) -> Self {
			self.presigned_request = Some(input);
			self
		}
		/// A presigned request used to upload files. Upload your file to the given URL via a PUT request.
		pub fn set_presigned_request(
			mut self,
			input: std::option::Option<crate::model::UploadPresignedRequest>,
		) -> Self {
			self.presigned_request = input;
			self
		}
		/// Consumes the builder and constructs a [`PrepareGroupAvatarUploadOutput`](crate::output::PrepareGroupAvatarUploadOutput)
		pub fn build(self) -> crate::output::PrepareGroupAvatarUploadOutput {
			crate::output::PrepareGroupAvatarUploadOutput {
				upload_id: self.upload_id,
				presigned_request: self.presigned_request,
			}
		}
	}
}
impl PrepareGroupAvatarUploadOutput {
	/// Creates a new builder-style object to manufacture [`PrepareGroupAvatarUploadOutput`](crate::output::PrepareGroupAvatarUploadOutput)
	pub fn builder() -> crate::output::prepare_group_avatar_upload_output::Builder {
		crate::output::prepare_group_avatar_upload_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SearchGroupsOutput {
	/// A list of group handles.
	pub groups: std::option::Option<std::vec::Vec<crate::model::GroupHandle>>,
}
impl SearchGroupsOutput {
	/// A list of group handles.
	pub fn groups(&self) -> std::option::Option<&[crate::model::GroupHandle]> {
		self.groups.as_deref()
	}
}
impl std::fmt::Debug for SearchGroupsOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("SearchGroupsOutput");
		formatter.field("groups", &self.groups);
		formatter.finish()
	}
}
/// See [`SearchGroupsOutput`](crate::output::SearchGroupsOutput)
pub mod search_groups_output {
	/// A builder for [`SearchGroupsOutput`](crate::output::SearchGroupsOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) groups: std::option::Option<std::vec::Vec<crate::model::GroupHandle>>,
	}
	impl Builder {
		/// Appends an item to `groups`.
		///
		/// To override the contents of this collection use [`set_groups`](Self::set_groups).
		///
		/// A list of group handles.
		pub fn groups(mut self, input: crate::model::GroupHandle) -> Self {
			let mut v = self.groups.unwrap_or_default();
			v.push(input);
			self.groups = Some(v);
			self
		}
		/// A list of group handles.
		pub fn set_groups(
			mut self,
			input: std::option::Option<std::vec::Vec<crate::model::GroupHandle>>,
		) -> Self {
			self.groups = input;
			self
		}
		/// Consumes the builder and constructs a [`SearchGroupsOutput`](crate::output::SearchGroupsOutput)
		pub fn build(self) -> crate::output::SearchGroupsOutput {
			crate::output::SearchGroupsOutput {
				groups: self.groups,
			}
		}
	}
}
impl SearchGroupsOutput {
	/// Creates a new builder-style object to manufacture [`SearchGroupsOutput`](crate::output::SearchGroupsOutput)
	pub fn builder() -> crate::output::search_groups_output::Builder {
		crate::output::search_groups_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct TransferGroupOwnershipOutput {}
impl std::fmt::Debug for TransferGroupOwnershipOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("TransferGroupOwnershipOutput");
		formatter.finish()
	}
}
/// See [`TransferGroupOwnershipOutput`](crate::output::TransferGroupOwnershipOutput)
pub mod transfer_group_ownership_output {
	/// A builder for [`TransferGroupOwnershipOutput`](crate::output::TransferGroupOwnershipOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {}
	impl Builder {
		/// Consumes the builder and constructs a [`TransferGroupOwnershipOutput`](crate::output::TransferGroupOwnershipOutput)
		pub fn build(self) -> crate::output::TransferGroupOwnershipOutput {
			crate::output::TransferGroupOwnershipOutput {}
		}
	}
}
impl TransferGroupOwnershipOutput {
	/// Creates a new builder-style object to manufacture [`TransferGroupOwnershipOutput`](crate::output::TransferGroupOwnershipOutput)
	pub fn builder() -> crate::output::transfer_group_ownership_output::Builder {
		crate::output::transfer_group_ownership_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ValidateGroupProfileOutput {
	/// A list of validation errors.
	pub errors: std::option::Option<std::vec::Vec<crate::model::ValidationError>>,
}
impl ValidateGroupProfileOutput {
	/// A list of validation errors.
	pub fn errors(&self) -> std::option::Option<&[crate::model::ValidationError]> {
		self.errors.as_deref()
	}
}
impl std::fmt::Debug for ValidateGroupProfileOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("ValidateGroupProfileOutput");
		formatter.field("errors", &self.errors);
		formatter.finish()
	}
}
/// See [`ValidateGroupProfileOutput`](crate::output::ValidateGroupProfileOutput)
pub mod validate_group_profile_output {
	/// A builder for [`ValidateGroupProfileOutput`](crate::output::ValidateGroupProfileOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) errors: std::option::Option<std::vec::Vec<crate::model::ValidationError>>,
	}
	impl Builder {
		/// Appends an item to `errors`.
		///
		/// To override the contents of this collection use [`set_errors`](Self::set_errors).
		///
		/// A list of validation errors.
		pub fn errors(mut self, input: crate::model::ValidationError) -> Self {
			let mut v = self.errors.unwrap_or_default();
			v.push(input);
			self.errors = Some(v);
			self
		}
		/// A list of validation errors.
		pub fn set_errors(
			mut self,
			input: std::option::Option<std::vec::Vec<crate::model::ValidationError>>,
		) -> Self {
			self.errors = input;
			self
		}
		/// Consumes the builder and constructs a [`ValidateGroupProfileOutput`](crate::output::ValidateGroupProfileOutput)
		pub fn build(self) -> crate::output::ValidateGroupProfileOutput {
			crate::output::ValidateGroupProfileOutput {
				errors: self.errors,
			}
		}
	}
}
impl ValidateGroupProfileOutput {
	/// Creates a new builder-style object to manufacture [`ValidateGroupProfileOutput`](crate::output::ValidateGroupProfileOutput)
	pub fn builder() -> crate::output::validate_group_profile_output::Builder {
		crate::output::validate_group_profile_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetGroupSummaryOutput {
	/// A group summary.
	pub group: std::option::Option<crate::model::GroupSummary>,
}
impl GetGroupSummaryOutput {
	/// A group summary.
	pub fn group(&self) -> std::option::Option<&crate::model::GroupSummary> {
		self.group.as_ref()
	}
}
impl std::fmt::Debug for GetGroupSummaryOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("GetGroupSummaryOutput");
		formatter.field("group", &self.group);
		formatter.finish()
	}
}
/// See [`GetGroupSummaryOutput`](crate::output::GetGroupSummaryOutput)
pub mod get_group_summary_output {
	/// A builder for [`GetGroupSummaryOutput`](crate::output::GetGroupSummaryOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) group: std::option::Option<crate::model::GroupSummary>,
	}
	impl Builder {
		/// A group summary.
		pub fn group(mut self, input: crate::model::GroupSummary) -> Self {
			self.group = Some(input);
			self
		}
		/// A group summary.
		pub fn set_group(mut self, input: std::option::Option<crate::model::GroupSummary>) -> Self {
			self.group = input;
			self
		}
		/// Consumes the builder and constructs a [`GetGroupSummaryOutput`](crate::output::GetGroupSummaryOutput)
		pub fn build(self) -> crate::output::GetGroupSummaryOutput {
			crate::output::GetGroupSummaryOutput { group: self.group }
		}
	}
}
impl GetGroupSummaryOutput {
	/// Creates a new builder-style object to manufacture [`GetGroupSummaryOutput`](crate::output::GetGroupSummaryOutput)
	pub fn builder() -> crate::output::get_group_summary_output::Builder {
		crate::output::get_group_summary_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateGroupProfileOutput {}
impl std::fmt::Debug for UpdateGroupProfileOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("UpdateGroupProfileOutput");
		formatter.finish()
	}
}
/// See [`UpdateGroupProfileOutput`](crate::output::UpdateGroupProfileOutput)
pub mod update_group_profile_output {
	/// A builder for [`UpdateGroupProfileOutput`](crate::output::UpdateGroupProfileOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {}
	impl Builder {
		/// Consumes the builder and constructs a [`UpdateGroupProfileOutput`](crate::output::UpdateGroupProfileOutput)
		pub fn build(self) -> crate::output::UpdateGroupProfileOutput {
			crate::output::UpdateGroupProfileOutput {}
		}
	}
}
impl UpdateGroupProfileOutput {
	/// Creates a new builder-style object to manufacture [`UpdateGroupProfileOutput`](crate::output::UpdateGroupProfileOutput)
	pub fn builder() -> crate::output::update_group_profile_output::Builder {
		crate::output::update_group_profile_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetGroupProfileOutput {
	/// A list of group profiles.
	pub group: std::option::Option<crate::model::GroupProfile>,
	/// Provided by watchable endpoints used in blocking loops.
	pub watch: std::option::Option<crate::model::WatchResponse>,
}
impl GetGroupProfileOutput {
	/// A list of group profiles.
	pub fn group(&self) -> std::option::Option<&crate::model::GroupProfile> {
		self.group.as_ref()
	}
	/// Provided by watchable endpoints used in blocking loops.
	pub fn watch(&self) -> std::option::Option<&crate::model::WatchResponse> {
		self.watch.as_ref()
	}
}
impl std::fmt::Debug for GetGroupProfileOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("GetGroupProfileOutput");
		formatter.field("group", &self.group);
		formatter.field("watch", &self.watch);
		formatter.finish()
	}
}
/// See [`GetGroupProfileOutput`](crate::output::GetGroupProfileOutput)
pub mod get_group_profile_output {
	/// A builder for [`GetGroupProfileOutput`](crate::output::GetGroupProfileOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) group: std::option::Option<crate::model::GroupProfile>,
		pub(crate) watch: std::option::Option<crate::model::WatchResponse>,
	}
	impl Builder {
		/// A list of group profiles.
		pub fn group(mut self, input: crate::model::GroupProfile) -> Self {
			self.group = Some(input);
			self
		}
		/// A list of group profiles.
		pub fn set_group(mut self, input: std::option::Option<crate::model::GroupProfile>) -> Self {
			self.group = input;
			self
		}
		/// Provided by watchable endpoints used in blocking loops.
		pub fn watch(mut self, input: crate::model::WatchResponse) -> Self {
			self.watch = Some(input);
			self
		}
		/// Provided by watchable endpoints used in blocking loops.
		pub fn set_watch(
			mut self,
			input: std::option::Option<crate::model::WatchResponse>,
		) -> Self {
			self.watch = input;
			self
		}
		/// Consumes the builder and constructs a [`GetGroupProfileOutput`](crate::output::GetGroupProfileOutput)
		pub fn build(self) -> crate::output::GetGroupProfileOutput {
			crate::output::GetGroupProfileOutput {
				group: self.group,
				watch: self.watch,
			}
		}
	}
}
impl GetGroupProfileOutput {
	/// Creates a new builder-style object to manufacture [`GetGroupProfileOutput`](crate::output::GetGroupProfileOutput)
	pub fn builder() -> crate::output::get_group_profile_output::Builder {
		crate::output::get_group_profile_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateGroupOutput {
	/// A universally unique identifier.
	pub group_id: std::option::Option<std::string::String>,
}
impl CreateGroupOutput {
	/// A universally unique identifier.
	pub fn group_id(&self) -> std::option::Option<&str> {
		self.group_id.as_deref()
	}
}
impl std::fmt::Debug for CreateGroupOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("CreateGroupOutput");
		formatter.field("group_id", &self.group_id);
		formatter.finish()
	}
}
/// See [`CreateGroupOutput`](crate::output::CreateGroupOutput)
pub mod create_group_output {
	/// A builder for [`CreateGroupOutput`](crate::output::CreateGroupOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) group_id: std::option::Option<std::string::String>,
	}
	impl Builder {
		/// A universally unique identifier.
		pub fn group_id(mut self, input: impl Into<std::string::String>) -> Self {
			self.group_id = Some(input.into());
			self
		}
		/// A universally unique identifier.
		pub fn set_group_id(mut self, input: std::option::Option<std::string::String>) -> Self {
			self.group_id = input;
			self
		}
		/// Consumes the builder and constructs a [`CreateGroupOutput`](crate::output::CreateGroupOutput)
		pub fn build(self) -> crate::output::CreateGroupOutput {
			crate::output::CreateGroupOutput {
				group_id: self.group_id,
			}
		}
	}
}
impl CreateGroupOutput {
	/// Creates a new builder-style object to manufacture [`CreateGroupOutput`](crate::output::CreateGroupOutput)
	pub fn builder() -> crate::output::create_group_output::Builder {
		crate::output::create_group_output::Builder::default()
	}
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListSuggestedGroupsOutput {
	/// A list of group summaries.
	pub groups: std::option::Option<std::vec::Vec<crate::model::GroupSummary>>,
	/// Provided by watchable endpoints used in blocking loops.
	pub watch: std::option::Option<crate::model::WatchResponse>,
}
impl ListSuggestedGroupsOutput {
	/// A list of group summaries.
	pub fn groups(&self) -> std::option::Option<&[crate::model::GroupSummary]> {
		self.groups.as_deref()
	}
	/// Provided by watchable endpoints used in blocking loops.
	pub fn watch(&self) -> std::option::Option<&crate::model::WatchResponse> {
		self.watch.as_ref()
	}
}
impl std::fmt::Debug for ListSuggestedGroupsOutput {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		let mut formatter = f.debug_struct("ListSuggestedGroupsOutput");
		formatter.field("groups", &self.groups);
		formatter.field("watch", &self.watch);
		formatter.finish()
	}
}
/// See [`ListSuggestedGroupsOutput`](crate::output::ListSuggestedGroupsOutput)
pub mod list_suggested_groups_output {
	/// A builder for [`ListSuggestedGroupsOutput`](crate::output::ListSuggestedGroupsOutput)
	#[non_exhaustive]
	#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
	pub struct Builder {
		pub(crate) groups: std::option::Option<std::vec::Vec<crate::model::GroupSummary>>,
		pub(crate) watch: std::option::Option<crate::model::WatchResponse>,
	}
	impl Builder {
		/// Appends an item to `groups`.
		///
		/// To override the contents of this collection use [`set_groups`](Self::set_groups).
		///
		/// A list of group summaries.
		pub fn groups(mut self, input: crate::model::GroupSummary) -> Self {
			let mut v = self.groups.unwrap_or_default();
			v.push(input);
			self.groups = Some(v);
			self
		}
		/// A list of group summaries.
		pub fn set_groups(
			mut self,
			input: std::option::Option<std::vec::Vec<crate::model::GroupSummary>>,
		) -> Self {
			self.groups = input;
			self
		}
		/// Provided by watchable endpoints used in blocking loops.
		pub fn watch(mut self, input: crate::model::WatchResponse) -> Self {
			self.watch = Some(input);
			self
		}
		/// Provided by watchable endpoints used in blocking loops.
		pub fn set_watch(
			mut self,
			input: std::option::Option<crate::model::WatchResponse>,
		) -> Self {
			self.watch = input;
			self
		}
		/// Consumes the builder and constructs a [`ListSuggestedGroupsOutput`](crate::output::ListSuggestedGroupsOutput)
		pub fn build(self) -> crate::output::ListSuggestedGroupsOutput {
			crate::output::ListSuggestedGroupsOutput {
				groups: self.groups,
				watch: self.watch,
			}
		}
	}
}
impl ListSuggestedGroupsOutput {
	/// Creates a new builder-style object to manufacture [`ListSuggestedGroupsOutput`](crate::output::ListSuggestedGroupsOutput)
	pub fn builder() -> crate::output::list_suggested_groups_output::Builder {
		crate::output::list_suggested_groups_output::Builder::default()
	}
}