1// Copyright 2017 The go-github AUTHORS. All rights reserved.
2//
3// Use of this source code is governed by a BSD-style
4// license that can be found in the LICENSE file.
5
6// Code generated by gen-accessors; DO NOT EDIT.
7
8package github
9
10import (
11	"encoding/json"
12	"time"
13)
14
15// GetRetryAfter returns the RetryAfter field if it's non-nil, zero value otherwise.
16func (a *AbuseRateLimitError) GetRetryAfter() time.Duration {
17	if a == nil || a.RetryAfter == nil {
18		return 0
19	}
20	return *a.RetryAfter
21}
22
23// GetURL returns the URL field if it's non-nil, zero value otherwise.
24func (a *AdminEnforcement) GetURL() string {
25	if a == nil || a.URL == nil {
26		return ""
27	}
28	return *a.URL
29}
30
31// GetComments returns the Comments field.
32func (a *AdminStats) GetComments() *CommentStats {
33	if a == nil {
34		return nil
35	}
36	return a.Comments
37}
38
39// GetGists returns the Gists field.
40func (a *AdminStats) GetGists() *GistStats {
41	if a == nil {
42		return nil
43	}
44	return a.Gists
45}
46
47// GetHooks returns the Hooks field.
48func (a *AdminStats) GetHooks() *HookStats {
49	if a == nil {
50		return nil
51	}
52	return a.Hooks
53}
54
55// GetIssues returns the Issues field.
56func (a *AdminStats) GetIssues() *IssueStats {
57	if a == nil {
58		return nil
59	}
60	return a.Issues
61}
62
63// GetMilestones returns the Milestones field.
64func (a *AdminStats) GetMilestones() *MilestoneStats {
65	if a == nil {
66		return nil
67	}
68	return a.Milestones
69}
70
71// GetOrgs returns the Orgs field.
72func (a *AdminStats) GetOrgs() *OrgStats {
73	if a == nil {
74		return nil
75	}
76	return a.Orgs
77}
78
79// GetPages returns the Pages field.
80func (a *AdminStats) GetPages() *PageStats {
81	if a == nil {
82		return nil
83	}
84	return a.Pages
85}
86
87// GetPulls returns the Pulls field.
88func (a *AdminStats) GetPulls() *PullStats {
89	if a == nil {
90		return nil
91	}
92	return a.Pulls
93}
94
95// GetRepos returns the Repos field.
96func (a *AdminStats) GetRepos() *RepoStats {
97	if a == nil {
98		return nil
99	}
100	return a.Repos
101}
102
103// GetUsers returns the Users field.
104func (a *AdminStats) GetUsers() *UserStats {
105	if a == nil {
106		return nil
107	}
108	return a.Users
109}
110
111// GetVerifiablePasswordAuthentication returns the VerifiablePasswordAuthentication field if it's non-nil, zero value otherwise.
112func (a *APIMeta) GetVerifiablePasswordAuthentication() bool {
113	if a == nil || a.VerifiablePasswordAuthentication == nil {
114		return false
115	}
116	return *a.VerifiablePasswordAuthentication
117}
118
119// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
120func (a *App) GetCreatedAt() Timestamp {
121	if a == nil || a.CreatedAt == nil {
122		return Timestamp{}
123	}
124	return *a.CreatedAt
125}
126
127// GetDescription returns the Description field if it's non-nil, zero value otherwise.
128func (a *App) GetDescription() string {
129	if a == nil || a.Description == nil {
130		return ""
131	}
132	return *a.Description
133}
134
135// GetExternalURL returns the ExternalURL field if it's non-nil, zero value otherwise.
136func (a *App) GetExternalURL() string {
137	if a == nil || a.ExternalURL == nil {
138		return ""
139	}
140	return *a.ExternalURL
141}
142
143// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
144func (a *App) GetHTMLURL() string {
145	if a == nil || a.HTMLURL == nil {
146		return ""
147	}
148	return *a.HTMLURL
149}
150
151// GetID returns the ID field if it's non-nil, zero value otherwise.
152func (a *App) GetID() int64 {
153	if a == nil || a.ID == nil {
154		return 0
155	}
156	return *a.ID
157}
158
159// GetName returns the Name field if it's non-nil, zero value otherwise.
160func (a *App) GetName() string {
161	if a == nil || a.Name == nil {
162		return ""
163	}
164	return *a.Name
165}
166
167// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
168func (a *App) GetNodeID() string {
169	if a == nil || a.NodeID == nil {
170		return ""
171	}
172	return *a.NodeID
173}
174
175// GetOwner returns the Owner field.
176func (a *App) GetOwner() *User {
177	if a == nil {
178		return nil
179	}
180	return a.Owner
181}
182
183// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
184func (a *App) GetUpdatedAt() Timestamp {
185	if a == nil || a.UpdatedAt == nil {
186		return Timestamp{}
187	}
188	return *a.UpdatedAt
189}
190
191// GetBody returns the Body field if it's non-nil, zero value otherwise.
192func (a *Attachment) GetBody() string {
193	if a == nil || a.Body == nil {
194		return ""
195	}
196	return *a.Body
197}
198
199// GetID returns the ID field if it's non-nil, zero value otherwise.
200func (a *Attachment) GetID() int64 {
201	if a == nil || a.ID == nil {
202		return 0
203	}
204	return *a.ID
205}
206
207// GetTitle returns the Title field if it's non-nil, zero value otherwise.
208func (a *Attachment) GetTitle() string {
209	if a == nil || a.Title == nil {
210		return ""
211	}
212	return *a.Title
213}
214
215// GetApp returns the App field.
216func (a *Authorization) GetApp() *AuthorizationApp {
217	if a == nil {
218		return nil
219	}
220	return a.App
221}
222
223// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
224func (a *Authorization) GetCreatedAt() Timestamp {
225	if a == nil || a.CreatedAt == nil {
226		return Timestamp{}
227	}
228	return *a.CreatedAt
229}
230
231// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise.
232func (a *Authorization) GetFingerprint() string {
233	if a == nil || a.Fingerprint == nil {
234		return ""
235	}
236	return *a.Fingerprint
237}
238
239// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise.
240func (a *Authorization) GetHashedToken() string {
241	if a == nil || a.HashedToken == nil {
242		return ""
243	}
244	return *a.HashedToken
245}
246
247// GetID returns the ID field if it's non-nil, zero value otherwise.
248func (a *Authorization) GetID() int64 {
249	if a == nil || a.ID == nil {
250		return 0
251	}
252	return *a.ID
253}
254
255// GetNote returns the Note field if it's non-nil, zero value otherwise.
256func (a *Authorization) GetNote() string {
257	if a == nil || a.Note == nil {
258		return ""
259	}
260	return *a.Note
261}
262
263// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise.
264func (a *Authorization) GetNoteURL() string {
265	if a == nil || a.NoteURL == nil {
266		return ""
267	}
268	return *a.NoteURL
269}
270
271// GetToken returns the Token field if it's non-nil, zero value otherwise.
272func (a *Authorization) GetToken() string {
273	if a == nil || a.Token == nil {
274		return ""
275	}
276	return *a.Token
277}
278
279// GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise.
280func (a *Authorization) GetTokenLastEight() string {
281	if a == nil || a.TokenLastEight == nil {
282		return ""
283	}
284	return *a.TokenLastEight
285}
286
287// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
288func (a *Authorization) GetUpdatedAt() Timestamp {
289	if a == nil || a.UpdatedAt == nil {
290		return Timestamp{}
291	}
292	return *a.UpdatedAt
293}
294
295// GetURL returns the URL field if it's non-nil, zero value otherwise.
296func (a *Authorization) GetURL() string {
297	if a == nil || a.URL == nil {
298		return ""
299	}
300	return *a.URL
301}
302
303// GetUser returns the User field.
304func (a *Authorization) GetUser() *User {
305	if a == nil {
306		return nil
307	}
308	return a.User
309}
310
311// GetClientID returns the ClientID field if it's non-nil, zero value otherwise.
312func (a *AuthorizationApp) GetClientID() string {
313	if a == nil || a.ClientID == nil {
314		return ""
315	}
316	return *a.ClientID
317}
318
319// GetName returns the Name field if it's non-nil, zero value otherwise.
320func (a *AuthorizationApp) GetName() string {
321	if a == nil || a.Name == nil {
322		return ""
323	}
324	return *a.Name
325}
326
327// GetURL returns the URL field if it's non-nil, zero value otherwise.
328func (a *AuthorizationApp) GetURL() string {
329	if a == nil || a.URL == nil {
330		return ""
331	}
332	return *a.URL
333}
334
335// GetClientID returns the ClientID field if it's non-nil, zero value otherwise.
336func (a *AuthorizationRequest) GetClientID() string {
337	if a == nil || a.ClientID == nil {
338		return ""
339	}
340	return *a.ClientID
341}
342
343// GetClientSecret returns the ClientSecret field if it's non-nil, zero value otherwise.
344func (a *AuthorizationRequest) GetClientSecret() string {
345	if a == nil || a.ClientSecret == nil {
346		return ""
347	}
348	return *a.ClientSecret
349}
350
351// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise.
352func (a *AuthorizationRequest) GetFingerprint() string {
353	if a == nil || a.Fingerprint == nil {
354		return ""
355	}
356	return *a.Fingerprint
357}
358
359// GetNote returns the Note field if it's non-nil, zero value otherwise.
360func (a *AuthorizationRequest) GetNote() string {
361	if a == nil || a.Note == nil {
362		return ""
363	}
364	return *a.Note
365}
366
367// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise.
368func (a *AuthorizationRequest) GetNoteURL() string {
369	if a == nil || a.NoteURL == nil {
370		return ""
371	}
372	return *a.NoteURL
373}
374
375// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise.
376func (a *AuthorizationUpdateRequest) GetFingerprint() string {
377	if a == nil || a.Fingerprint == nil {
378		return ""
379	}
380	return *a.Fingerprint
381}
382
383// GetNote returns the Note field if it's non-nil, zero value otherwise.
384func (a *AuthorizationUpdateRequest) GetNote() string {
385	if a == nil || a.Note == nil {
386		return ""
387	}
388	return *a.Note
389}
390
391// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise.
392func (a *AuthorizationUpdateRequest) GetNoteURL() string {
393	if a == nil || a.NoteURL == nil {
394		return ""
395	}
396	return *a.NoteURL
397}
398
399// GetAppID returns the AppID field if it's non-nil, zero value otherwise.
400func (a *AutoTriggerCheck) GetAppID() int64 {
401	if a == nil || a.AppID == nil {
402		return 0
403	}
404	return *a.AppID
405}
406
407// GetSetting returns the Setting field if it's non-nil, zero value otherwise.
408func (a *AutoTriggerCheck) GetSetting() bool {
409	if a == nil || a.Setting == nil {
410		return false
411	}
412	return *a.Setting
413}
414
415// GetContent returns the Content field if it's non-nil, zero value otherwise.
416func (b *Blob) GetContent() string {
417	if b == nil || b.Content == nil {
418		return ""
419	}
420	return *b.Content
421}
422
423// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise.
424func (b *Blob) GetEncoding() string {
425	if b == nil || b.Encoding == nil {
426		return ""
427	}
428	return *b.Encoding
429}
430
431// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
432func (b *Blob) GetNodeID() string {
433	if b == nil || b.NodeID == nil {
434		return ""
435	}
436	return *b.NodeID
437}
438
439// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
440func (b *Blob) GetSHA() string {
441	if b == nil || b.SHA == nil {
442		return ""
443	}
444	return *b.SHA
445}
446
447// GetSize returns the Size field if it's non-nil, zero value otherwise.
448func (b *Blob) GetSize() int {
449	if b == nil || b.Size == nil {
450		return 0
451	}
452	return *b.Size
453}
454
455// GetURL returns the URL field if it's non-nil, zero value otherwise.
456func (b *Blob) GetURL() string {
457	if b == nil || b.URL == nil {
458		return ""
459	}
460	return *b.URL
461}
462
463// GetCommit returns the Commit field.
464func (b *Branch) GetCommit() *RepositoryCommit {
465	if b == nil {
466		return nil
467	}
468	return b.Commit
469}
470
471// GetName returns the Name field if it's non-nil, zero value otherwise.
472func (b *Branch) GetName() string {
473	if b == nil || b.Name == nil {
474		return ""
475	}
476	return *b.Name
477}
478
479// GetProtected returns the Protected field if it's non-nil, zero value otherwise.
480func (b *Branch) GetProtected() bool {
481	if b == nil || b.Protected == nil {
482		return false
483	}
484	return *b.Protected
485}
486
487// GetCommit returns the Commit field.
488func (b *BranchCommit) GetCommit() *Commit {
489	if b == nil {
490		return nil
491	}
492	return b.Commit
493}
494
495// GetName returns the Name field if it's non-nil, zero value otherwise.
496func (b *BranchCommit) GetName() string {
497	if b == nil || b.Name == nil {
498		return ""
499	}
500	return *b.Name
501}
502
503// GetProtected returns the Protected field if it's non-nil, zero value otherwise.
504func (b *BranchCommit) GetProtected() string {
505	if b == nil || b.Protected == nil {
506		return ""
507	}
508	return *b.Protected
509}
510
511// GetApp returns the App field.
512func (c *CheckRun) GetApp() *App {
513	if c == nil {
514		return nil
515	}
516	return c.App
517}
518
519// GetCheckSuite returns the CheckSuite field.
520func (c *CheckRun) GetCheckSuite() *CheckSuite {
521	if c == nil {
522		return nil
523	}
524	return c.CheckSuite
525}
526
527// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise.
528func (c *CheckRun) GetCompletedAt() Timestamp {
529	if c == nil || c.CompletedAt == nil {
530		return Timestamp{}
531	}
532	return *c.CompletedAt
533}
534
535// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise.
536func (c *CheckRun) GetConclusion() string {
537	if c == nil || c.Conclusion == nil {
538		return ""
539	}
540	return *c.Conclusion
541}
542
543// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise.
544func (c *CheckRun) GetDetailsURL() string {
545	if c == nil || c.DetailsURL == nil {
546		return ""
547	}
548	return *c.DetailsURL
549}
550
551// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise.
552func (c *CheckRun) GetExternalID() string {
553	if c == nil || c.ExternalID == nil {
554		return ""
555	}
556	return *c.ExternalID
557}
558
559// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise.
560func (c *CheckRun) GetHeadSHA() string {
561	if c == nil || c.HeadSHA == nil {
562		return ""
563	}
564	return *c.HeadSHA
565}
566
567// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
568func (c *CheckRun) GetHTMLURL() string {
569	if c == nil || c.HTMLURL == nil {
570		return ""
571	}
572	return *c.HTMLURL
573}
574
575// GetID returns the ID field if it's non-nil, zero value otherwise.
576func (c *CheckRun) GetID() int64 {
577	if c == nil || c.ID == nil {
578		return 0
579	}
580	return *c.ID
581}
582
583// GetName returns the Name field if it's non-nil, zero value otherwise.
584func (c *CheckRun) GetName() string {
585	if c == nil || c.Name == nil {
586		return ""
587	}
588	return *c.Name
589}
590
591// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
592func (c *CheckRun) GetNodeID() string {
593	if c == nil || c.NodeID == nil {
594		return ""
595	}
596	return *c.NodeID
597}
598
599// GetOutput returns the Output field.
600func (c *CheckRun) GetOutput() *CheckRunOutput {
601	if c == nil {
602		return nil
603	}
604	return c.Output
605}
606
607// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise.
608func (c *CheckRun) GetStartedAt() Timestamp {
609	if c == nil || c.StartedAt == nil {
610		return Timestamp{}
611	}
612	return *c.StartedAt
613}
614
615// GetStatus returns the Status field if it's non-nil, zero value otherwise.
616func (c *CheckRun) GetStatus() string {
617	if c == nil || c.Status == nil {
618		return ""
619	}
620	return *c.Status
621}
622
623// GetURL returns the URL field if it's non-nil, zero value otherwise.
624func (c *CheckRun) GetURL() string {
625	if c == nil || c.URL == nil {
626		return ""
627	}
628	return *c.URL
629}
630
631// GetAnnotationLevel returns the AnnotationLevel field if it's non-nil, zero value otherwise.
632func (c *CheckRunAnnotation) GetAnnotationLevel() string {
633	if c == nil || c.AnnotationLevel == nil {
634		return ""
635	}
636	return *c.AnnotationLevel
637}
638
639// GetBlobHRef returns the BlobHRef field if it's non-nil, zero value otherwise.
640func (c *CheckRunAnnotation) GetBlobHRef() string {
641	if c == nil || c.BlobHRef == nil {
642		return ""
643	}
644	return *c.BlobHRef
645}
646
647// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise.
648func (c *CheckRunAnnotation) GetEndColumn() int {
649	if c == nil || c.EndColumn == nil {
650		return 0
651	}
652	return *c.EndColumn
653}
654
655// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise.
656func (c *CheckRunAnnotation) GetEndLine() int {
657	if c == nil || c.EndLine == nil {
658		return 0
659	}
660	return *c.EndLine
661}
662
663// GetMessage returns the Message field if it's non-nil, zero value otherwise.
664func (c *CheckRunAnnotation) GetMessage() string {
665	if c == nil || c.Message == nil {
666		return ""
667	}
668	return *c.Message
669}
670
671// GetPath returns the Path field if it's non-nil, zero value otherwise.
672func (c *CheckRunAnnotation) GetPath() string {
673	if c == nil || c.Path == nil {
674		return ""
675	}
676	return *c.Path
677}
678
679// GetRawDetails returns the RawDetails field if it's non-nil, zero value otherwise.
680func (c *CheckRunAnnotation) GetRawDetails() string {
681	if c == nil || c.RawDetails == nil {
682		return ""
683	}
684	return *c.RawDetails
685}
686
687// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise.
688func (c *CheckRunAnnotation) GetStartColumn() int {
689	if c == nil || c.StartColumn == nil {
690		return 0
691	}
692	return *c.StartColumn
693}
694
695// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise.
696func (c *CheckRunAnnotation) GetStartLine() int {
697	if c == nil || c.StartLine == nil {
698		return 0
699	}
700	return *c.StartLine
701}
702
703// GetTitle returns the Title field if it's non-nil, zero value otherwise.
704func (c *CheckRunAnnotation) GetTitle() string {
705	if c == nil || c.Title == nil {
706		return ""
707	}
708	return *c.Title
709}
710
711// GetAction returns the Action field if it's non-nil, zero value otherwise.
712func (c *CheckRunEvent) GetAction() string {
713	if c == nil || c.Action == nil {
714		return ""
715	}
716	return *c.Action
717}
718
719// GetCheckRun returns the CheckRun field.
720func (c *CheckRunEvent) GetCheckRun() *CheckRun {
721	if c == nil {
722		return nil
723	}
724	return c.CheckRun
725}
726
727// GetInstallation returns the Installation field.
728func (c *CheckRunEvent) GetInstallation() *Installation {
729	if c == nil {
730		return nil
731	}
732	return c.Installation
733}
734
735// GetOrg returns the Org field.
736func (c *CheckRunEvent) GetOrg() *Organization {
737	if c == nil {
738		return nil
739	}
740	return c.Org
741}
742
743// GetRepo returns the Repo field.
744func (c *CheckRunEvent) GetRepo() *Repository {
745	if c == nil {
746		return nil
747	}
748	return c.Repo
749}
750
751// GetRequestedAction returns the RequestedAction field.
752func (c *CheckRunEvent) GetRequestedAction() *RequestedAction {
753	if c == nil {
754		return nil
755	}
756	return c.RequestedAction
757}
758
759// GetSender returns the Sender field.
760func (c *CheckRunEvent) GetSender() *User {
761	if c == nil {
762		return nil
763	}
764	return c.Sender
765}
766
767// GetAlt returns the Alt field if it's non-nil, zero value otherwise.
768func (c *CheckRunImage) GetAlt() string {
769	if c == nil || c.Alt == nil {
770		return ""
771	}
772	return *c.Alt
773}
774
775// GetCaption returns the Caption field if it's non-nil, zero value otherwise.
776func (c *CheckRunImage) GetCaption() string {
777	if c == nil || c.Caption == nil {
778		return ""
779	}
780	return *c.Caption
781}
782
783// GetImageURL returns the ImageURL field if it's non-nil, zero value otherwise.
784func (c *CheckRunImage) GetImageURL() string {
785	if c == nil || c.ImageURL == nil {
786		return ""
787	}
788	return *c.ImageURL
789}
790
791// GetAnnotationsCount returns the AnnotationsCount field if it's non-nil, zero value otherwise.
792func (c *CheckRunOutput) GetAnnotationsCount() int {
793	if c == nil || c.AnnotationsCount == nil {
794		return 0
795	}
796	return *c.AnnotationsCount
797}
798
799// GetAnnotationsURL returns the AnnotationsURL field if it's non-nil, zero value otherwise.
800func (c *CheckRunOutput) GetAnnotationsURL() string {
801	if c == nil || c.AnnotationsURL == nil {
802		return ""
803	}
804	return *c.AnnotationsURL
805}
806
807// GetSummary returns the Summary field if it's non-nil, zero value otherwise.
808func (c *CheckRunOutput) GetSummary() string {
809	if c == nil || c.Summary == nil {
810		return ""
811	}
812	return *c.Summary
813}
814
815// GetText returns the Text field if it's non-nil, zero value otherwise.
816func (c *CheckRunOutput) GetText() string {
817	if c == nil || c.Text == nil {
818		return ""
819	}
820	return *c.Text
821}
822
823// GetTitle returns the Title field if it's non-nil, zero value otherwise.
824func (c *CheckRunOutput) GetTitle() string {
825	if c == nil || c.Title == nil {
826		return ""
827	}
828	return *c.Title
829}
830
831// GetAfterSHA returns the AfterSHA field if it's non-nil, zero value otherwise.
832func (c *CheckSuite) GetAfterSHA() string {
833	if c == nil || c.AfterSHA == nil {
834		return ""
835	}
836	return *c.AfterSHA
837}
838
839// GetApp returns the App field.
840func (c *CheckSuite) GetApp() *App {
841	if c == nil {
842		return nil
843	}
844	return c.App
845}
846
847// GetBeforeSHA returns the BeforeSHA field if it's non-nil, zero value otherwise.
848func (c *CheckSuite) GetBeforeSHA() string {
849	if c == nil || c.BeforeSHA == nil {
850		return ""
851	}
852	return *c.BeforeSHA
853}
854
855// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise.
856func (c *CheckSuite) GetConclusion() string {
857	if c == nil || c.Conclusion == nil {
858		return ""
859	}
860	return *c.Conclusion
861}
862
863// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise.
864func (c *CheckSuite) GetHeadBranch() string {
865	if c == nil || c.HeadBranch == nil {
866		return ""
867	}
868	return *c.HeadBranch
869}
870
871// GetHeadCommit returns the HeadCommit field.
872func (c *CheckSuite) GetHeadCommit() *Commit {
873	if c == nil {
874		return nil
875	}
876	return c.HeadCommit
877}
878
879// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise.
880func (c *CheckSuite) GetHeadSHA() string {
881	if c == nil || c.HeadSHA == nil {
882		return ""
883	}
884	return *c.HeadSHA
885}
886
887// GetID returns the ID field if it's non-nil, zero value otherwise.
888func (c *CheckSuite) GetID() int64 {
889	if c == nil || c.ID == nil {
890		return 0
891	}
892	return *c.ID
893}
894
895// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
896func (c *CheckSuite) GetNodeID() string {
897	if c == nil || c.NodeID == nil {
898		return ""
899	}
900	return *c.NodeID
901}
902
903// GetRepository returns the Repository field.
904func (c *CheckSuite) GetRepository() *Repository {
905	if c == nil {
906		return nil
907	}
908	return c.Repository
909}
910
911// GetStatus returns the Status field if it's non-nil, zero value otherwise.
912func (c *CheckSuite) GetStatus() string {
913	if c == nil || c.Status == nil {
914		return ""
915	}
916	return *c.Status
917}
918
919// GetURL returns the URL field if it's non-nil, zero value otherwise.
920func (c *CheckSuite) GetURL() string {
921	if c == nil || c.URL == nil {
922		return ""
923	}
924	return *c.URL
925}
926
927// GetAction returns the Action field if it's non-nil, zero value otherwise.
928func (c *CheckSuiteEvent) GetAction() string {
929	if c == nil || c.Action == nil {
930		return ""
931	}
932	return *c.Action
933}
934
935// GetCheckSuite returns the CheckSuite field.
936func (c *CheckSuiteEvent) GetCheckSuite() *CheckSuite {
937	if c == nil {
938		return nil
939	}
940	return c.CheckSuite
941}
942
943// GetInstallation returns the Installation field.
944func (c *CheckSuiteEvent) GetInstallation() *Installation {
945	if c == nil {
946		return nil
947	}
948	return c.Installation
949}
950
951// GetOrg returns the Org field.
952func (c *CheckSuiteEvent) GetOrg() *Organization {
953	if c == nil {
954		return nil
955	}
956	return c.Org
957}
958
959// GetRepo returns the Repo field.
960func (c *CheckSuiteEvent) GetRepo() *Repository {
961	if c == nil {
962		return nil
963	}
964	return c.Repo
965}
966
967// GetSender returns the Sender field.
968func (c *CheckSuiteEvent) GetSender() *User {
969	if c == nil {
970		return nil
971	}
972	return c.Sender
973}
974
975// GetPreferences returns the Preferences field.
976func (c *CheckSuitePreferenceResults) GetPreferences() *PreferenceList {
977	if c == nil {
978		return nil
979	}
980	return c.Preferences
981}
982
983// GetRepository returns the Repository field.
984func (c *CheckSuitePreferenceResults) GetRepository() *Repository {
985	if c == nil {
986		return nil
987	}
988	return c.Repository
989}
990
991// GetBody returns the Body field if it's non-nil, zero value otherwise.
992func (c *CodeOfConduct) GetBody() string {
993	if c == nil || c.Body == nil {
994		return ""
995	}
996	return *c.Body
997}
998
999// GetKey returns the Key field if it's non-nil, zero value otherwise.
1000func (c *CodeOfConduct) GetKey() string {
1001	if c == nil || c.Key == nil {
1002		return ""
1003	}
1004	return *c.Key
1005}
1006
1007// GetName returns the Name field if it's non-nil, zero value otherwise.
1008func (c *CodeOfConduct) GetName() string {
1009	if c == nil || c.Name == nil {
1010		return ""
1011	}
1012	return *c.Name
1013}
1014
1015// GetURL returns the URL field if it's non-nil, zero value otherwise.
1016func (c *CodeOfConduct) GetURL() string {
1017	if c == nil || c.URL == nil {
1018		return ""
1019	}
1020	return *c.URL
1021}
1022
1023// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
1024func (c *CodeResult) GetHTMLURL() string {
1025	if c == nil || c.HTMLURL == nil {
1026		return ""
1027	}
1028	return *c.HTMLURL
1029}
1030
1031// GetName returns the Name field if it's non-nil, zero value otherwise.
1032func (c *CodeResult) GetName() string {
1033	if c == nil || c.Name == nil {
1034		return ""
1035	}
1036	return *c.Name
1037}
1038
1039// GetPath returns the Path field if it's non-nil, zero value otherwise.
1040func (c *CodeResult) GetPath() string {
1041	if c == nil || c.Path == nil {
1042		return ""
1043	}
1044	return *c.Path
1045}
1046
1047// GetRepository returns the Repository field.
1048func (c *CodeResult) GetRepository() *Repository {
1049	if c == nil {
1050		return nil
1051	}
1052	return c.Repository
1053}
1054
1055// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
1056func (c *CodeResult) GetSHA() string {
1057	if c == nil || c.SHA == nil {
1058		return ""
1059	}
1060	return *c.SHA
1061}
1062
1063// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
1064func (c *CodeSearchResult) GetIncompleteResults() bool {
1065	if c == nil || c.IncompleteResults == nil {
1066		return false
1067	}
1068	return *c.IncompleteResults
1069}
1070
1071// GetTotal returns the Total field if it's non-nil, zero value otherwise.
1072func (c *CodeSearchResult) GetTotal() int {
1073	if c == nil || c.Total == nil {
1074		return 0
1075	}
1076	return *c.Total
1077}
1078
1079// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise.
1080func (c *CombinedStatus) GetCommitURL() string {
1081	if c == nil || c.CommitURL == nil {
1082		return ""
1083	}
1084	return *c.CommitURL
1085}
1086
1087// GetName returns the Name field if it's non-nil, zero value otherwise.
1088func (c *CombinedStatus) GetName() string {
1089	if c == nil || c.Name == nil {
1090		return ""
1091	}
1092	return *c.Name
1093}
1094
1095// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
1096func (c *CombinedStatus) GetRepositoryURL() string {
1097	if c == nil || c.RepositoryURL == nil {
1098		return ""
1099	}
1100	return *c.RepositoryURL
1101}
1102
1103// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
1104func (c *CombinedStatus) GetSHA() string {
1105	if c == nil || c.SHA == nil {
1106		return ""
1107	}
1108	return *c.SHA
1109}
1110
1111// GetState returns the State field if it's non-nil, zero value otherwise.
1112func (c *CombinedStatus) GetState() string {
1113	if c == nil || c.State == nil {
1114		return ""
1115	}
1116	return *c.State
1117}
1118
1119// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise.
1120func (c *CombinedStatus) GetTotalCount() int {
1121	if c == nil || c.TotalCount == nil {
1122		return 0
1123	}
1124	return *c.TotalCount
1125}
1126
1127// GetTotalCommitComments returns the TotalCommitComments field if it's non-nil, zero value otherwise.
1128func (c *CommentStats) GetTotalCommitComments() int {
1129	if c == nil || c.TotalCommitComments == nil {
1130		return 0
1131	}
1132	return *c.TotalCommitComments
1133}
1134
1135// GetTotalGistComments returns the TotalGistComments field if it's non-nil, zero value otherwise.
1136func (c *CommentStats) GetTotalGistComments() int {
1137	if c == nil || c.TotalGistComments == nil {
1138		return 0
1139	}
1140	return *c.TotalGistComments
1141}
1142
1143// GetTotalIssueComments returns the TotalIssueComments field if it's non-nil, zero value otherwise.
1144func (c *CommentStats) GetTotalIssueComments() int {
1145	if c == nil || c.TotalIssueComments == nil {
1146		return 0
1147	}
1148	return *c.TotalIssueComments
1149}
1150
1151// GetTotalPullRequestComments returns the TotalPullRequestComments field if it's non-nil, zero value otherwise.
1152func (c *CommentStats) GetTotalPullRequestComments() int {
1153	if c == nil || c.TotalPullRequestComments == nil {
1154		return 0
1155	}
1156	return *c.TotalPullRequestComments
1157}
1158
1159// GetAuthor returns the Author field.
1160func (c *Commit) GetAuthor() *CommitAuthor {
1161	if c == nil {
1162		return nil
1163	}
1164	return c.Author
1165}
1166
1167// GetCommentCount returns the CommentCount field if it's non-nil, zero value otherwise.
1168func (c *Commit) GetCommentCount() int {
1169	if c == nil || c.CommentCount == nil {
1170		return 0
1171	}
1172	return *c.CommentCount
1173}
1174
1175// GetCommitter returns the Committer field.
1176func (c *Commit) GetCommitter() *CommitAuthor {
1177	if c == nil {
1178		return nil
1179	}
1180	return c.Committer
1181}
1182
1183// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
1184func (c *Commit) GetHTMLURL() string {
1185	if c == nil || c.HTMLURL == nil {
1186		return ""
1187	}
1188	return *c.HTMLURL
1189}
1190
1191// GetMessage returns the Message field if it's non-nil, zero value otherwise.
1192func (c *Commit) GetMessage() string {
1193	if c == nil || c.Message == nil {
1194		return ""
1195	}
1196	return *c.Message
1197}
1198
1199// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
1200func (c *Commit) GetNodeID() string {
1201	if c == nil || c.NodeID == nil {
1202		return ""
1203	}
1204	return *c.NodeID
1205}
1206
1207// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
1208func (c *Commit) GetSHA() string {
1209	if c == nil || c.SHA == nil {
1210		return ""
1211	}
1212	return *c.SHA
1213}
1214
1215// GetStats returns the Stats field.
1216func (c *Commit) GetStats() *CommitStats {
1217	if c == nil {
1218		return nil
1219	}
1220	return c.Stats
1221}
1222
1223// GetTree returns the Tree field.
1224func (c *Commit) GetTree() *Tree {
1225	if c == nil {
1226		return nil
1227	}
1228	return c.Tree
1229}
1230
1231// GetURL returns the URL field if it's non-nil, zero value otherwise.
1232func (c *Commit) GetURL() string {
1233	if c == nil || c.URL == nil {
1234		return ""
1235	}
1236	return *c.URL
1237}
1238
1239// GetVerification returns the Verification field.
1240func (c *Commit) GetVerification() *SignatureVerification {
1241	if c == nil {
1242		return nil
1243	}
1244	return c.Verification
1245}
1246
1247// GetDate returns the Date field if it's non-nil, zero value otherwise.
1248func (c *CommitAuthor) GetDate() time.Time {
1249	if c == nil || c.Date == nil {
1250		return time.Time{}
1251	}
1252	return *c.Date
1253}
1254
1255// GetEmail returns the Email field if it's non-nil, zero value otherwise.
1256func (c *CommitAuthor) GetEmail() string {
1257	if c == nil || c.Email == nil {
1258		return ""
1259	}
1260	return *c.Email
1261}
1262
1263// GetLogin returns the Login field if it's non-nil, zero value otherwise.
1264func (c *CommitAuthor) GetLogin() string {
1265	if c == nil || c.Login == nil {
1266		return ""
1267	}
1268	return *c.Login
1269}
1270
1271// GetName returns the Name field if it's non-nil, zero value otherwise.
1272func (c *CommitAuthor) GetName() string {
1273	if c == nil || c.Name == nil {
1274		return ""
1275	}
1276	return *c.Name
1277}
1278
1279// GetAction returns the Action field if it's non-nil, zero value otherwise.
1280func (c *CommitCommentEvent) GetAction() string {
1281	if c == nil || c.Action == nil {
1282		return ""
1283	}
1284	return *c.Action
1285}
1286
1287// GetComment returns the Comment field.
1288func (c *CommitCommentEvent) GetComment() *RepositoryComment {
1289	if c == nil {
1290		return nil
1291	}
1292	return c.Comment
1293}
1294
1295// GetInstallation returns the Installation field.
1296func (c *CommitCommentEvent) GetInstallation() *Installation {
1297	if c == nil {
1298		return nil
1299	}
1300	return c.Installation
1301}
1302
1303// GetRepo returns the Repo field.
1304func (c *CommitCommentEvent) GetRepo() *Repository {
1305	if c == nil {
1306		return nil
1307	}
1308	return c.Repo
1309}
1310
1311// GetSender returns the Sender field.
1312func (c *CommitCommentEvent) GetSender() *User {
1313	if c == nil {
1314		return nil
1315	}
1316	return c.Sender
1317}
1318
1319// GetAdditions returns the Additions field if it's non-nil, zero value otherwise.
1320func (c *CommitFile) GetAdditions() int {
1321	if c == nil || c.Additions == nil {
1322		return 0
1323	}
1324	return *c.Additions
1325}
1326
1327// GetBlobURL returns the BlobURL field if it's non-nil, zero value otherwise.
1328func (c *CommitFile) GetBlobURL() string {
1329	if c == nil || c.BlobURL == nil {
1330		return ""
1331	}
1332	return *c.BlobURL
1333}
1334
1335// GetChanges returns the Changes field if it's non-nil, zero value otherwise.
1336func (c *CommitFile) GetChanges() int {
1337	if c == nil || c.Changes == nil {
1338		return 0
1339	}
1340	return *c.Changes
1341}
1342
1343// GetContentsURL returns the ContentsURL field if it's non-nil, zero value otherwise.
1344func (c *CommitFile) GetContentsURL() string {
1345	if c == nil || c.ContentsURL == nil {
1346		return ""
1347	}
1348	return *c.ContentsURL
1349}
1350
1351// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise.
1352func (c *CommitFile) GetDeletions() int {
1353	if c == nil || c.Deletions == nil {
1354		return 0
1355	}
1356	return *c.Deletions
1357}
1358
1359// GetFilename returns the Filename field if it's non-nil, zero value otherwise.
1360func (c *CommitFile) GetFilename() string {
1361	if c == nil || c.Filename == nil {
1362		return ""
1363	}
1364	return *c.Filename
1365}
1366
1367// GetPatch returns the Patch field if it's non-nil, zero value otherwise.
1368func (c *CommitFile) GetPatch() string {
1369	if c == nil || c.Patch == nil {
1370		return ""
1371	}
1372	return *c.Patch
1373}
1374
1375// GetPreviousFilename returns the PreviousFilename field if it's non-nil, zero value otherwise.
1376func (c *CommitFile) GetPreviousFilename() string {
1377	if c == nil || c.PreviousFilename == nil {
1378		return ""
1379	}
1380	return *c.PreviousFilename
1381}
1382
1383// GetRawURL returns the RawURL field if it's non-nil, zero value otherwise.
1384func (c *CommitFile) GetRawURL() string {
1385	if c == nil || c.RawURL == nil {
1386		return ""
1387	}
1388	return *c.RawURL
1389}
1390
1391// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
1392func (c *CommitFile) GetSHA() string {
1393	if c == nil || c.SHA == nil {
1394		return ""
1395	}
1396	return *c.SHA
1397}
1398
1399// GetStatus returns the Status field if it's non-nil, zero value otherwise.
1400func (c *CommitFile) GetStatus() string {
1401	if c == nil || c.Status == nil {
1402		return ""
1403	}
1404	return *c.Status
1405}
1406
1407// GetAuthor returns the Author field.
1408func (c *CommitResult) GetAuthor() *User {
1409	if c == nil {
1410		return nil
1411	}
1412	return c.Author
1413}
1414
1415// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
1416func (c *CommitResult) GetCommentsURL() string {
1417	if c == nil || c.CommentsURL == nil {
1418		return ""
1419	}
1420	return *c.CommentsURL
1421}
1422
1423// GetCommit returns the Commit field.
1424func (c *CommitResult) GetCommit() *Commit {
1425	if c == nil {
1426		return nil
1427	}
1428	return c.Commit
1429}
1430
1431// GetCommitter returns the Committer field.
1432func (c *CommitResult) GetCommitter() *User {
1433	if c == nil {
1434		return nil
1435	}
1436	return c.Committer
1437}
1438
1439// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
1440func (c *CommitResult) GetHTMLURL() string {
1441	if c == nil || c.HTMLURL == nil {
1442		return ""
1443	}
1444	return *c.HTMLURL
1445}
1446
1447// GetRepository returns the Repository field.
1448func (c *CommitResult) GetRepository() *Repository {
1449	if c == nil {
1450		return nil
1451	}
1452	return c.Repository
1453}
1454
1455// GetScore returns the Score field.
1456func (c *CommitResult) GetScore() *float64 {
1457	if c == nil {
1458		return nil
1459	}
1460	return c.Score
1461}
1462
1463// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
1464func (c *CommitResult) GetSHA() string {
1465	if c == nil || c.SHA == nil {
1466		return ""
1467	}
1468	return *c.SHA
1469}
1470
1471// GetURL returns the URL field if it's non-nil, zero value otherwise.
1472func (c *CommitResult) GetURL() string {
1473	if c == nil || c.URL == nil {
1474		return ""
1475	}
1476	return *c.URL
1477}
1478
1479// GetAheadBy returns the AheadBy field if it's non-nil, zero value otherwise.
1480func (c *CommitsComparison) GetAheadBy() int {
1481	if c == nil || c.AheadBy == nil {
1482		return 0
1483	}
1484	return *c.AheadBy
1485}
1486
1487// GetBaseCommit returns the BaseCommit field.
1488func (c *CommitsComparison) GetBaseCommit() *RepositoryCommit {
1489	if c == nil {
1490		return nil
1491	}
1492	return c.BaseCommit
1493}
1494
1495// GetBehindBy returns the BehindBy field if it's non-nil, zero value otherwise.
1496func (c *CommitsComparison) GetBehindBy() int {
1497	if c == nil || c.BehindBy == nil {
1498		return 0
1499	}
1500	return *c.BehindBy
1501}
1502
1503// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise.
1504func (c *CommitsComparison) GetDiffURL() string {
1505	if c == nil || c.DiffURL == nil {
1506		return ""
1507	}
1508	return *c.DiffURL
1509}
1510
1511// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
1512func (c *CommitsComparison) GetHTMLURL() string {
1513	if c == nil || c.HTMLURL == nil {
1514		return ""
1515	}
1516	return *c.HTMLURL
1517}
1518
1519// GetMergeBaseCommit returns the MergeBaseCommit field.
1520func (c *CommitsComparison) GetMergeBaseCommit() *RepositoryCommit {
1521	if c == nil {
1522		return nil
1523	}
1524	return c.MergeBaseCommit
1525}
1526
1527// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise.
1528func (c *CommitsComparison) GetPatchURL() string {
1529	if c == nil || c.PatchURL == nil {
1530		return ""
1531	}
1532	return *c.PatchURL
1533}
1534
1535// GetPermalinkURL returns the PermalinkURL field if it's non-nil, zero value otherwise.
1536func (c *CommitsComparison) GetPermalinkURL() string {
1537	if c == nil || c.PermalinkURL == nil {
1538		return ""
1539	}
1540	return *c.PermalinkURL
1541}
1542
1543// GetStatus returns the Status field if it's non-nil, zero value otherwise.
1544func (c *CommitsComparison) GetStatus() string {
1545	if c == nil || c.Status == nil {
1546		return ""
1547	}
1548	return *c.Status
1549}
1550
1551// GetTotalCommits returns the TotalCommits field if it's non-nil, zero value otherwise.
1552func (c *CommitsComparison) GetTotalCommits() int {
1553	if c == nil || c.TotalCommits == nil {
1554		return 0
1555	}
1556	return *c.TotalCommits
1557}
1558
1559// GetURL returns the URL field if it's non-nil, zero value otherwise.
1560func (c *CommitsComparison) GetURL() string {
1561	if c == nil || c.URL == nil {
1562		return ""
1563	}
1564	return *c.URL
1565}
1566
1567// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
1568func (c *CommitsSearchResult) GetIncompleteResults() bool {
1569	if c == nil || c.IncompleteResults == nil {
1570		return false
1571	}
1572	return *c.IncompleteResults
1573}
1574
1575// GetTotal returns the Total field if it's non-nil, zero value otherwise.
1576func (c *CommitsSearchResult) GetTotal() int {
1577	if c == nil || c.Total == nil {
1578		return 0
1579	}
1580	return *c.Total
1581}
1582
1583// GetAdditions returns the Additions field if it's non-nil, zero value otherwise.
1584func (c *CommitStats) GetAdditions() int {
1585	if c == nil || c.Additions == nil {
1586		return 0
1587	}
1588	return *c.Additions
1589}
1590
1591// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise.
1592func (c *CommitStats) GetDeletions() int {
1593	if c == nil || c.Deletions == nil {
1594		return 0
1595	}
1596	return *c.Deletions
1597}
1598
1599// GetTotal returns the Total field if it's non-nil, zero value otherwise.
1600func (c *CommitStats) GetTotal() int {
1601	if c == nil || c.Total == nil {
1602		return 0
1603	}
1604	return *c.Total
1605}
1606
1607// GetCodeOfConduct returns the CodeOfConduct field.
1608func (c *CommunityHealthFiles) GetCodeOfConduct() *Metric {
1609	if c == nil {
1610		return nil
1611	}
1612	return c.CodeOfConduct
1613}
1614
1615// GetContributing returns the Contributing field.
1616func (c *CommunityHealthFiles) GetContributing() *Metric {
1617	if c == nil {
1618		return nil
1619	}
1620	return c.Contributing
1621}
1622
1623// GetIssueTemplate returns the IssueTemplate field.
1624func (c *CommunityHealthFiles) GetIssueTemplate() *Metric {
1625	if c == nil {
1626		return nil
1627	}
1628	return c.IssueTemplate
1629}
1630
1631// GetLicense returns the License field.
1632func (c *CommunityHealthFiles) GetLicense() *Metric {
1633	if c == nil {
1634		return nil
1635	}
1636	return c.License
1637}
1638
1639// GetPullRequestTemplate returns the PullRequestTemplate field.
1640func (c *CommunityHealthFiles) GetPullRequestTemplate() *Metric {
1641	if c == nil {
1642		return nil
1643	}
1644	return c.PullRequestTemplate
1645}
1646
1647// GetReadme returns the Readme field.
1648func (c *CommunityHealthFiles) GetReadme() *Metric {
1649	if c == nil {
1650		return nil
1651	}
1652	return c.Readme
1653}
1654
1655// GetFiles returns the Files field.
1656func (c *CommunityHealthMetrics) GetFiles() *CommunityHealthFiles {
1657	if c == nil {
1658		return nil
1659	}
1660	return c.Files
1661}
1662
1663// GetHealthPercentage returns the HealthPercentage field if it's non-nil, zero value otherwise.
1664func (c *CommunityHealthMetrics) GetHealthPercentage() int {
1665	if c == nil || c.HealthPercentage == nil {
1666		return 0
1667	}
1668	return *c.HealthPercentage
1669}
1670
1671// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
1672func (c *CommunityHealthMetrics) GetUpdatedAt() time.Time {
1673	if c == nil || c.UpdatedAt == nil {
1674		return time.Time{}
1675	}
1676	return *c.UpdatedAt
1677}
1678
1679// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise.
1680func (c *Contributor) GetAvatarURL() string {
1681	if c == nil || c.AvatarURL == nil {
1682		return ""
1683	}
1684	return *c.AvatarURL
1685}
1686
1687// GetContributions returns the Contributions field if it's non-nil, zero value otherwise.
1688func (c *Contributor) GetContributions() int {
1689	if c == nil || c.Contributions == nil {
1690		return 0
1691	}
1692	return *c.Contributions
1693}
1694
1695// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
1696func (c *Contributor) GetEventsURL() string {
1697	if c == nil || c.EventsURL == nil {
1698		return ""
1699	}
1700	return *c.EventsURL
1701}
1702
1703// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise.
1704func (c *Contributor) GetFollowersURL() string {
1705	if c == nil || c.FollowersURL == nil {
1706		return ""
1707	}
1708	return *c.FollowersURL
1709}
1710
1711// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise.
1712func (c *Contributor) GetFollowingURL() string {
1713	if c == nil || c.FollowingURL == nil {
1714		return ""
1715	}
1716	return *c.FollowingURL
1717}
1718
1719// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise.
1720func (c *Contributor) GetGistsURL() string {
1721	if c == nil || c.GistsURL == nil {
1722		return ""
1723	}
1724	return *c.GistsURL
1725}
1726
1727// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise.
1728func (c *Contributor) GetGravatarID() string {
1729	if c == nil || c.GravatarID == nil {
1730		return ""
1731	}
1732	return *c.GravatarID
1733}
1734
1735// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
1736func (c *Contributor) GetHTMLURL() string {
1737	if c == nil || c.HTMLURL == nil {
1738		return ""
1739	}
1740	return *c.HTMLURL
1741}
1742
1743// GetID returns the ID field if it's non-nil, zero value otherwise.
1744func (c *Contributor) GetID() int64 {
1745	if c == nil || c.ID == nil {
1746		return 0
1747	}
1748	return *c.ID
1749}
1750
1751// GetLogin returns the Login field if it's non-nil, zero value otherwise.
1752func (c *Contributor) GetLogin() string {
1753	if c == nil || c.Login == nil {
1754		return ""
1755	}
1756	return *c.Login
1757}
1758
1759// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise.
1760func (c *Contributor) GetOrganizationsURL() string {
1761	if c == nil || c.OrganizationsURL == nil {
1762		return ""
1763	}
1764	return *c.OrganizationsURL
1765}
1766
1767// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise.
1768func (c *Contributor) GetReceivedEventsURL() string {
1769	if c == nil || c.ReceivedEventsURL == nil {
1770		return ""
1771	}
1772	return *c.ReceivedEventsURL
1773}
1774
1775// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise.
1776func (c *Contributor) GetReposURL() string {
1777	if c == nil || c.ReposURL == nil {
1778		return ""
1779	}
1780	return *c.ReposURL
1781}
1782
1783// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise.
1784func (c *Contributor) GetSiteAdmin() bool {
1785	if c == nil || c.SiteAdmin == nil {
1786		return false
1787	}
1788	return *c.SiteAdmin
1789}
1790
1791// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise.
1792func (c *Contributor) GetStarredURL() string {
1793	if c == nil || c.StarredURL == nil {
1794		return ""
1795	}
1796	return *c.StarredURL
1797}
1798
1799// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise.
1800func (c *Contributor) GetSubscriptionsURL() string {
1801	if c == nil || c.SubscriptionsURL == nil {
1802		return ""
1803	}
1804	return *c.SubscriptionsURL
1805}
1806
1807// GetType returns the Type field if it's non-nil, zero value otherwise.
1808func (c *Contributor) GetType() string {
1809	if c == nil || c.Type == nil {
1810		return ""
1811	}
1812	return *c.Type
1813}
1814
1815// GetURL returns the URL field if it's non-nil, zero value otherwise.
1816func (c *Contributor) GetURL() string {
1817	if c == nil || c.URL == nil {
1818		return ""
1819	}
1820	return *c.URL
1821}
1822
1823// GetAuthor returns the Author field.
1824func (c *ContributorStats) GetAuthor() *Contributor {
1825	if c == nil {
1826		return nil
1827	}
1828	return c.Author
1829}
1830
1831// GetTotal returns the Total field if it's non-nil, zero value otherwise.
1832func (c *ContributorStats) GetTotal() int {
1833	if c == nil || c.Total == nil {
1834		return 0
1835	}
1836	return *c.Total
1837}
1838
1839// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise.
1840func (c *CreateCheckRunOptions) GetCompletedAt() Timestamp {
1841	if c == nil || c.CompletedAt == nil {
1842		return Timestamp{}
1843	}
1844	return *c.CompletedAt
1845}
1846
1847// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise.
1848func (c *CreateCheckRunOptions) GetConclusion() string {
1849	if c == nil || c.Conclusion == nil {
1850		return ""
1851	}
1852	return *c.Conclusion
1853}
1854
1855// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise.
1856func (c *CreateCheckRunOptions) GetDetailsURL() string {
1857	if c == nil || c.DetailsURL == nil {
1858		return ""
1859	}
1860	return *c.DetailsURL
1861}
1862
1863// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise.
1864func (c *CreateCheckRunOptions) GetExternalID() string {
1865	if c == nil || c.ExternalID == nil {
1866		return ""
1867	}
1868	return *c.ExternalID
1869}
1870
1871// GetOutput returns the Output field.
1872func (c *CreateCheckRunOptions) GetOutput() *CheckRunOutput {
1873	if c == nil {
1874		return nil
1875	}
1876	return c.Output
1877}
1878
1879// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise.
1880func (c *CreateCheckRunOptions) GetStartedAt() Timestamp {
1881	if c == nil || c.StartedAt == nil {
1882		return Timestamp{}
1883	}
1884	return *c.StartedAt
1885}
1886
1887// GetStatus returns the Status field if it's non-nil, zero value otherwise.
1888func (c *CreateCheckRunOptions) GetStatus() string {
1889	if c == nil || c.Status == nil {
1890		return ""
1891	}
1892	return *c.Status
1893}
1894
1895// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise.
1896func (c *CreateCheckSuiteOptions) GetHeadBranch() string {
1897	if c == nil || c.HeadBranch == nil {
1898		return ""
1899	}
1900	return *c.HeadBranch
1901}
1902
1903// GetDescription returns the Description field if it's non-nil, zero value otherwise.
1904func (c *CreateEvent) GetDescription() string {
1905	if c == nil || c.Description == nil {
1906		return ""
1907	}
1908	return *c.Description
1909}
1910
1911// GetInstallation returns the Installation field.
1912func (c *CreateEvent) GetInstallation() *Installation {
1913	if c == nil {
1914		return nil
1915	}
1916	return c.Installation
1917}
1918
1919// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise.
1920func (c *CreateEvent) GetMasterBranch() string {
1921	if c == nil || c.MasterBranch == nil {
1922		return ""
1923	}
1924	return *c.MasterBranch
1925}
1926
1927// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise.
1928func (c *CreateEvent) GetPusherType() string {
1929	if c == nil || c.PusherType == nil {
1930		return ""
1931	}
1932	return *c.PusherType
1933}
1934
1935// GetRef returns the Ref field if it's non-nil, zero value otherwise.
1936func (c *CreateEvent) GetRef() string {
1937	if c == nil || c.Ref == nil {
1938		return ""
1939	}
1940	return *c.Ref
1941}
1942
1943// GetRefType returns the RefType field if it's non-nil, zero value otherwise.
1944func (c *CreateEvent) GetRefType() string {
1945	if c == nil || c.RefType == nil {
1946		return ""
1947	}
1948	return *c.RefType
1949}
1950
1951// GetRepo returns the Repo field.
1952func (c *CreateEvent) GetRepo() *Repository {
1953	if c == nil {
1954		return nil
1955	}
1956	return c.Repo
1957}
1958
1959// GetSender returns the Sender field.
1960func (c *CreateEvent) GetSender() *User {
1961	if c == nil {
1962		return nil
1963	}
1964	return c.Sender
1965}
1966
1967// GetEmail returns the Email field if it's non-nil, zero value otherwise.
1968func (c *CreateOrgInvitationOptions) GetEmail() string {
1969	if c == nil || c.Email == nil {
1970		return ""
1971	}
1972	return *c.Email
1973}
1974
1975// GetInviteeID returns the InviteeID field if it's non-nil, zero value otherwise.
1976func (c *CreateOrgInvitationOptions) GetInviteeID() int64 {
1977	if c == nil || c.InviteeID == nil {
1978		return 0
1979	}
1980	return *c.InviteeID
1981}
1982
1983// GetRole returns the Role field if it's non-nil, zero value otherwise.
1984func (c *CreateOrgInvitationOptions) GetRole() string {
1985	if c == nil || c.Role == nil {
1986		return ""
1987	}
1988	return *c.Role
1989}
1990
1991// GetInstallation returns the Installation field.
1992func (d *DeleteEvent) GetInstallation() *Installation {
1993	if d == nil {
1994		return nil
1995	}
1996	return d.Installation
1997}
1998
1999// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise.
2000func (d *DeleteEvent) GetPusherType() string {
2001	if d == nil || d.PusherType == nil {
2002		return ""
2003	}
2004	return *d.PusherType
2005}
2006
2007// GetRef returns the Ref field if it's non-nil, zero value otherwise.
2008func (d *DeleteEvent) GetRef() string {
2009	if d == nil || d.Ref == nil {
2010		return ""
2011	}
2012	return *d.Ref
2013}
2014
2015// GetRefType returns the RefType field if it's non-nil, zero value otherwise.
2016func (d *DeleteEvent) GetRefType() string {
2017	if d == nil || d.RefType == nil {
2018		return ""
2019	}
2020	return *d.RefType
2021}
2022
2023// GetRepo returns the Repo field.
2024func (d *DeleteEvent) GetRepo() *Repository {
2025	if d == nil {
2026		return nil
2027	}
2028	return d.Repo
2029}
2030
2031// GetSender returns the Sender field.
2032func (d *DeleteEvent) GetSender() *User {
2033	if d == nil {
2034		return nil
2035	}
2036	return d.Sender
2037}
2038
2039// GetAction returns the Action field if it's non-nil, zero value otherwise.
2040func (d *DeployKeyEvent) GetAction() string {
2041	if d == nil || d.Action == nil {
2042		return ""
2043	}
2044	return *d.Action
2045}
2046
2047// GetKey returns the Key field.
2048func (d *DeployKeyEvent) GetKey() *Key {
2049	if d == nil {
2050		return nil
2051	}
2052	return d.Key
2053}
2054
2055// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2056func (d *Deployment) GetCreatedAt() Timestamp {
2057	if d == nil || d.CreatedAt == nil {
2058		return Timestamp{}
2059	}
2060	return *d.CreatedAt
2061}
2062
2063// GetCreator returns the Creator field.
2064func (d *Deployment) GetCreator() *User {
2065	if d == nil {
2066		return nil
2067	}
2068	return d.Creator
2069}
2070
2071// GetDescription returns the Description field if it's non-nil, zero value otherwise.
2072func (d *Deployment) GetDescription() string {
2073	if d == nil || d.Description == nil {
2074		return ""
2075	}
2076	return *d.Description
2077}
2078
2079// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise.
2080func (d *Deployment) GetEnvironment() string {
2081	if d == nil || d.Environment == nil {
2082		return ""
2083	}
2084	return *d.Environment
2085}
2086
2087// GetID returns the ID field if it's non-nil, zero value otherwise.
2088func (d *Deployment) GetID() int64 {
2089	if d == nil || d.ID == nil {
2090		return 0
2091	}
2092	return *d.ID
2093}
2094
2095// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
2096func (d *Deployment) GetNodeID() string {
2097	if d == nil || d.NodeID == nil {
2098		return ""
2099	}
2100	return *d.NodeID
2101}
2102
2103// GetRef returns the Ref field if it's non-nil, zero value otherwise.
2104func (d *Deployment) GetRef() string {
2105	if d == nil || d.Ref == nil {
2106		return ""
2107	}
2108	return *d.Ref
2109}
2110
2111// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
2112func (d *Deployment) GetRepositoryURL() string {
2113	if d == nil || d.RepositoryURL == nil {
2114		return ""
2115	}
2116	return *d.RepositoryURL
2117}
2118
2119// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
2120func (d *Deployment) GetSHA() string {
2121	if d == nil || d.SHA == nil {
2122		return ""
2123	}
2124	return *d.SHA
2125}
2126
2127// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise.
2128func (d *Deployment) GetStatusesURL() string {
2129	if d == nil || d.StatusesURL == nil {
2130		return ""
2131	}
2132	return *d.StatusesURL
2133}
2134
2135// GetTask returns the Task field if it's non-nil, zero value otherwise.
2136func (d *Deployment) GetTask() string {
2137	if d == nil || d.Task == nil {
2138		return ""
2139	}
2140	return *d.Task
2141}
2142
2143// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
2144func (d *Deployment) GetUpdatedAt() Timestamp {
2145	if d == nil || d.UpdatedAt == nil {
2146		return Timestamp{}
2147	}
2148	return *d.UpdatedAt
2149}
2150
2151// GetURL returns the URL field if it's non-nil, zero value otherwise.
2152func (d *Deployment) GetURL() string {
2153	if d == nil || d.URL == nil {
2154		return ""
2155	}
2156	return *d.URL
2157}
2158
2159// GetDeployment returns the Deployment field.
2160func (d *DeploymentEvent) GetDeployment() *Deployment {
2161	if d == nil {
2162		return nil
2163	}
2164	return d.Deployment
2165}
2166
2167// GetInstallation returns the Installation field.
2168func (d *DeploymentEvent) GetInstallation() *Installation {
2169	if d == nil {
2170		return nil
2171	}
2172	return d.Installation
2173}
2174
2175// GetRepo returns the Repo field.
2176func (d *DeploymentEvent) GetRepo() *Repository {
2177	if d == nil {
2178		return nil
2179	}
2180	return d.Repo
2181}
2182
2183// GetSender returns the Sender field.
2184func (d *DeploymentEvent) GetSender() *User {
2185	if d == nil {
2186		return nil
2187	}
2188	return d.Sender
2189}
2190
2191// GetAutoMerge returns the AutoMerge field if it's non-nil, zero value otherwise.
2192func (d *DeploymentRequest) GetAutoMerge() bool {
2193	if d == nil || d.AutoMerge == nil {
2194		return false
2195	}
2196	return *d.AutoMerge
2197}
2198
2199// GetDescription returns the Description field if it's non-nil, zero value otherwise.
2200func (d *DeploymentRequest) GetDescription() string {
2201	if d == nil || d.Description == nil {
2202		return ""
2203	}
2204	return *d.Description
2205}
2206
2207// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise.
2208func (d *DeploymentRequest) GetEnvironment() string {
2209	if d == nil || d.Environment == nil {
2210		return ""
2211	}
2212	return *d.Environment
2213}
2214
2215// GetPayload returns the Payload field if it's non-nil, zero value otherwise.
2216func (d *DeploymentRequest) GetPayload() string {
2217	if d == nil || d.Payload == nil {
2218		return ""
2219	}
2220	return *d.Payload
2221}
2222
2223// GetProductionEnvironment returns the ProductionEnvironment field if it's non-nil, zero value otherwise.
2224func (d *DeploymentRequest) GetProductionEnvironment() bool {
2225	if d == nil || d.ProductionEnvironment == nil {
2226		return false
2227	}
2228	return *d.ProductionEnvironment
2229}
2230
2231// GetRef returns the Ref field if it's non-nil, zero value otherwise.
2232func (d *DeploymentRequest) GetRef() string {
2233	if d == nil || d.Ref == nil {
2234		return ""
2235	}
2236	return *d.Ref
2237}
2238
2239// GetRequiredContexts returns the RequiredContexts field if it's non-nil, zero value otherwise.
2240func (d *DeploymentRequest) GetRequiredContexts() []string {
2241	if d == nil || d.RequiredContexts == nil {
2242		return nil
2243	}
2244	return *d.RequiredContexts
2245}
2246
2247// GetTask returns the Task field if it's non-nil, zero value otherwise.
2248func (d *DeploymentRequest) GetTask() string {
2249	if d == nil || d.Task == nil {
2250		return ""
2251	}
2252	return *d.Task
2253}
2254
2255// GetTransientEnvironment returns the TransientEnvironment field if it's non-nil, zero value otherwise.
2256func (d *DeploymentRequest) GetTransientEnvironment() bool {
2257	if d == nil || d.TransientEnvironment == nil {
2258		return false
2259	}
2260	return *d.TransientEnvironment
2261}
2262
2263// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2264func (d *DeploymentStatus) GetCreatedAt() Timestamp {
2265	if d == nil || d.CreatedAt == nil {
2266		return Timestamp{}
2267	}
2268	return *d.CreatedAt
2269}
2270
2271// GetCreator returns the Creator field.
2272func (d *DeploymentStatus) GetCreator() *User {
2273	if d == nil {
2274		return nil
2275	}
2276	return d.Creator
2277}
2278
2279// GetDeploymentURL returns the DeploymentURL field if it's non-nil, zero value otherwise.
2280func (d *DeploymentStatus) GetDeploymentURL() string {
2281	if d == nil || d.DeploymentURL == nil {
2282		return ""
2283	}
2284	return *d.DeploymentURL
2285}
2286
2287// GetDescription returns the Description field if it's non-nil, zero value otherwise.
2288func (d *DeploymentStatus) GetDescription() string {
2289	if d == nil || d.Description == nil {
2290		return ""
2291	}
2292	return *d.Description
2293}
2294
2295// GetID returns the ID field if it's non-nil, zero value otherwise.
2296func (d *DeploymentStatus) GetID() int64 {
2297	if d == nil || d.ID == nil {
2298		return 0
2299	}
2300	return *d.ID
2301}
2302
2303// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
2304func (d *DeploymentStatus) GetNodeID() string {
2305	if d == nil || d.NodeID == nil {
2306		return ""
2307	}
2308	return *d.NodeID
2309}
2310
2311// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
2312func (d *DeploymentStatus) GetRepositoryURL() string {
2313	if d == nil || d.RepositoryURL == nil {
2314		return ""
2315	}
2316	return *d.RepositoryURL
2317}
2318
2319// GetState returns the State field if it's non-nil, zero value otherwise.
2320func (d *DeploymentStatus) GetState() string {
2321	if d == nil || d.State == nil {
2322		return ""
2323	}
2324	return *d.State
2325}
2326
2327// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise.
2328func (d *DeploymentStatus) GetTargetURL() string {
2329	if d == nil || d.TargetURL == nil {
2330		return ""
2331	}
2332	return *d.TargetURL
2333}
2334
2335// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
2336func (d *DeploymentStatus) GetUpdatedAt() Timestamp {
2337	if d == nil || d.UpdatedAt == nil {
2338		return Timestamp{}
2339	}
2340	return *d.UpdatedAt
2341}
2342
2343// GetDeployment returns the Deployment field.
2344func (d *DeploymentStatusEvent) GetDeployment() *Deployment {
2345	if d == nil {
2346		return nil
2347	}
2348	return d.Deployment
2349}
2350
2351// GetDeploymentStatus returns the DeploymentStatus field.
2352func (d *DeploymentStatusEvent) GetDeploymentStatus() *DeploymentStatus {
2353	if d == nil {
2354		return nil
2355	}
2356	return d.DeploymentStatus
2357}
2358
2359// GetInstallation returns the Installation field.
2360func (d *DeploymentStatusEvent) GetInstallation() *Installation {
2361	if d == nil {
2362		return nil
2363	}
2364	return d.Installation
2365}
2366
2367// GetRepo returns the Repo field.
2368func (d *DeploymentStatusEvent) GetRepo() *Repository {
2369	if d == nil {
2370		return nil
2371	}
2372	return d.Repo
2373}
2374
2375// GetSender returns the Sender field.
2376func (d *DeploymentStatusEvent) GetSender() *User {
2377	if d == nil {
2378		return nil
2379	}
2380	return d.Sender
2381}
2382
2383// GetAutoInactive returns the AutoInactive field if it's non-nil, zero value otherwise.
2384func (d *DeploymentStatusRequest) GetAutoInactive() bool {
2385	if d == nil || d.AutoInactive == nil {
2386		return false
2387	}
2388	return *d.AutoInactive
2389}
2390
2391// GetDescription returns the Description field if it's non-nil, zero value otherwise.
2392func (d *DeploymentStatusRequest) GetDescription() string {
2393	if d == nil || d.Description == nil {
2394		return ""
2395	}
2396	return *d.Description
2397}
2398
2399// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise.
2400func (d *DeploymentStatusRequest) GetEnvironment() string {
2401	if d == nil || d.Environment == nil {
2402		return ""
2403	}
2404	return *d.Environment
2405}
2406
2407// GetEnvironmentURL returns the EnvironmentURL field if it's non-nil, zero value otherwise.
2408func (d *DeploymentStatusRequest) GetEnvironmentURL() string {
2409	if d == nil || d.EnvironmentURL == nil {
2410		return ""
2411	}
2412	return *d.EnvironmentURL
2413}
2414
2415// GetLogURL returns the LogURL field if it's non-nil, zero value otherwise.
2416func (d *DeploymentStatusRequest) GetLogURL() string {
2417	if d == nil || d.LogURL == nil {
2418		return ""
2419	}
2420	return *d.LogURL
2421}
2422
2423// GetState returns the State field if it's non-nil, zero value otherwise.
2424func (d *DeploymentStatusRequest) GetState() string {
2425	if d == nil || d.State == nil {
2426		return ""
2427	}
2428	return *d.State
2429}
2430
2431// GetAuthor returns the Author field.
2432func (d *DiscussionComment) GetAuthor() *User {
2433	if d == nil {
2434		return nil
2435	}
2436	return d.Author
2437}
2438
2439// GetBody returns the Body field if it's non-nil, zero value otherwise.
2440func (d *DiscussionComment) GetBody() string {
2441	if d == nil || d.Body == nil {
2442		return ""
2443	}
2444	return *d.Body
2445}
2446
2447// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise.
2448func (d *DiscussionComment) GetBodyHTML() string {
2449	if d == nil || d.BodyHTML == nil {
2450		return ""
2451	}
2452	return *d.BodyHTML
2453}
2454
2455// GetBodyVersion returns the BodyVersion field if it's non-nil, zero value otherwise.
2456func (d *DiscussionComment) GetBodyVersion() string {
2457	if d == nil || d.BodyVersion == nil {
2458		return ""
2459	}
2460	return *d.BodyVersion
2461}
2462
2463// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2464func (d *DiscussionComment) GetCreatedAt() Timestamp {
2465	if d == nil || d.CreatedAt == nil {
2466		return Timestamp{}
2467	}
2468	return *d.CreatedAt
2469}
2470
2471// GetDiscussionURL returns the DiscussionURL field if it's non-nil, zero value otherwise.
2472func (d *DiscussionComment) GetDiscussionURL() string {
2473	if d == nil || d.DiscussionURL == nil {
2474		return ""
2475	}
2476	return *d.DiscussionURL
2477}
2478
2479// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
2480func (d *DiscussionComment) GetHTMLURL() string {
2481	if d == nil || d.HTMLURL == nil {
2482		return ""
2483	}
2484	return *d.HTMLURL
2485}
2486
2487// GetLastEditedAt returns the LastEditedAt field if it's non-nil, zero value otherwise.
2488func (d *DiscussionComment) GetLastEditedAt() Timestamp {
2489	if d == nil || d.LastEditedAt == nil {
2490		return Timestamp{}
2491	}
2492	return *d.LastEditedAt
2493}
2494
2495// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
2496func (d *DiscussionComment) GetNodeID() string {
2497	if d == nil || d.NodeID == nil {
2498		return ""
2499	}
2500	return *d.NodeID
2501}
2502
2503// GetNumber returns the Number field if it's non-nil, zero value otherwise.
2504func (d *DiscussionComment) GetNumber() int {
2505	if d == nil || d.Number == nil {
2506		return 0
2507	}
2508	return *d.Number
2509}
2510
2511// GetReactions returns the Reactions field.
2512func (d *DiscussionComment) GetReactions() *Reactions {
2513	if d == nil {
2514		return nil
2515	}
2516	return d.Reactions
2517}
2518
2519// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
2520func (d *DiscussionComment) GetUpdatedAt() Timestamp {
2521	if d == nil || d.UpdatedAt == nil {
2522		return Timestamp{}
2523	}
2524	return *d.UpdatedAt
2525}
2526
2527// GetURL returns the URL field if it's non-nil, zero value otherwise.
2528func (d *DiscussionComment) GetURL() string {
2529	if d == nil || d.URL == nil {
2530		return ""
2531	}
2532	return *d.URL
2533}
2534
2535// GetTeams returns the Teams field if it's non-nil, zero value otherwise.
2536func (d *DismissalRestrictionsRequest) GetTeams() []string {
2537	if d == nil || d.Teams == nil {
2538		return nil
2539	}
2540	return *d.Teams
2541}
2542
2543// GetUsers returns the Users field if it's non-nil, zero value otherwise.
2544func (d *DismissalRestrictionsRequest) GetUsers() []string {
2545	if d == nil || d.Users == nil {
2546		return nil
2547	}
2548	return *d.Users
2549}
2550
2551// GetDismissalCommitID returns the DismissalCommitID field if it's non-nil, zero value otherwise.
2552func (d *DismissedReview) GetDismissalCommitID() string {
2553	if d == nil || d.DismissalCommitID == nil {
2554		return ""
2555	}
2556	return *d.DismissalCommitID
2557}
2558
2559// GetDismissalMessage returns the DismissalMessage field if it's non-nil, zero value otherwise.
2560func (d *DismissedReview) GetDismissalMessage() string {
2561	if d == nil || d.DismissalMessage == nil {
2562		return ""
2563	}
2564	return *d.DismissalMessage
2565}
2566
2567// GetReviewID returns the ReviewID field if it's non-nil, zero value otherwise.
2568func (d *DismissedReview) GetReviewID() int64 {
2569	if d == nil || d.ReviewID == nil {
2570		return 0
2571	}
2572	return *d.ReviewID
2573}
2574
2575// GetState returns the State field if it's non-nil, zero value otherwise.
2576func (d *DismissedReview) GetState() string {
2577	if d == nil || d.State == nil {
2578		return ""
2579	}
2580	return *d.State
2581}
2582
2583// GetBody returns the Body field if it's non-nil, zero value otherwise.
2584func (d *DraftReviewComment) GetBody() string {
2585	if d == nil || d.Body == nil {
2586		return ""
2587	}
2588	return *d.Body
2589}
2590
2591// GetPath returns the Path field if it's non-nil, zero value otherwise.
2592func (d *DraftReviewComment) GetPath() string {
2593	if d == nil || d.Path == nil {
2594		return ""
2595	}
2596	return *d.Path
2597}
2598
2599// GetPosition returns the Position field if it's non-nil, zero value otherwise.
2600func (d *DraftReviewComment) GetPosition() int {
2601	if d == nil || d.Position == nil {
2602		return 0
2603	}
2604	return *d.Position
2605}
2606
2607// GetActor returns the Actor field.
2608func (e *Event) GetActor() *User {
2609	if e == nil {
2610		return nil
2611	}
2612	return e.Actor
2613}
2614
2615// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2616func (e *Event) GetCreatedAt() time.Time {
2617	if e == nil || e.CreatedAt == nil {
2618		return time.Time{}
2619	}
2620	return *e.CreatedAt
2621}
2622
2623// GetID returns the ID field if it's non-nil, zero value otherwise.
2624func (e *Event) GetID() string {
2625	if e == nil || e.ID == nil {
2626		return ""
2627	}
2628	return *e.ID
2629}
2630
2631// GetOrg returns the Org field.
2632func (e *Event) GetOrg() *Organization {
2633	if e == nil {
2634		return nil
2635	}
2636	return e.Org
2637}
2638
2639// GetPublic returns the Public field if it's non-nil, zero value otherwise.
2640func (e *Event) GetPublic() bool {
2641	if e == nil || e.Public == nil {
2642		return false
2643	}
2644	return *e.Public
2645}
2646
2647// GetRawPayload returns the RawPayload field if it's non-nil, zero value otherwise.
2648func (e *Event) GetRawPayload() json.RawMessage {
2649	if e == nil || e.RawPayload == nil {
2650		return json.RawMessage{}
2651	}
2652	return *e.RawPayload
2653}
2654
2655// GetRepo returns the Repo field.
2656func (e *Event) GetRepo() *Repository {
2657	if e == nil {
2658		return nil
2659	}
2660	return e.Repo
2661}
2662
2663// GetType returns the Type field if it's non-nil, zero value otherwise.
2664func (e *Event) GetType() string {
2665	if e == nil || e.Type == nil {
2666		return ""
2667	}
2668	return *e.Type
2669}
2670
2671// GetHRef returns the HRef field if it's non-nil, zero value otherwise.
2672func (f *FeedLink) GetHRef() string {
2673	if f == nil || f.HRef == nil {
2674		return ""
2675	}
2676	return *f.HRef
2677}
2678
2679// GetType returns the Type field if it's non-nil, zero value otherwise.
2680func (f *FeedLink) GetType() string {
2681	if f == nil || f.Type == nil {
2682		return ""
2683	}
2684	return *f.Type
2685}
2686
2687// GetCurrentUserActorURL returns the CurrentUserActorURL field if it's non-nil, zero value otherwise.
2688func (f *Feeds) GetCurrentUserActorURL() string {
2689	if f == nil || f.CurrentUserActorURL == nil {
2690		return ""
2691	}
2692	return *f.CurrentUserActorURL
2693}
2694
2695// GetCurrentUserOrganizationURL returns the CurrentUserOrganizationURL field if it's non-nil, zero value otherwise.
2696func (f *Feeds) GetCurrentUserOrganizationURL() string {
2697	if f == nil || f.CurrentUserOrganizationURL == nil {
2698		return ""
2699	}
2700	return *f.CurrentUserOrganizationURL
2701}
2702
2703// GetCurrentUserPublicURL returns the CurrentUserPublicURL field if it's non-nil, zero value otherwise.
2704func (f *Feeds) GetCurrentUserPublicURL() string {
2705	if f == nil || f.CurrentUserPublicURL == nil {
2706		return ""
2707	}
2708	return *f.CurrentUserPublicURL
2709}
2710
2711// GetCurrentUserURL returns the CurrentUserURL field if it's non-nil, zero value otherwise.
2712func (f *Feeds) GetCurrentUserURL() string {
2713	if f == nil || f.CurrentUserURL == nil {
2714		return ""
2715	}
2716	return *f.CurrentUserURL
2717}
2718
2719// GetTimelineURL returns the TimelineURL field if it's non-nil, zero value otherwise.
2720func (f *Feeds) GetTimelineURL() string {
2721	if f == nil || f.TimelineURL == nil {
2722		return ""
2723	}
2724	return *f.TimelineURL
2725}
2726
2727// GetUserURL returns the UserURL field if it's non-nil, zero value otherwise.
2728func (f *Feeds) GetUserURL() string {
2729	if f == nil || f.UserURL == nil {
2730		return ""
2731	}
2732	return *f.UserURL
2733}
2734
2735// GetForkee returns the Forkee field.
2736func (f *ForkEvent) GetForkee() *Repository {
2737	if f == nil {
2738		return nil
2739	}
2740	return f.Forkee
2741}
2742
2743// GetInstallation returns the Installation field.
2744func (f *ForkEvent) GetInstallation() *Installation {
2745	if f == nil {
2746		return nil
2747	}
2748	return f.Installation
2749}
2750
2751// GetRepo returns the Repo field.
2752func (f *ForkEvent) GetRepo() *Repository {
2753	if f == nil {
2754		return nil
2755	}
2756	return f.Repo
2757}
2758
2759// GetSender returns the Sender field.
2760func (f *ForkEvent) GetSender() *User {
2761	if f == nil {
2762		return nil
2763	}
2764	return f.Sender
2765}
2766
2767// GetComments returns the Comments field if it's non-nil, zero value otherwise.
2768func (g *Gist) GetComments() int {
2769	if g == nil || g.Comments == nil {
2770		return 0
2771	}
2772	return *g.Comments
2773}
2774
2775// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2776func (g *Gist) GetCreatedAt() time.Time {
2777	if g == nil || g.CreatedAt == nil {
2778		return time.Time{}
2779	}
2780	return *g.CreatedAt
2781}
2782
2783// GetDescription returns the Description field if it's non-nil, zero value otherwise.
2784func (g *Gist) GetDescription() string {
2785	if g == nil || g.Description == nil {
2786		return ""
2787	}
2788	return *g.Description
2789}
2790
2791// GetGitPullURL returns the GitPullURL field if it's non-nil, zero value otherwise.
2792func (g *Gist) GetGitPullURL() string {
2793	if g == nil || g.GitPullURL == nil {
2794		return ""
2795	}
2796	return *g.GitPullURL
2797}
2798
2799// GetGitPushURL returns the GitPushURL field if it's non-nil, zero value otherwise.
2800func (g *Gist) GetGitPushURL() string {
2801	if g == nil || g.GitPushURL == nil {
2802		return ""
2803	}
2804	return *g.GitPushURL
2805}
2806
2807// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
2808func (g *Gist) GetHTMLURL() string {
2809	if g == nil || g.HTMLURL == nil {
2810		return ""
2811	}
2812	return *g.HTMLURL
2813}
2814
2815// GetID returns the ID field if it's non-nil, zero value otherwise.
2816func (g *Gist) GetID() string {
2817	if g == nil || g.ID == nil {
2818		return ""
2819	}
2820	return *g.ID
2821}
2822
2823// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
2824func (g *Gist) GetNodeID() string {
2825	if g == nil || g.NodeID == nil {
2826		return ""
2827	}
2828	return *g.NodeID
2829}
2830
2831// GetOwner returns the Owner field.
2832func (g *Gist) GetOwner() *User {
2833	if g == nil {
2834		return nil
2835	}
2836	return g.Owner
2837}
2838
2839// GetPublic returns the Public field if it's non-nil, zero value otherwise.
2840func (g *Gist) GetPublic() bool {
2841	if g == nil || g.Public == nil {
2842		return false
2843	}
2844	return *g.Public
2845}
2846
2847// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
2848func (g *Gist) GetUpdatedAt() time.Time {
2849	if g == nil || g.UpdatedAt == nil {
2850		return time.Time{}
2851	}
2852	return *g.UpdatedAt
2853}
2854
2855// GetBody returns the Body field if it's non-nil, zero value otherwise.
2856func (g *GistComment) GetBody() string {
2857	if g == nil || g.Body == nil {
2858		return ""
2859	}
2860	return *g.Body
2861}
2862
2863// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2864func (g *GistComment) GetCreatedAt() time.Time {
2865	if g == nil || g.CreatedAt == nil {
2866		return time.Time{}
2867	}
2868	return *g.CreatedAt
2869}
2870
2871// GetID returns the ID field if it's non-nil, zero value otherwise.
2872func (g *GistComment) GetID() int64 {
2873	if g == nil || g.ID == nil {
2874		return 0
2875	}
2876	return *g.ID
2877}
2878
2879// GetURL returns the URL field if it's non-nil, zero value otherwise.
2880func (g *GistComment) GetURL() string {
2881	if g == nil || g.URL == nil {
2882		return ""
2883	}
2884	return *g.URL
2885}
2886
2887// GetUser returns the User field.
2888func (g *GistComment) GetUser() *User {
2889	if g == nil {
2890		return nil
2891	}
2892	return g.User
2893}
2894
2895// GetChangeStatus returns the ChangeStatus field.
2896func (g *GistCommit) GetChangeStatus() *CommitStats {
2897	if g == nil {
2898		return nil
2899	}
2900	return g.ChangeStatus
2901}
2902
2903// GetCommittedAt returns the CommittedAt field if it's non-nil, zero value otherwise.
2904func (g *GistCommit) GetCommittedAt() Timestamp {
2905	if g == nil || g.CommittedAt == nil {
2906		return Timestamp{}
2907	}
2908	return *g.CommittedAt
2909}
2910
2911// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
2912func (g *GistCommit) GetNodeID() string {
2913	if g == nil || g.NodeID == nil {
2914		return ""
2915	}
2916	return *g.NodeID
2917}
2918
2919// GetURL returns the URL field if it's non-nil, zero value otherwise.
2920func (g *GistCommit) GetURL() string {
2921	if g == nil || g.URL == nil {
2922		return ""
2923	}
2924	return *g.URL
2925}
2926
2927// GetUser returns the User field.
2928func (g *GistCommit) GetUser() *User {
2929	if g == nil {
2930		return nil
2931	}
2932	return g.User
2933}
2934
2935// GetVersion returns the Version field if it's non-nil, zero value otherwise.
2936func (g *GistCommit) GetVersion() string {
2937	if g == nil || g.Version == nil {
2938		return ""
2939	}
2940	return *g.Version
2941}
2942
2943// GetContent returns the Content field if it's non-nil, zero value otherwise.
2944func (g *GistFile) GetContent() string {
2945	if g == nil || g.Content == nil {
2946		return ""
2947	}
2948	return *g.Content
2949}
2950
2951// GetFilename returns the Filename field if it's non-nil, zero value otherwise.
2952func (g *GistFile) GetFilename() string {
2953	if g == nil || g.Filename == nil {
2954		return ""
2955	}
2956	return *g.Filename
2957}
2958
2959// GetLanguage returns the Language field if it's non-nil, zero value otherwise.
2960func (g *GistFile) GetLanguage() string {
2961	if g == nil || g.Language == nil {
2962		return ""
2963	}
2964	return *g.Language
2965}
2966
2967// GetRawURL returns the RawURL field if it's non-nil, zero value otherwise.
2968func (g *GistFile) GetRawURL() string {
2969	if g == nil || g.RawURL == nil {
2970		return ""
2971	}
2972	return *g.RawURL
2973}
2974
2975// GetSize returns the Size field if it's non-nil, zero value otherwise.
2976func (g *GistFile) GetSize() int {
2977	if g == nil || g.Size == nil {
2978		return 0
2979	}
2980	return *g.Size
2981}
2982
2983// GetType returns the Type field if it's non-nil, zero value otherwise.
2984func (g *GistFile) GetType() string {
2985	if g == nil || g.Type == nil {
2986		return ""
2987	}
2988	return *g.Type
2989}
2990
2991// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2992func (g *GistFork) GetCreatedAt() Timestamp {
2993	if g == nil || g.CreatedAt == nil {
2994		return Timestamp{}
2995	}
2996	return *g.CreatedAt
2997}
2998
2999// GetID returns the ID field if it's non-nil, zero value otherwise.
3000func (g *GistFork) GetID() string {
3001	if g == nil || g.ID == nil {
3002		return ""
3003	}
3004	return *g.ID
3005}
3006
3007// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
3008func (g *GistFork) GetNodeID() string {
3009	if g == nil || g.NodeID == nil {
3010		return ""
3011	}
3012	return *g.NodeID
3013}
3014
3015// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
3016func (g *GistFork) GetUpdatedAt() Timestamp {
3017	if g == nil || g.UpdatedAt == nil {
3018		return Timestamp{}
3019	}
3020	return *g.UpdatedAt
3021}
3022
3023// GetURL returns the URL field if it's non-nil, zero value otherwise.
3024func (g *GistFork) GetURL() string {
3025	if g == nil || g.URL == nil {
3026		return ""
3027	}
3028	return *g.URL
3029}
3030
3031// GetUser returns the User field.
3032func (g *GistFork) GetUser() *User {
3033	if g == nil {
3034		return nil
3035	}
3036	return g.User
3037}
3038
3039// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise.
3040func (g *GistStats) GetPrivateGists() int {
3041	if g == nil || g.PrivateGists == nil {
3042		return 0
3043	}
3044	return *g.PrivateGists
3045}
3046
3047// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise.
3048func (g *GistStats) GetPublicGists() int {
3049	if g == nil || g.PublicGists == nil {
3050		return 0
3051	}
3052	return *g.PublicGists
3053}
3054
3055// GetTotalGists returns the TotalGists field if it's non-nil, zero value otherwise.
3056func (g *GistStats) GetTotalGists() int {
3057	if g == nil || g.TotalGists == nil {
3058		return 0
3059	}
3060	return *g.TotalGists
3061}
3062
3063// GetAction returns the Action field if it's non-nil, zero value otherwise.
3064func (g *GitHubAppAuthorizationEvent) GetAction() string {
3065	if g == nil || g.Action == nil {
3066		return ""
3067	}
3068	return *g.Action
3069}
3070
3071// GetSender returns the Sender field.
3072func (g *GitHubAppAuthorizationEvent) GetSender() *User {
3073	if g == nil {
3074		return nil
3075	}
3076	return g.Sender
3077}
3078
3079// GetName returns the Name field if it's non-nil, zero value otherwise.
3080func (g *Gitignore) GetName() string {
3081	if g == nil || g.Name == nil {
3082		return ""
3083	}
3084	return *g.Name
3085}
3086
3087// GetSource returns the Source field if it's non-nil, zero value otherwise.
3088func (g *Gitignore) GetSource() string {
3089	if g == nil || g.Source == nil {
3090		return ""
3091	}
3092	return *g.Source
3093}
3094
3095// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
3096func (g *GitObject) GetSHA() string {
3097	if g == nil || g.SHA == nil {
3098		return ""
3099	}
3100	return *g.SHA
3101}
3102
3103// GetType returns the Type field if it's non-nil, zero value otherwise.
3104func (g *GitObject) GetType() string {
3105	if g == nil || g.Type == nil {
3106		return ""
3107	}
3108	return *g.Type
3109}
3110
3111// GetURL returns the URL field if it's non-nil, zero value otherwise.
3112func (g *GitObject) GetURL() string {
3113	if g == nil || g.URL == nil {
3114		return ""
3115	}
3116	return *g.URL
3117}
3118
3119// GetInstallation returns the Installation field.
3120func (g *GollumEvent) GetInstallation() *Installation {
3121	if g == nil {
3122		return nil
3123	}
3124	return g.Installation
3125}
3126
3127// GetRepo returns the Repo field.
3128func (g *GollumEvent) GetRepo() *Repository {
3129	if g == nil {
3130		return nil
3131	}
3132	return g.Repo
3133}
3134
3135// GetSender returns the Sender field.
3136func (g *GollumEvent) GetSender() *User {
3137	if g == nil {
3138		return nil
3139	}
3140	return g.Sender
3141}
3142
3143// GetEmail returns the Email field if it's non-nil, zero value otherwise.
3144func (g *GPGEmail) GetEmail() string {
3145	if g == nil || g.Email == nil {
3146		return ""
3147	}
3148	return *g.Email
3149}
3150
3151// GetVerified returns the Verified field if it's non-nil, zero value otherwise.
3152func (g *GPGEmail) GetVerified() bool {
3153	if g == nil || g.Verified == nil {
3154		return false
3155	}
3156	return *g.Verified
3157}
3158
3159// GetCanCertify returns the CanCertify field if it's non-nil, zero value otherwise.
3160func (g *GPGKey) GetCanCertify() bool {
3161	if g == nil || g.CanCertify == nil {
3162		return false
3163	}
3164	return *g.CanCertify
3165}
3166
3167// GetCanEncryptComms returns the CanEncryptComms field if it's non-nil, zero value otherwise.
3168func (g *GPGKey) GetCanEncryptComms() bool {
3169	if g == nil || g.CanEncryptComms == nil {
3170		return false
3171	}
3172	return *g.CanEncryptComms
3173}
3174
3175// GetCanEncryptStorage returns the CanEncryptStorage field if it's non-nil, zero value otherwise.
3176func (g *GPGKey) GetCanEncryptStorage() bool {
3177	if g == nil || g.CanEncryptStorage == nil {
3178		return false
3179	}
3180	return *g.CanEncryptStorage
3181}
3182
3183// GetCanSign returns the CanSign field if it's non-nil, zero value otherwise.
3184func (g *GPGKey) GetCanSign() bool {
3185	if g == nil || g.CanSign == nil {
3186		return false
3187	}
3188	return *g.CanSign
3189}
3190
3191// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
3192func (g *GPGKey) GetCreatedAt() time.Time {
3193	if g == nil || g.CreatedAt == nil {
3194		return time.Time{}
3195	}
3196	return *g.CreatedAt
3197}
3198
3199// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise.
3200func (g *GPGKey) GetExpiresAt() time.Time {
3201	if g == nil || g.ExpiresAt == nil {
3202		return time.Time{}
3203	}
3204	return *g.ExpiresAt
3205}
3206
3207// GetID returns the ID field if it's non-nil, zero value otherwise.
3208func (g *GPGKey) GetID() int64 {
3209	if g == nil || g.ID == nil {
3210		return 0
3211	}
3212	return *g.ID
3213}
3214
3215// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise.
3216func (g *GPGKey) GetKeyID() string {
3217	if g == nil || g.KeyID == nil {
3218		return ""
3219	}
3220	return *g.KeyID
3221}
3222
3223// GetPrimaryKeyID returns the PrimaryKeyID field if it's non-nil, zero value otherwise.
3224func (g *GPGKey) GetPrimaryKeyID() int64 {
3225	if g == nil || g.PrimaryKeyID == nil {
3226		return 0
3227	}
3228	return *g.PrimaryKeyID
3229}
3230
3231// GetPublicKey returns the PublicKey field if it's non-nil, zero value otherwise.
3232func (g *GPGKey) GetPublicKey() string {
3233	if g == nil || g.PublicKey == nil {
3234		return ""
3235	}
3236	return *g.PublicKey
3237}
3238
3239// GetApp returns the App field.
3240func (g *Grant) GetApp() *AuthorizationApp {
3241	if g == nil {
3242		return nil
3243	}
3244	return g.App
3245}
3246
3247// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
3248func (g *Grant) GetCreatedAt() Timestamp {
3249	if g == nil || g.CreatedAt == nil {
3250		return Timestamp{}
3251	}
3252	return *g.CreatedAt
3253}
3254
3255// GetID returns the ID field if it's non-nil, zero value otherwise.
3256func (g *Grant) GetID() int64 {
3257	if g == nil || g.ID == nil {
3258		return 0
3259	}
3260	return *g.ID
3261}
3262
3263// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
3264func (g *Grant) GetUpdatedAt() Timestamp {
3265	if g == nil || g.UpdatedAt == nil {
3266		return Timestamp{}
3267	}
3268	return *g.UpdatedAt
3269}
3270
3271// GetURL returns the URL field if it's non-nil, zero value otherwise.
3272func (g *Grant) GetURL() string {
3273	if g == nil || g.URL == nil {
3274		return ""
3275	}
3276	return *g.URL
3277}
3278
3279// GetActive returns the Active field if it's non-nil, zero value otherwise.
3280func (h *Hook) GetActive() bool {
3281	if h == nil || h.Active == nil {
3282		return false
3283	}
3284	return *h.Active
3285}
3286
3287// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
3288func (h *Hook) GetCreatedAt() time.Time {
3289	if h == nil || h.CreatedAt == nil {
3290		return time.Time{}
3291	}
3292	return *h.CreatedAt
3293}
3294
3295// GetID returns the ID field if it's non-nil, zero value otherwise.
3296func (h *Hook) GetID() int64 {
3297	if h == nil || h.ID == nil {
3298		return 0
3299	}
3300	return *h.ID
3301}
3302
3303// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
3304func (h *Hook) GetUpdatedAt() time.Time {
3305	if h == nil || h.UpdatedAt == nil {
3306		return time.Time{}
3307	}
3308	return *h.UpdatedAt
3309}
3310
3311// GetURL returns the URL field if it's non-nil, zero value otherwise.
3312func (h *Hook) GetURL() string {
3313	if h == nil || h.URL == nil {
3314		return ""
3315	}
3316	return *h.URL
3317}
3318
3319// GetActiveHooks returns the ActiveHooks field if it's non-nil, zero value otherwise.
3320func (h *HookStats) GetActiveHooks() int {
3321	if h == nil || h.ActiveHooks == nil {
3322		return 0
3323	}
3324	return *h.ActiveHooks
3325}
3326
3327// GetInactiveHooks returns the InactiveHooks field if it's non-nil, zero value otherwise.
3328func (h *HookStats) GetInactiveHooks() int {
3329	if h == nil || h.InactiveHooks == nil {
3330		return 0
3331	}
3332	return *h.InactiveHooks
3333}
3334
3335// GetTotalHooks returns the TotalHooks field if it's non-nil, zero value otherwise.
3336func (h *HookStats) GetTotalHooks() int {
3337	if h == nil || h.TotalHooks == nil {
3338		return 0
3339	}
3340	return *h.TotalHooks
3341}
3342
3343// GetGroupDescription returns the GroupDescription field if it's non-nil, zero value otherwise.
3344func (i *IDPGroup) GetGroupDescription() string {
3345	if i == nil || i.GroupDescription == nil {
3346		return ""
3347	}
3348	return *i.GroupDescription
3349}
3350
3351// GetGroupID returns the GroupID field if it's non-nil, zero value otherwise.
3352func (i *IDPGroup) GetGroupID() string {
3353	if i == nil || i.GroupID == nil {
3354		return ""
3355	}
3356	return *i.GroupID
3357}
3358
3359// GetGroupName returns the GroupName field if it's non-nil, zero value otherwise.
3360func (i *IDPGroup) GetGroupName() string {
3361	if i == nil || i.GroupName == nil {
3362		return ""
3363	}
3364	return *i.GroupName
3365}
3366
3367// GetAuthorsCount returns the AuthorsCount field if it's non-nil, zero value otherwise.
3368func (i *Import) GetAuthorsCount() int {
3369	if i == nil || i.AuthorsCount == nil {
3370		return 0
3371	}
3372	return *i.AuthorsCount
3373}
3374
3375// GetAuthorsURL returns the AuthorsURL field if it's non-nil, zero value otherwise.
3376func (i *Import) GetAuthorsURL() string {
3377	if i == nil || i.AuthorsURL == nil {
3378		return ""
3379	}
3380	return *i.AuthorsURL
3381}
3382
3383// GetCommitCount returns the CommitCount field if it's non-nil, zero value otherwise.
3384func (i *Import) GetCommitCount() int {
3385	if i == nil || i.CommitCount == nil {
3386		return 0
3387	}
3388	return *i.CommitCount
3389}
3390
3391// GetFailedStep returns the FailedStep field if it's non-nil, zero value otherwise.
3392func (i *Import) GetFailedStep() string {
3393	if i == nil || i.FailedStep == nil {
3394		return ""
3395	}
3396	return *i.FailedStep
3397}
3398
3399// GetHasLargeFiles returns the HasLargeFiles field if it's non-nil, zero value otherwise.
3400func (i *Import) GetHasLargeFiles() bool {
3401	if i == nil || i.HasLargeFiles == nil {
3402		return false
3403	}
3404	return *i.HasLargeFiles
3405}
3406
3407// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
3408func (i *Import) GetHTMLURL() string {
3409	if i == nil || i.HTMLURL == nil {
3410		return ""
3411	}
3412	return *i.HTMLURL
3413}
3414
3415// GetHumanName returns the HumanName field if it's non-nil, zero value otherwise.
3416func (i *Import) GetHumanName() string {
3417	if i == nil || i.HumanName == nil {
3418		return ""
3419	}
3420	return *i.HumanName
3421}
3422
3423// GetLargeFilesCount returns the LargeFilesCount field if it's non-nil, zero value otherwise.
3424func (i *Import) GetLargeFilesCount() int {
3425	if i == nil || i.LargeFilesCount == nil {
3426		return 0
3427	}
3428	return *i.LargeFilesCount
3429}
3430
3431// GetLargeFilesSize returns the LargeFilesSize field if it's non-nil, zero value otherwise.
3432func (i *Import) GetLargeFilesSize() int {
3433	if i == nil || i.LargeFilesSize == nil {
3434		return 0
3435	}
3436	return *i.LargeFilesSize
3437}
3438
3439// GetMessage returns the Message field if it's non-nil, zero value otherwise.
3440func (i *Import) GetMessage() string {
3441	if i == nil || i.Message == nil {
3442		return ""
3443	}
3444	return *i.Message
3445}
3446
3447// GetPercent returns the Percent field if it's non-nil, zero value otherwise.
3448func (i *Import) GetPercent() int {
3449	if i == nil || i.Percent == nil {
3450		return 0
3451	}
3452	return *i.Percent
3453}
3454
3455// GetPushPercent returns the PushPercent field if it's non-nil, zero value otherwise.
3456func (i *Import) GetPushPercent() int {
3457	if i == nil || i.PushPercent == nil {
3458		return 0
3459	}
3460	return *i.PushPercent
3461}
3462
3463// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
3464func (i *Import) GetRepositoryURL() string {
3465	if i == nil || i.RepositoryURL == nil {
3466		return ""
3467	}
3468	return *i.RepositoryURL
3469}
3470
3471// GetStatus returns the Status field if it's non-nil, zero value otherwise.
3472func (i *Import) GetStatus() string {
3473	if i == nil || i.Status == nil {
3474		return ""
3475	}
3476	return *i.Status
3477}
3478
3479// GetStatusText returns the StatusText field if it's non-nil, zero value otherwise.
3480func (i *Import) GetStatusText() string {
3481	if i == nil || i.StatusText == nil {
3482		return ""
3483	}
3484	return *i.StatusText
3485}
3486
3487// GetTFVCProject returns the TFVCProject field if it's non-nil, zero value otherwise.
3488func (i *Import) GetTFVCProject() string {
3489	if i == nil || i.TFVCProject == nil {
3490		return ""
3491	}
3492	return *i.TFVCProject
3493}
3494
3495// GetURL returns the URL field if it's non-nil, zero value otherwise.
3496func (i *Import) GetURL() string {
3497	if i == nil || i.URL == nil {
3498		return ""
3499	}
3500	return *i.URL
3501}
3502
3503// GetUseLFS returns the UseLFS field if it's non-nil, zero value otherwise.
3504func (i *Import) GetUseLFS() string {
3505	if i == nil || i.UseLFS == nil {
3506		return ""
3507	}
3508	return *i.UseLFS
3509}
3510
3511// GetVCS returns the VCS field if it's non-nil, zero value otherwise.
3512func (i *Import) GetVCS() string {
3513	if i == nil || i.VCS == nil {
3514		return ""
3515	}
3516	return *i.VCS
3517}
3518
3519// GetVCSPassword returns the VCSPassword field if it's non-nil, zero value otherwise.
3520func (i *Import) GetVCSPassword() string {
3521	if i == nil || i.VCSPassword == nil {
3522		return ""
3523	}
3524	return *i.VCSPassword
3525}
3526
3527// GetVCSURL returns the VCSURL field if it's non-nil, zero value otherwise.
3528func (i *Import) GetVCSURL() string {
3529	if i == nil || i.VCSURL == nil {
3530		return ""
3531	}
3532	return *i.VCSURL
3533}
3534
3535// GetVCSUsername returns the VCSUsername field if it's non-nil, zero value otherwise.
3536func (i *Import) GetVCSUsername() string {
3537	if i == nil || i.VCSUsername == nil {
3538		return ""
3539	}
3540	return *i.VCSUsername
3541}
3542
3543// GetAccessTokensURL returns the AccessTokensURL field if it's non-nil, zero value otherwise.
3544func (i *Installation) GetAccessTokensURL() string {
3545	if i == nil || i.AccessTokensURL == nil {
3546		return ""
3547	}
3548	return *i.AccessTokensURL
3549}
3550
3551// GetAccount returns the Account field.
3552func (i *Installation) GetAccount() *User {
3553	if i == nil {
3554		return nil
3555	}
3556	return i.Account
3557}
3558
3559// GetAppID returns the AppID field if it's non-nil, zero value otherwise.
3560func (i *Installation) GetAppID() int64 {
3561	if i == nil || i.AppID == nil {
3562		return 0
3563	}
3564	return *i.AppID
3565}
3566
3567// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
3568func (i *Installation) GetCreatedAt() Timestamp {
3569	if i == nil || i.CreatedAt == nil {
3570		return Timestamp{}
3571	}
3572	return *i.CreatedAt
3573}
3574
3575// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
3576func (i *Installation) GetHTMLURL() string {
3577	if i == nil || i.HTMLURL == nil {
3578		return ""
3579	}
3580	return *i.HTMLURL
3581}
3582
3583// GetID returns the ID field if it's non-nil, zero value otherwise.
3584func (i *Installation) GetID() int64 {
3585	if i == nil || i.ID == nil {
3586		return 0
3587	}
3588	return *i.ID
3589}
3590
3591// GetPermissions returns the Permissions field.
3592func (i *Installation) GetPermissions() *InstallationPermissions {
3593	if i == nil {
3594		return nil
3595	}
3596	return i.Permissions
3597}
3598
3599// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise.
3600func (i *Installation) GetRepositoriesURL() string {
3601	if i == nil || i.RepositoriesURL == nil {
3602		return ""
3603	}
3604	return *i.RepositoriesURL
3605}
3606
3607// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise.
3608func (i *Installation) GetRepositorySelection() string {
3609	if i == nil || i.RepositorySelection == nil {
3610		return ""
3611	}
3612	return *i.RepositorySelection
3613}
3614
3615// GetSingleFileName returns the SingleFileName field if it's non-nil, zero value otherwise.
3616func (i *Installation) GetSingleFileName() string {
3617	if i == nil || i.SingleFileName == nil {
3618		return ""
3619	}
3620	return *i.SingleFileName
3621}
3622
3623// GetTargetID returns the TargetID field if it's non-nil, zero value otherwise.
3624func (i *Installation) GetTargetID() int64 {
3625	if i == nil || i.TargetID == nil {
3626		return 0
3627	}
3628	return *i.TargetID
3629}
3630
3631// GetTargetType returns the TargetType field if it's non-nil, zero value otherwise.
3632func (i *Installation) GetTargetType() string {
3633	if i == nil || i.TargetType == nil {
3634		return ""
3635	}
3636	return *i.TargetType
3637}
3638
3639// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
3640func (i *Installation) GetUpdatedAt() Timestamp {
3641	if i == nil || i.UpdatedAt == nil {
3642		return Timestamp{}
3643	}
3644	return *i.UpdatedAt
3645}
3646
3647// GetAction returns the Action field if it's non-nil, zero value otherwise.
3648func (i *InstallationEvent) GetAction() string {
3649	if i == nil || i.Action == nil {
3650		return ""
3651	}
3652	return *i.Action
3653}
3654
3655// GetInstallation returns the Installation field.
3656func (i *InstallationEvent) GetInstallation() *Installation {
3657	if i == nil {
3658		return nil
3659	}
3660	return i.Installation
3661}
3662
3663// GetSender returns the Sender field.
3664func (i *InstallationEvent) GetSender() *User {
3665	if i == nil {
3666		return nil
3667	}
3668	return i.Sender
3669}
3670
3671// GetAdministration returns the Administration field if it's non-nil, zero value otherwise.
3672func (i *InstallationPermissions) GetAdministration() string {
3673	if i == nil || i.Administration == nil {
3674		return ""
3675	}
3676	return *i.Administration
3677}
3678
3679// GetChecks returns the Checks field if it's non-nil, zero value otherwise.
3680func (i *InstallationPermissions) GetChecks() string {
3681	if i == nil || i.Checks == nil {
3682		return ""
3683	}
3684	return *i.Checks
3685}
3686
3687// GetContentReferences returns the ContentReferences field if it's non-nil, zero value otherwise.
3688func (i *InstallationPermissions) GetContentReferences() string {
3689	if i == nil || i.ContentReferences == nil {
3690		return ""
3691	}
3692	return *i.ContentReferences
3693}
3694
3695// GetContents returns the Contents field if it's non-nil, zero value otherwise.
3696func (i *InstallationPermissions) GetContents() string {
3697	if i == nil || i.Contents == nil {
3698		return ""
3699	}
3700	return *i.Contents
3701}
3702
3703// GetDeployments returns the Deployments field if it's non-nil, zero value otherwise.
3704func (i *InstallationPermissions) GetDeployments() string {
3705	if i == nil || i.Deployments == nil {
3706		return ""
3707	}
3708	return *i.Deployments
3709}
3710
3711// GetIssues returns the Issues field if it's non-nil, zero value otherwise.
3712func (i *InstallationPermissions) GetIssues() string {
3713	if i == nil || i.Issues == nil {
3714		return ""
3715	}
3716	return *i.Issues
3717}
3718
3719// GetMembers returns the Members field if it's non-nil, zero value otherwise.
3720func (i *InstallationPermissions) GetMembers() string {
3721	if i == nil || i.Members == nil {
3722		return ""
3723	}
3724	return *i.Members
3725}
3726
3727// GetMetadata returns the Metadata field if it's non-nil, zero value otherwise.
3728func (i *InstallationPermissions) GetMetadata() string {
3729	if i == nil || i.Metadata == nil {
3730		return ""
3731	}
3732	return *i.Metadata
3733}
3734
3735// GetOrganizationAdministration returns the OrganizationAdministration field if it's non-nil, zero value otherwise.
3736func (i *InstallationPermissions) GetOrganizationAdministration() string {
3737	if i == nil || i.OrganizationAdministration == nil {
3738		return ""
3739	}
3740	return *i.OrganizationAdministration
3741}
3742
3743// GetOrganizationHooks returns the OrganizationHooks field if it's non-nil, zero value otherwise.
3744func (i *InstallationPermissions) GetOrganizationHooks() string {
3745	if i == nil || i.OrganizationHooks == nil {
3746		return ""
3747	}
3748	return *i.OrganizationHooks
3749}
3750
3751// GetOrganizationPlan returns the OrganizationPlan field if it's non-nil, zero value otherwise.
3752func (i *InstallationPermissions) GetOrganizationPlan() string {
3753	if i == nil || i.OrganizationPlan == nil {
3754		return ""
3755	}
3756	return *i.OrganizationPlan
3757}
3758
3759// GetOrganizationPreReceiveHooks returns the OrganizationPreReceiveHooks field if it's non-nil, zero value otherwise.
3760func (i *InstallationPermissions) GetOrganizationPreReceiveHooks() string {
3761	if i == nil || i.OrganizationPreReceiveHooks == nil {
3762		return ""
3763	}
3764	return *i.OrganizationPreReceiveHooks
3765}
3766
3767// GetOrganizationProjects returns the OrganizationProjects field if it's non-nil, zero value otherwise.
3768func (i *InstallationPermissions) GetOrganizationProjects() string {
3769	if i == nil || i.OrganizationProjects == nil {
3770		return ""
3771	}
3772	return *i.OrganizationProjects
3773}
3774
3775// GetOrganizationUserBlocking returns the OrganizationUserBlocking field if it's non-nil, zero value otherwise.
3776func (i *InstallationPermissions) GetOrganizationUserBlocking() string {
3777	if i == nil || i.OrganizationUserBlocking == nil {
3778		return ""
3779	}
3780	return *i.OrganizationUserBlocking
3781}
3782
3783// GetPackages returns the Packages field if it's non-nil, zero value otherwise.
3784func (i *InstallationPermissions) GetPackages() string {
3785	if i == nil || i.Packages == nil {
3786		return ""
3787	}
3788	return *i.Packages
3789}
3790
3791// GetPages returns the Pages field if it's non-nil, zero value otherwise.
3792func (i *InstallationPermissions) GetPages() string {
3793	if i == nil || i.Pages == nil {
3794		return ""
3795	}
3796	return *i.Pages
3797}
3798
3799// GetPullRequests returns the PullRequests field if it's non-nil, zero value otherwise.
3800func (i *InstallationPermissions) GetPullRequests() string {
3801	if i == nil || i.PullRequests == nil {
3802		return ""
3803	}
3804	return *i.PullRequests
3805}
3806
3807// GetRepositoryHooks returns the RepositoryHooks field if it's non-nil, zero value otherwise.
3808func (i *InstallationPermissions) GetRepositoryHooks() string {
3809	if i == nil || i.RepositoryHooks == nil {
3810		return ""
3811	}
3812	return *i.RepositoryHooks
3813}
3814
3815// GetRepositoryPreReceiveHooks returns the RepositoryPreReceiveHooks field if it's non-nil, zero value otherwise.
3816func (i *InstallationPermissions) GetRepositoryPreReceiveHooks() string {
3817	if i == nil || i.RepositoryPreReceiveHooks == nil {
3818		return ""
3819	}
3820	return *i.RepositoryPreReceiveHooks
3821}
3822
3823// GetRepositoryProjects returns the RepositoryProjects field if it's non-nil, zero value otherwise.
3824func (i *InstallationPermissions) GetRepositoryProjects() string {
3825	if i == nil || i.RepositoryProjects == nil {
3826		return ""
3827	}
3828	return *i.RepositoryProjects
3829}
3830
3831// GetSingleFile returns the SingleFile field if it's non-nil, zero value otherwise.
3832func (i *InstallationPermissions) GetSingleFile() string {
3833	if i == nil || i.SingleFile == nil {
3834		return ""
3835	}
3836	return *i.SingleFile
3837}
3838
3839// GetStatuses returns the Statuses field if it's non-nil, zero value otherwise.
3840func (i *InstallationPermissions) GetStatuses() string {
3841	if i == nil || i.Statuses == nil {
3842		return ""
3843	}
3844	return *i.Statuses
3845}
3846
3847// GetTeamDiscussions returns the TeamDiscussions field if it's non-nil, zero value otherwise.
3848func (i *InstallationPermissions) GetTeamDiscussions() string {
3849	if i == nil || i.TeamDiscussions == nil {
3850		return ""
3851	}
3852	return *i.TeamDiscussions
3853}
3854
3855// GetVulnerabilityAlerts returns the VulnerabilityAlerts field if it's non-nil, zero value otherwise.
3856func (i *InstallationPermissions) GetVulnerabilityAlerts() string {
3857	if i == nil || i.VulnerabilityAlerts == nil {
3858		return ""
3859	}
3860	return *i.VulnerabilityAlerts
3861}
3862
3863// GetAction returns the Action field if it's non-nil, zero value otherwise.
3864func (i *InstallationRepositoriesEvent) GetAction() string {
3865	if i == nil || i.Action == nil {
3866		return ""
3867	}
3868	return *i.Action
3869}
3870
3871// GetInstallation returns the Installation field.
3872func (i *InstallationRepositoriesEvent) GetInstallation() *Installation {
3873	if i == nil {
3874		return nil
3875	}
3876	return i.Installation
3877}
3878
3879// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise.
3880func (i *InstallationRepositoriesEvent) GetRepositorySelection() string {
3881	if i == nil || i.RepositorySelection == nil {
3882		return ""
3883	}
3884	return *i.RepositorySelection
3885}
3886
3887// GetSender returns the Sender field.
3888func (i *InstallationRepositoriesEvent) GetSender() *User {
3889	if i == nil {
3890		return nil
3891	}
3892	return i.Sender
3893}
3894
3895// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise.
3896func (i *InstallationToken) GetExpiresAt() time.Time {
3897	if i == nil || i.ExpiresAt == nil {
3898		return time.Time{}
3899	}
3900	return *i.ExpiresAt
3901}
3902
3903// GetPermissions returns the Permissions field.
3904func (i *InstallationToken) GetPermissions() *InstallationPermissions {
3905	if i == nil {
3906		return nil
3907	}
3908	return i.Permissions
3909}
3910
3911// GetToken returns the Token field if it's non-nil, zero value otherwise.
3912func (i *InstallationToken) GetToken() string {
3913	if i == nil || i.Token == nil {
3914		return ""
3915	}
3916	return *i.Token
3917}
3918
3919// GetPermissions returns the Permissions field.
3920func (i *InstallationTokenOptions) GetPermissions() *InstallationPermissions {
3921	if i == nil {
3922		return nil
3923	}
3924	return i.Permissions
3925}
3926
3927// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise.
3928func (i *InteractionRestriction) GetExpiresAt() Timestamp {
3929	if i == nil || i.ExpiresAt == nil {
3930		return Timestamp{}
3931	}
3932	return *i.ExpiresAt
3933}
3934
3935// GetLimit returns the Limit field if it's non-nil, zero value otherwise.
3936func (i *InteractionRestriction) GetLimit() string {
3937	if i == nil || i.Limit == nil {
3938		return ""
3939	}
3940	return *i.Limit
3941}
3942
3943// GetOrigin returns the Origin field if it's non-nil, zero value otherwise.
3944func (i *InteractionRestriction) GetOrigin() string {
3945	if i == nil || i.Origin == nil {
3946		return ""
3947	}
3948	return *i.Origin
3949}
3950
3951// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
3952func (i *Invitation) GetCreatedAt() time.Time {
3953	if i == nil || i.CreatedAt == nil {
3954		return time.Time{}
3955	}
3956	return *i.CreatedAt
3957}
3958
3959// GetEmail returns the Email field if it's non-nil, zero value otherwise.
3960func (i *Invitation) GetEmail() string {
3961	if i == nil || i.Email == nil {
3962		return ""
3963	}
3964	return *i.Email
3965}
3966
3967// GetID returns the ID field if it's non-nil, zero value otherwise.
3968func (i *Invitation) GetID() int64 {
3969	if i == nil || i.ID == nil {
3970		return 0
3971	}
3972	return *i.ID
3973}
3974
3975// GetInvitationTeamURL returns the InvitationTeamURL field if it's non-nil, zero value otherwise.
3976func (i *Invitation) GetInvitationTeamURL() string {
3977	if i == nil || i.InvitationTeamURL == nil {
3978		return ""
3979	}
3980	return *i.InvitationTeamURL
3981}
3982
3983// GetInviter returns the Inviter field.
3984func (i *Invitation) GetInviter() *User {
3985	if i == nil {
3986		return nil
3987	}
3988	return i.Inviter
3989}
3990
3991// GetLogin returns the Login field if it's non-nil, zero value otherwise.
3992func (i *Invitation) GetLogin() string {
3993	if i == nil || i.Login == nil {
3994		return ""
3995	}
3996	return *i.Login
3997}
3998
3999// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
4000func (i *Invitation) GetNodeID() string {
4001	if i == nil || i.NodeID == nil {
4002		return ""
4003	}
4004	return *i.NodeID
4005}
4006
4007// GetRole returns the Role field if it's non-nil, zero value otherwise.
4008func (i *Invitation) GetRole() string {
4009	if i == nil || i.Role == nil {
4010		return ""
4011	}
4012	return *i.Role
4013}
4014
4015// GetTeamCount returns the TeamCount field if it's non-nil, zero value otherwise.
4016func (i *Invitation) GetTeamCount() int {
4017	if i == nil || i.TeamCount == nil {
4018		return 0
4019	}
4020	return *i.TeamCount
4021}
4022
4023// GetActiveLockReason returns the ActiveLockReason field if it's non-nil, zero value otherwise.
4024func (i *Issue) GetActiveLockReason() string {
4025	if i == nil || i.ActiveLockReason == nil {
4026		return ""
4027	}
4028	return *i.ActiveLockReason
4029}
4030
4031// GetAssignee returns the Assignee field.
4032func (i *Issue) GetAssignee() *User {
4033	if i == nil {
4034		return nil
4035	}
4036	return i.Assignee
4037}
4038
4039// GetBody returns the Body field if it's non-nil, zero value otherwise.
4040func (i *Issue) GetBody() string {
4041	if i == nil || i.Body == nil {
4042		return ""
4043	}
4044	return *i.Body
4045}
4046
4047// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise.
4048func (i *Issue) GetClosedAt() time.Time {
4049	if i == nil || i.ClosedAt == nil {
4050		return time.Time{}
4051	}
4052	return *i.ClosedAt
4053}
4054
4055// GetClosedBy returns the ClosedBy field.
4056func (i *Issue) GetClosedBy() *User {
4057	if i == nil {
4058		return nil
4059	}
4060	return i.ClosedBy
4061}
4062
4063// GetComments returns the Comments field if it's non-nil, zero value otherwise.
4064func (i *Issue) GetComments() int {
4065	if i == nil || i.Comments == nil {
4066		return 0
4067	}
4068	return *i.Comments
4069}
4070
4071// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
4072func (i *Issue) GetCommentsURL() string {
4073	if i == nil || i.CommentsURL == nil {
4074		return ""
4075	}
4076	return *i.CommentsURL
4077}
4078
4079// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
4080func (i *Issue) GetCreatedAt() time.Time {
4081	if i == nil || i.CreatedAt == nil {
4082		return time.Time{}
4083	}
4084	return *i.CreatedAt
4085}
4086
4087// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
4088func (i *Issue) GetEventsURL() string {
4089	if i == nil || i.EventsURL == nil {
4090		return ""
4091	}
4092	return *i.EventsURL
4093}
4094
4095// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
4096func (i *Issue) GetHTMLURL() string {
4097	if i == nil || i.HTMLURL == nil {
4098		return ""
4099	}
4100	return *i.HTMLURL
4101}
4102
4103// GetID returns the ID field if it's non-nil, zero value otherwise.
4104func (i *Issue) GetID() int64 {
4105	if i == nil || i.ID == nil {
4106		return 0
4107	}
4108	return *i.ID
4109}
4110
4111// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise.
4112func (i *Issue) GetLabelsURL() string {
4113	if i == nil || i.LabelsURL == nil {
4114		return ""
4115	}
4116	return *i.LabelsURL
4117}
4118
4119// GetLocked returns the Locked field if it's non-nil, zero value otherwise.
4120func (i *Issue) GetLocked() bool {
4121	if i == nil || i.Locked == nil {
4122		return false
4123	}
4124	return *i.Locked
4125}
4126
4127// GetMilestone returns the Milestone field.
4128func (i *Issue) GetMilestone() *Milestone {
4129	if i == nil {
4130		return nil
4131	}
4132	return i.Milestone
4133}
4134
4135// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
4136func (i *Issue) GetNodeID() string {
4137	if i == nil || i.NodeID == nil {
4138		return ""
4139	}
4140	return *i.NodeID
4141}
4142
4143// GetNumber returns the Number field if it's non-nil, zero value otherwise.
4144func (i *Issue) GetNumber() int {
4145	if i == nil || i.Number == nil {
4146		return 0
4147	}
4148	return *i.Number
4149}
4150
4151// GetPullRequestLinks returns the PullRequestLinks field.
4152func (i *Issue) GetPullRequestLinks() *PullRequestLinks {
4153	if i == nil {
4154		return nil
4155	}
4156	return i.PullRequestLinks
4157}
4158
4159// GetReactions returns the Reactions field.
4160func (i *Issue) GetReactions() *Reactions {
4161	if i == nil {
4162		return nil
4163	}
4164	return i.Reactions
4165}
4166
4167// GetRepository returns the Repository field.
4168func (i *Issue) GetRepository() *Repository {
4169	if i == nil {
4170		return nil
4171	}
4172	return i.Repository
4173}
4174
4175// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
4176func (i *Issue) GetRepositoryURL() string {
4177	if i == nil || i.RepositoryURL == nil {
4178		return ""
4179	}
4180	return *i.RepositoryURL
4181}
4182
4183// GetState returns the State field if it's non-nil, zero value otherwise.
4184func (i *Issue) GetState() string {
4185	if i == nil || i.State == nil {
4186		return ""
4187	}
4188	return *i.State
4189}
4190
4191// GetTitle returns the Title field if it's non-nil, zero value otherwise.
4192func (i *Issue) GetTitle() string {
4193	if i == nil || i.Title == nil {
4194		return ""
4195	}
4196	return *i.Title
4197}
4198
4199// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
4200func (i *Issue) GetUpdatedAt() time.Time {
4201	if i == nil || i.UpdatedAt == nil {
4202		return time.Time{}
4203	}
4204	return *i.UpdatedAt
4205}
4206
4207// GetURL returns the URL field if it's non-nil, zero value otherwise.
4208func (i *Issue) GetURL() string {
4209	if i == nil || i.URL == nil {
4210		return ""
4211	}
4212	return *i.URL
4213}
4214
4215// GetUser returns the User field.
4216func (i *Issue) GetUser() *User {
4217	if i == nil {
4218		return nil
4219	}
4220	return i.User
4221}
4222
4223// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise.
4224func (i *IssueComment) GetAuthorAssociation() string {
4225	if i == nil || i.AuthorAssociation == nil {
4226		return ""
4227	}
4228	return *i.AuthorAssociation
4229}
4230
4231// GetBody returns the Body field if it's non-nil, zero value otherwise.
4232func (i *IssueComment) GetBody() string {
4233	if i == nil || i.Body == nil {
4234		return ""
4235	}
4236	return *i.Body
4237}
4238
4239// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
4240func (i *IssueComment) GetCreatedAt() time.Time {
4241	if i == nil || i.CreatedAt == nil {
4242		return time.Time{}
4243	}
4244	return *i.CreatedAt
4245}
4246
4247// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
4248func (i *IssueComment) GetHTMLURL() string {
4249	if i == nil || i.HTMLURL == nil {
4250		return ""
4251	}
4252	return *i.HTMLURL
4253}
4254
4255// GetID returns the ID field if it's non-nil, zero value otherwise.
4256func (i *IssueComment) GetID() int64 {
4257	if i == nil || i.ID == nil {
4258		return 0
4259	}
4260	return *i.ID
4261}
4262
4263// GetIssueURL returns the IssueURL field if it's non-nil, zero value otherwise.
4264func (i *IssueComment) GetIssueURL() string {
4265	if i == nil || i.IssueURL == nil {
4266		return ""
4267	}
4268	return *i.IssueURL
4269}
4270
4271// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
4272func (i *IssueComment) GetNodeID() string {
4273	if i == nil || i.NodeID == nil {
4274		return ""
4275	}
4276	return *i.NodeID
4277}
4278
4279// GetReactions returns the Reactions field.
4280func (i *IssueComment) GetReactions() *Reactions {
4281	if i == nil {
4282		return nil
4283	}
4284	return i.Reactions
4285}
4286
4287// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
4288func (i *IssueComment) GetUpdatedAt() time.Time {
4289	if i == nil || i.UpdatedAt == nil {
4290		return time.Time{}
4291	}
4292	return *i.UpdatedAt
4293}
4294
4295// GetURL returns the URL field if it's non-nil, zero value otherwise.
4296func (i *IssueComment) GetURL() string {
4297	if i == nil || i.URL == nil {
4298		return ""
4299	}
4300	return *i.URL
4301}
4302
4303// GetUser returns the User field.
4304func (i *IssueComment) GetUser() *User {
4305	if i == nil {
4306		return nil
4307	}
4308	return i.User
4309}
4310
4311// GetAction returns the Action field if it's non-nil, zero value otherwise.
4312func (i *IssueCommentEvent) GetAction() string {
4313	if i == nil || i.Action == nil {
4314		return ""
4315	}
4316	return *i.Action
4317}
4318
4319// GetChanges returns the Changes field.
4320func (i *IssueCommentEvent) GetChanges() *EditChange {
4321	if i == nil {
4322		return nil
4323	}
4324	return i.Changes
4325}
4326
4327// GetComment returns the Comment field.
4328func (i *IssueCommentEvent) GetComment() *IssueComment {
4329	if i == nil {
4330		return nil
4331	}
4332	return i.Comment
4333}
4334
4335// GetInstallation returns the Installation field.
4336func (i *IssueCommentEvent) GetInstallation() *Installation {
4337	if i == nil {
4338		return nil
4339	}
4340	return i.Installation
4341}
4342
4343// GetIssue returns the Issue field.
4344func (i *IssueCommentEvent) GetIssue() *Issue {
4345	if i == nil {
4346		return nil
4347	}
4348	return i.Issue
4349}
4350
4351// GetRepo returns the Repo field.
4352func (i *IssueCommentEvent) GetRepo() *Repository {
4353	if i == nil {
4354		return nil
4355	}
4356	return i.Repo
4357}
4358
4359// GetSender returns the Sender field.
4360func (i *IssueCommentEvent) GetSender() *User {
4361	if i == nil {
4362		return nil
4363	}
4364	return i.Sender
4365}
4366
4367// GetActor returns the Actor field.
4368func (i *IssueEvent) GetActor() *User {
4369	if i == nil {
4370		return nil
4371	}
4372	return i.Actor
4373}
4374
4375// GetAssignee returns the Assignee field.
4376func (i *IssueEvent) GetAssignee() *User {
4377	if i == nil {
4378		return nil
4379	}
4380	return i.Assignee
4381}
4382
4383// GetAssigner returns the Assigner field.
4384func (i *IssueEvent) GetAssigner() *User {
4385	if i == nil {
4386		return nil
4387	}
4388	return i.Assigner
4389}
4390
4391// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
4392func (i *IssueEvent) GetCommitID() string {
4393	if i == nil || i.CommitID == nil {
4394		return ""
4395	}
4396	return *i.CommitID
4397}
4398
4399// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
4400func (i *IssueEvent) GetCreatedAt() time.Time {
4401	if i == nil || i.CreatedAt == nil {
4402		return time.Time{}
4403	}
4404	return *i.CreatedAt
4405}
4406
4407// GetDismissedReview returns the DismissedReview field.
4408func (i *IssueEvent) GetDismissedReview() *DismissedReview {
4409	if i == nil {
4410		return nil
4411	}
4412	return i.DismissedReview
4413}
4414
4415// GetEvent returns the Event field if it's non-nil, zero value otherwise.
4416func (i *IssueEvent) GetEvent() string {
4417	if i == nil || i.Event == nil {
4418		return ""
4419	}
4420	return *i.Event
4421}
4422
4423// GetID returns the ID field if it's non-nil, zero value otherwise.
4424func (i *IssueEvent) GetID() int64 {
4425	if i == nil || i.ID == nil {
4426		return 0
4427	}
4428	return *i.ID
4429}
4430
4431// GetIssue returns the Issue field.
4432func (i *IssueEvent) GetIssue() *Issue {
4433	if i == nil {
4434		return nil
4435	}
4436	return i.Issue
4437}
4438
4439// GetLabel returns the Label field.
4440func (i *IssueEvent) GetLabel() *Label {
4441	if i == nil {
4442		return nil
4443	}
4444	return i.Label
4445}
4446
4447// GetLockReason returns the LockReason field if it's non-nil, zero value otherwise.
4448func (i *IssueEvent) GetLockReason() string {
4449	if i == nil || i.LockReason == nil {
4450		return ""
4451	}
4452	return *i.LockReason
4453}
4454
4455// GetMilestone returns the Milestone field.
4456func (i *IssueEvent) GetMilestone() *Milestone {
4457	if i == nil {
4458		return nil
4459	}
4460	return i.Milestone
4461}
4462
4463// GetProjectCard returns the ProjectCard field.
4464func (i *IssueEvent) GetProjectCard() *ProjectCard {
4465	if i == nil {
4466		return nil
4467	}
4468	return i.ProjectCard
4469}
4470
4471// GetRename returns the Rename field.
4472func (i *IssueEvent) GetRename() *Rename {
4473	if i == nil {
4474		return nil
4475	}
4476	return i.Rename
4477}
4478
4479// GetURL returns the URL field if it's non-nil, zero value otherwise.
4480func (i *IssueEvent) GetURL() string {
4481	if i == nil || i.URL == nil {
4482		return ""
4483	}
4484	return *i.URL
4485}
4486
4487// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise.
4488func (i *IssueRequest) GetAssignee() string {
4489	if i == nil || i.Assignee == nil {
4490		return ""
4491	}
4492	return *i.Assignee
4493}
4494
4495// GetAssignees returns the Assignees field if it's non-nil, zero value otherwise.
4496func (i *IssueRequest) GetAssignees() []string {
4497	if i == nil || i.Assignees == nil {
4498		return nil
4499	}
4500	return *i.Assignees
4501}
4502
4503// GetBody returns the Body field if it's non-nil, zero value otherwise.
4504func (i *IssueRequest) GetBody() string {
4505	if i == nil || i.Body == nil {
4506		return ""
4507	}
4508	return *i.Body
4509}
4510
4511// GetLabels returns the Labels field if it's non-nil, zero value otherwise.
4512func (i *IssueRequest) GetLabels() []string {
4513	if i == nil || i.Labels == nil {
4514		return nil
4515	}
4516	return *i.Labels
4517}
4518
4519// GetMilestone returns the Milestone field if it's non-nil, zero value otherwise.
4520func (i *IssueRequest) GetMilestone() int {
4521	if i == nil || i.Milestone == nil {
4522		return 0
4523	}
4524	return *i.Milestone
4525}
4526
4527// GetState returns the State field if it's non-nil, zero value otherwise.
4528func (i *IssueRequest) GetState() string {
4529	if i == nil || i.State == nil {
4530		return ""
4531	}
4532	return *i.State
4533}
4534
4535// GetTitle returns the Title field if it's non-nil, zero value otherwise.
4536func (i *IssueRequest) GetTitle() string {
4537	if i == nil || i.Title == nil {
4538		return ""
4539	}
4540	return *i.Title
4541}
4542
4543// GetAction returns the Action field if it's non-nil, zero value otherwise.
4544func (i *IssuesEvent) GetAction() string {
4545	if i == nil || i.Action == nil {
4546		return ""
4547	}
4548	return *i.Action
4549}
4550
4551// GetAssignee returns the Assignee field.
4552func (i *IssuesEvent) GetAssignee() *User {
4553	if i == nil {
4554		return nil
4555	}
4556	return i.Assignee
4557}
4558
4559// GetChanges returns the Changes field.
4560func (i *IssuesEvent) GetChanges() *EditChange {
4561	if i == nil {
4562		return nil
4563	}
4564	return i.Changes
4565}
4566
4567// GetInstallation returns the Installation field.
4568func (i *IssuesEvent) GetInstallation() *Installation {
4569	if i == nil {
4570		return nil
4571	}
4572	return i.Installation
4573}
4574
4575// GetIssue returns the Issue field.
4576func (i *IssuesEvent) GetIssue() *Issue {
4577	if i == nil {
4578		return nil
4579	}
4580	return i.Issue
4581}
4582
4583// GetLabel returns the Label field.
4584func (i *IssuesEvent) GetLabel() *Label {
4585	if i == nil {
4586		return nil
4587	}
4588	return i.Label
4589}
4590
4591// GetRepo returns the Repo field.
4592func (i *IssuesEvent) GetRepo() *Repository {
4593	if i == nil {
4594		return nil
4595	}
4596	return i.Repo
4597}
4598
4599// GetSender returns the Sender field.
4600func (i *IssuesEvent) GetSender() *User {
4601	if i == nil {
4602		return nil
4603	}
4604	return i.Sender
4605}
4606
4607// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
4608func (i *IssuesSearchResult) GetIncompleteResults() bool {
4609	if i == nil || i.IncompleteResults == nil {
4610		return false
4611	}
4612	return *i.IncompleteResults
4613}
4614
4615// GetTotal returns the Total field if it's non-nil, zero value otherwise.
4616func (i *IssuesSearchResult) GetTotal() int {
4617	if i == nil || i.Total == nil {
4618		return 0
4619	}
4620	return *i.Total
4621}
4622
4623// GetClosedIssues returns the ClosedIssues field if it's non-nil, zero value otherwise.
4624func (i *IssueStats) GetClosedIssues() int {
4625	if i == nil || i.ClosedIssues == nil {
4626		return 0
4627	}
4628	return *i.ClosedIssues
4629}
4630
4631// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise.
4632func (i *IssueStats) GetOpenIssues() int {
4633	if i == nil || i.OpenIssues == nil {
4634		return 0
4635	}
4636	return *i.OpenIssues
4637}
4638
4639// GetTotalIssues returns the TotalIssues field if it's non-nil, zero value otherwise.
4640func (i *IssueStats) GetTotalIssues() int {
4641	if i == nil || i.TotalIssues == nil {
4642		return 0
4643	}
4644	return *i.TotalIssues
4645}
4646
4647// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
4648func (k *Key) GetCreatedAt() Timestamp {
4649	if k == nil || k.CreatedAt == nil {
4650		return Timestamp{}
4651	}
4652	return *k.CreatedAt
4653}
4654
4655// GetID returns the ID field if it's non-nil, zero value otherwise.
4656func (k *Key) GetID() int64 {
4657	if k == nil || k.ID == nil {
4658		return 0
4659	}
4660	return *k.ID
4661}
4662
4663// GetKey returns the Key field if it's non-nil, zero value otherwise.
4664func (k *Key) GetKey() string {
4665	if k == nil || k.Key == nil {
4666		return ""
4667	}
4668	return *k.Key
4669}
4670
4671// GetReadOnly returns the ReadOnly field if it's non-nil, zero value otherwise.
4672func (k *Key) GetReadOnly() bool {
4673	if k == nil || k.ReadOnly == nil {
4674		return false
4675	}
4676	return *k.ReadOnly
4677}
4678
4679// GetTitle returns the Title field if it's non-nil, zero value otherwise.
4680func (k *Key) GetTitle() string {
4681	if k == nil || k.Title == nil {
4682		return ""
4683	}
4684	return *k.Title
4685}
4686
4687// GetURL returns the URL field if it's non-nil, zero value otherwise.
4688func (k *Key) GetURL() string {
4689	if k == nil || k.URL == nil {
4690		return ""
4691	}
4692	return *k.URL
4693}
4694
4695// GetColor returns the Color field if it's non-nil, zero value otherwise.
4696func (l *Label) GetColor() string {
4697	if l == nil || l.Color == nil {
4698		return ""
4699	}
4700	return *l.Color
4701}
4702
4703// GetDefault returns the Default field if it's non-nil, zero value otherwise.
4704func (l *Label) GetDefault() bool {
4705	if l == nil || l.Default == nil {
4706		return false
4707	}
4708	return *l.Default
4709}
4710
4711// GetDescription returns the Description field if it's non-nil, zero value otherwise.
4712func (l *Label) GetDescription() string {
4713	if l == nil || l.Description == nil {
4714		return ""
4715	}
4716	return *l.Description
4717}
4718
4719// GetID returns the ID field if it's non-nil, zero value otherwise.
4720func (l *Label) GetID() int64 {
4721	if l == nil || l.ID == nil {
4722		return 0
4723	}
4724	return *l.ID
4725}
4726
4727// GetName returns the Name field if it's non-nil, zero value otherwise.
4728func (l *Label) GetName() string {
4729	if l == nil || l.Name == nil {
4730		return ""
4731	}
4732	return *l.Name
4733}
4734
4735// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
4736func (l *Label) GetNodeID() string {
4737	if l == nil || l.NodeID == nil {
4738		return ""
4739	}
4740	return *l.NodeID
4741}
4742
4743// GetURL returns the URL field if it's non-nil, zero value otherwise.
4744func (l *Label) GetURL() string {
4745	if l == nil || l.URL == nil {
4746		return ""
4747	}
4748	return *l.URL
4749}
4750
4751// GetAction returns the Action field if it's non-nil, zero value otherwise.
4752func (l *LabelEvent) GetAction() string {
4753	if l == nil || l.Action == nil {
4754		return ""
4755	}
4756	return *l.Action
4757}
4758
4759// GetChanges returns the Changes field.
4760func (l *LabelEvent) GetChanges() *EditChange {
4761	if l == nil {
4762		return nil
4763	}
4764	return l.Changes
4765}
4766
4767// GetInstallation returns the Installation field.
4768func (l *LabelEvent) GetInstallation() *Installation {
4769	if l == nil {
4770		return nil
4771	}
4772	return l.Installation
4773}
4774
4775// GetLabel returns the Label field.
4776func (l *LabelEvent) GetLabel() *Label {
4777	if l == nil {
4778		return nil
4779	}
4780	return l.Label
4781}
4782
4783// GetOrg returns the Org field.
4784func (l *LabelEvent) GetOrg() *Organization {
4785	if l == nil {
4786		return nil
4787	}
4788	return l.Org
4789}
4790
4791// GetRepo returns the Repo field.
4792func (l *LabelEvent) GetRepo() *Repository {
4793	if l == nil {
4794		return nil
4795	}
4796	return l.Repo
4797}
4798
4799// GetColor returns the Color field if it's non-nil, zero value otherwise.
4800func (l *LabelResult) GetColor() string {
4801	if l == nil || l.Color == nil {
4802		return ""
4803	}
4804	return *l.Color
4805}
4806
4807// GetDefault returns the Default field if it's non-nil, zero value otherwise.
4808func (l *LabelResult) GetDefault() bool {
4809	if l == nil || l.Default == nil {
4810		return false
4811	}
4812	return *l.Default
4813}
4814
4815// GetDescription returns the Description field if it's non-nil, zero value otherwise.
4816func (l *LabelResult) GetDescription() string {
4817	if l == nil || l.Description == nil {
4818		return ""
4819	}
4820	return *l.Description
4821}
4822
4823// GetID returns the ID field if it's non-nil, zero value otherwise.
4824func (l *LabelResult) GetID() int64 {
4825	if l == nil || l.ID == nil {
4826		return 0
4827	}
4828	return *l.ID
4829}
4830
4831// GetName returns the Name field if it's non-nil, zero value otherwise.
4832func (l *LabelResult) GetName() string {
4833	if l == nil || l.Name == nil {
4834		return ""
4835	}
4836	return *l.Name
4837}
4838
4839// GetScore returns the Score field.
4840func (l *LabelResult) GetScore() *float64 {
4841	if l == nil {
4842		return nil
4843	}
4844	return l.Score
4845}
4846
4847// GetURL returns the URL field if it's non-nil, zero value otherwise.
4848func (l *LabelResult) GetURL() string {
4849	if l == nil || l.URL == nil {
4850		return ""
4851	}
4852	return *l.URL
4853}
4854
4855// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
4856func (l *LabelsSearchResult) GetIncompleteResults() bool {
4857	if l == nil || l.IncompleteResults == nil {
4858		return false
4859	}
4860	return *l.IncompleteResults
4861}
4862
4863// GetTotal returns the Total field if it's non-nil, zero value otherwise.
4864func (l *LabelsSearchResult) GetTotal() int {
4865	if l == nil || l.Total == nil {
4866		return 0
4867	}
4868	return *l.Total
4869}
4870
4871// GetOID returns the OID field if it's non-nil, zero value otherwise.
4872func (l *LargeFile) GetOID() string {
4873	if l == nil || l.OID == nil {
4874		return ""
4875	}
4876	return *l.OID
4877}
4878
4879// GetPath returns the Path field if it's non-nil, zero value otherwise.
4880func (l *LargeFile) GetPath() string {
4881	if l == nil || l.Path == nil {
4882		return ""
4883	}
4884	return *l.Path
4885}
4886
4887// GetRefName returns the RefName field if it's non-nil, zero value otherwise.
4888func (l *LargeFile) GetRefName() string {
4889	if l == nil || l.RefName == nil {
4890		return ""
4891	}
4892	return *l.RefName
4893}
4894
4895// GetSize returns the Size field if it's non-nil, zero value otherwise.
4896func (l *LargeFile) GetSize() int {
4897	if l == nil || l.Size == nil {
4898		return 0
4899	}
4900	return *l.Size
4901}
4902
4903// GetBody returns the Body field if it's non-nil, zero value otherwise.
4904func (l *License) GetBody() string {
4905	if l == nil || l.Body == nil {
4906		return ""
4907	}
4908	return *l.Body
4909}
4910
4911// GetConditions returns the Conditions field if it's non-nil, zero value otherwise.
4912func (l *License) GetConditions() []string {
4913	if l == nil || l.Conditions == nil {
4914		return nil
4915	}
4916	return *l.Conditions
4917}
4918
4919// GetDescription returns the Description field if it's non-nil, zero value otherwise.
4920func (l *License) GetDescription() string {
4921	if l == nil || l.Description == nil {
4922		return ""
4923	}
4924	return *l.Description
4925}
4926
4927// GetFeatured returns the Featured field if it's non-nil, zero value otherwise.
4928func (l *License) GetFeatured() bool {
4929	if l == nil || l.Featured == nil {
4930		return false
4931	}
4932	return *l.Featured
4933}
4934
4935// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
4936func (l *License) GetHTMLURL() string {
4937	if l == nil || l.HTMLURL == nil {
4938		return ""
4939	}
4940	return *l.HTMLURL
4941}
4942
4943// GetImplementation returns the Implementation field if it's non-nil, zero value otherwise.
4944func (l *License) GetImplementation() string {
4945	if l == nil || l.Implementation == nil {
4946		return ""
4947	}
4948	return *l.Implementation
4949}
4950
4951// GetKey returns the Key field if it's non-nil, zero value otherwise.
4952func (l *License) GetKey() string {
4953	if l == nil || l.Key == nil {
4954		return ""
4955	}
4956	return *l.Key
4957}
4958
4959// GetLimitations returns the Limitations field if it's non-nil, zero value otherwise.
4960func (l *License) GetLimitations() []string {
4961	if l == nil || l.Limitations == nil {
4962		return nil
4963	}
4964	return *l.Limitations
4965}
4966
4967// GetName returns the Name field if it's non-nil, zero value otherwise.
4968func (l *License) GetName() string {
4969	if l == nil || l.Name == nil {
4970		return ""
4971	}
4972	return *l.Name
4973}
4974
4975// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.
4976func (l *License) GetPermissions() []string {
4977	if l == nil || l.Permissions == nil {
4978		return nil
4979	}
4980	return *l.Permissions
4981}
4982
4983// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise.
4984func (l *License) GetSPDXID() string {
4985	if l == nil || l.SPDXID == nil {
4986		return ""
4987	}
4988	return *l.SPDXID
4989}
4990
4991// GetURL returns the URL field if it's non-nil, zero value otherwise.
4992func (l *License) GetURL() string {
4993	if l == nil || l.URL == nil {
4994		return ""
4995	}
4996	return *l.URL
4997}
4998
4999// GetCheckName returns the CheckName field if it's non-nil, zero value otherwise.
5000func (l *ListCheckRunsOptions) GetCheckName() string {
5001	if l == nil || l.CheckName == nil {
5002		return ""
5003	}
5004	return *l.CheckName
5005}
5006
5007// GetFilter returns the Filter field if it's non-nil, zero value otherwise.
5008func (l *ListCheckRunsOptions) GetFilter() string {
5009	if l == nil || l.Filter == nil {
5010		return ""
5011	}
5012	return *l.Filter
5013}
5014
5015// GetStatus returns the Status field if it's non-nil, zero value otherwise.
5016func (l *ListCheckRunsOptions) GetStatus() string {
5017	if l == nil || l.Status == nil {
5018		return ""
5019	}
5020	return *l.Status
5021}
5022
5023// GetTotal returns the Total field if it's non-nil, zero value otherwise.
5024func (l *ListCheckRunsResults) GetTotal() int {
5025	if l == nil || l.Total == nil {
5026		return 0
5027	}
5028	return *l.Total
5029}
5030
5031// GetAppID returns the AppID field if it's non-nil, zero value otherwise.
5032func (l *ListCheckSuiteOptions) GetAppID() int {
5033	if l == nil || l.AppID == nil {
5034		return 0
5035	}
5036	return *l.AppID
5037}
5038
5039// GetCheckName returns the CheckName field if it's non-nil, zero value otherwise.
5040func (l *ListCheckSuiteOptions) GetCheckName() string {
5041	if l == nil || l.CheckName == nil {
5042		return ""
5043	}
5044	return *l.CheckName
5045}
5046
5047// GetTotal returns the Total field if it's non-nil, zero value otherwise.
5048func (l *ListCheckSuiteResults) GetTotal() int {
5049	if l == nil || l.Total == nil {
5050		return 0
5051	}
5052	return *l.Total
5053}
5054
5055// GetAffiliation returns the Affiliation field if it's non-nil, zero value otherwise.
5056func (l *ListCollaboratorOptions) GetAffiliation() string {
5057	if l == nil || l.Affiliation == nil {
5058		return ""
5059	}
5060	return *l.Affiliation
5061}
5062
5063// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise.
5064func (m *MarketplacePendingChange) GetEffectiveDate() Timestamp {
5065	if m == nil || m.EffectiveDate == nil {
5066		return Timestamp{}
5067	}
5068	return *m.EffectiveDate
5069}
5070
5071// GetID returns the ID field if it's non-nil, zero value otherwise.
5072func (m *MarketplacePendingChange) GetID() int64 {
5073	if m == nil || m.ID == nil {
5074		return 0
5075	}
5076	return *m.ID
5077}
5078
5079// GetPlan returns the Plan field.
5080func (m *MarketplacePendingChange) GetPlan() *MarketplacePlan {
5081	if m == nil {
5082		return nil
5083	}
5084	return m.Plan
5085}
5086
5087// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise.
5088func (m *MarketplacePendingChange) GetUnitCount() int {
5089	if m == nil || m.UnitCount == nil {
5090		return 0
5091	}
5092	return *m.UnitCount
5093}
5094
5095// GetAccountsURL returns the AccountsURL field if it's non-nil, zero value otherwise.
5096func (m *MarketplacePlan) GetAccountsURL() string {
5097	if m == nil || m.AccountsURL == nil {
5098		return ""
5099	}
5100	return *m.AccountsURL
5101}
5102
5103// GetBullets returns the Bullets field if it's non-nil, zero value otherwise.
5104func (m *MarketplacePlan) GetBullets() []string {
5105	if m == nil || m.Bullets == nil {
5106		return nil
5107	}
5108	return *m.Bullets
5109}
5110
5111// GetDescription returns the Description field if it's non-nil, zero value otherwise.
5112func (m *MarketplacePlan) GetDescription() string {
5113	if m == nil || m.Description == nil {
5114		return ""
5115	}
5116	return *m.Description
5117}
5118
5119// GetHasFreeTrial returns the HasFreeTrial field if it's non-nil, zero value otherwise.
5120func (m *MarketplacePlan) GetHasFreeTrial() bool {
5121	if m == nil || m.HasFreeTrial == nil {
5122		return false
5123	}
5124	return *m.HasFreeTrial
5125}
5126
5127// GetID returns the ID field if it's non-nil, zero value otherwise.
5128func (m *MarketplacePlan) GetID() int64 {
5129	if m == nil || m.ID == nil {
5130		return 0
5131	}
5132	return *m.ID
5133}
5134
5135// GetMonthlyPriceInCents returns the MonthlyPriceInCents field if it's non-nil, zero value otherwise.
5136func (m *MarketplacePlan) GetMonthlyPriceInCents() int {
5137	if m == nil || m.MonthlyPriceInCents == nil {
5138		return 0
5139	}
5140	return *m.MonthlyPriceInCents
5141}
5142
5143// GetName returns the Name field if it's non-nil, zero value otherwise.
5144func (m *MarketplacePlan) GetName() string {
5145	if m == nil || m.Name == nil {
5146		return ""
5147	}
5148	return *m.Name
5149}
5150
5151// GetPriceModel returns the PriceModel field if it's non-nil, zero value otherwise.
5152func (m *MarketplacePlan) GetPriceModel() string {
5153	if m == nil || m.PriceModel == nil {
5154		return ""
5155	}
5156	return *m.PriceModel
5157}
5158
5159// GetState returns the State field if it's non-nil, zero value otherwise.
5160func (m *MarketplacePlan) GetState() string {
5161	if m == nil || m.State == nil {
5162		return ""
5163	}
5164	return *m.State
5165}
5166
5167// GetUnitName returns the UnitName field if it's non-nil, zero value otherwise.
5168func (m *MarketplacePlan) GetUnitName() string {
5169	if m == nil || m.UnitName == nil {
5170		return ""
5171	}
5172	return *m.UnitName
5173}
5174
5175// GetURL returns the URL field if it's non-nil, zero value otherwise.
5176func (m *MarketplacePlan) GetURL() string {
5177	if m == nil || m.URL == nil {
5178		return ""
5179	}
5180	return *m.URL
5181}
5182
5183// GetYearlyPriceInCents returns the YearlyPriceInCents field if it's non-nil, zero value otherwise.
5184func (m *MarketplacePlan) GetYearlyPriceInCents() int {
5185	if m == nil || m.YearlyPriceInCents == nil {
5186		return 0
5187	}
5188	return *m.YearlyPriceInCents
5189}
5190
5191// GetEmail returns the Email field if it's non-nil, zero value otherwise.
5192func (m *MarketplacePlanAccount) GetEmail() string {
5193	if m == nil || m.Email == nil {
5194		return ""
5195	}
5196	return *m.Email
5197}
5198
5199// GetID returns the ID field if it's non-nil, zero value otherwise.
5200func (m *MarketplacePlanAccount) GetID() int64 {
5201	if m == nil || m.ID == nil {
5202		return 0
5203	}
5204	return *m.ID
5205}
5206
5207// GetLogin returns the Login field if it's non-nil, zero value otherwise.
5208func (m *MarketplacePlanAccount) GetLogin() string {
5209	if m == nil || m.Login == nil {
5210		return ""
5211	}
5212	return *m.Login
5213}
5214
5215// GetMarketplacePendingChange returns the MarketplacePendingChange field.
5216func (m *MarketplacePlanAccount) GetMarketplacePendingChange() *MarketplacePendingChange {
5217	if m == nil {
5218		return nil
5219	}
5220	return m.MarketplacePendingChange
5221}
5222
5223// GetMarketplacePurchase returns the MarketplacePurchase field.
5224func (m *MarketplacePlanAccount) GetMarketplacePurchase() *MarketplacePurchase {
5225	if m == nil {
5226		return nil
5227	}
5228	return m.MarketplacePurchase
5229}
5230
5231// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
5232func (m *MarketplacePlanAccount) GetNodeID() string {
5233	if m == nil || m.NodeID == nil {
5234		return ""
5235	}
5236	return *m.NodeID
5237}
5238
5239// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise.
5240func (m *MarketplacePlanAccount) GetOrganizationBillingEmail() string {
5241	if m == nil || m.OrganizationBillingEmail == nil {
5242		return ""
5243	}
5244	return *m.OrganizationBillingEmail
5245}
5246
5247// GetType returns the Type field if it's non-nil, zero value otherwise.
5248func (m *MarketplacePlanAccount) GetType() string {
5249	if m == nil || m.Type == nil {
5250		return ""
5251	}
5252	return *m.Type
5253}
5254
5255// GetURL returns the URL field if it's non-nil, zero value otherwise.
5256func (m *MarketplacePlanAccount) GetURL() string {
5257	if m == nil || m.URL == nil {
5258		return ""
5259	}
5260	return *m.URL
5261}
5262
5263// GetAccount returns the Account field.
5264func (m *MarketplacePurchase) GetAccount() *MarketplacePlanAccount {
5265	if m == nil {
5266		return nil
5267	}
5268	return m.Account
5269}
5270
5271// GetBillingCycle returns the BillingCycle field if it's non-nil, zero value otherwise.
5272func (m *MarketplacePurchase) GetBillingCycle() string {
5273	if m == nil || m.BillingCycle == nil {
5274		return ""
5275	}
5276	return *m.BillingCycle
5277}
5278
5279// GetFreeTrialEndsOn returns the FreeTrialEndsOn field if it's non-nil, zero value otherwise.
5280func (m *MarketplacePurchase) GetFreeTrialEndsOn() Timestamp {
5281	if m == nil || m.FreeTrialEndsOn == nil {
5282		return Timestamp{}
5283	}
5284	return *m.FreeTrialEndsOn
5285}
5286
5287// GetNextBillingDate returns the NextBillingDate field if it's non-nil, zero value otherwise.
5288func (m *MarketplacePurchase) GetNextBillingDate() Timestamp {
5289	if m == nil || m.NextBillingDate == nil {
5290		return Timestamp{}
5291	}
5292	return *m.NextBillingDate
5293}
5294
5295// GetOnFreeTrial returns the OnFreeTrial field if it's non-nil, zero value otherwise.
5296func (m *MarketplacePurchase) GetOnFreeTrial() bool {
5297	if m == nil || m.OnFreeTrial == nil {
5298		return false
5299	}
5300	return *m.OnFreeTrial
5301}
5302
5303// GetPlan returns the Plan field.
5304func (m *MarketplacePurchase) GetPlan() *MarketplacePlan {
5305	if m == nil {
5306		return nil
5307	}
5308	return m.Plan
5309}
5310
5311// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise.
5312func (m *MarketplacePurchase) GetUnitCount() int {
5313	if m == nil || m.UnitCount == nil {
5314		return 0
5315	}
5316	return *m.UnitCount
5317}
5318
5319// GetAction returns the Action field if it's non-nil, zero value otherwise.
5320func (m *MarketplacePurchaseEvent) GetAction() string {
5321	if m == nil || m.Action == nil {
5322		return ""
5323	}
5324	return *m.Action
5325}
5326
5327// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise.
5328func (m *MarketplacePurchaseEvent) GetEffectiveDate() Timestamp {
5329	if m == nil || m.EffectiveDate == nil {
5330		return Timestamp{}
5331	}
5332	return *m.EffectiveDate
5333}
5334
5335// GetInstallation returns the Installation field.
5336func (m *MarketplacePurchaseEvent) GetInstallation() *Installation {
5337	if m == nil {
5338		return nil
5339	}
5340	return m.Installation
5341}
5342
5343// GetMarketplacePurchase returns the MarketplacePurchase field.
5344func (m *MarketplacePurchaseEvent) GetMarketplacePurchase() *MarketplacePurchase {
5345	if m == nil {
5346		return nil
5347	}
5348	return m.MarketplacePurchase
5349}
5350
5351// GetPreviousMarketplacePurchase returns the PreviousMarketplacePurchase field.
5352func (m *MarketplacePurchaseEvent) GetPreviousMarketplacePurchase() *MarketplacePurchase {
5353	if m == nil {
5354		return nil
5355	}
5356	return m.PreviousMarketplacePurchase
5357}
5358
5359// GetSender returns the Sender field.
5360func (m *MarketplacePurchaseEvent) GetSender() *User {
5361	if m == nil {
5362		return nil
5363	}
5364	return m.Sender
5365}
5366
5367// GetText returns the Text field if it's non-nil, zero value otherwise.
5368func (m *Match) GetText() string {
5369	if m == nil || m.Text == nil {
5370		return ""
5371	}
5372	return *m.Text
5373}
5374
5375// GetAction returns the Action field if it's non-nil, zero value otherwise.
5376func (m *MemberEvent) GetAction() string {
5377	if m == nil || m.Action == nil {
5378		return ""
5379	}
5380	return *m.Action
5381}
5382
5383// GetInstallation returns the Installation field.
5384func (m *MemberEvent) GetInstallation() *Installation {
5385	if m == nil {
5386		return nil
5387	}
5388	return m.Installation
5389}
5390
5391// GetMember returns the Member field.
5392func (m *MemberEvent) GetMember() *User {
5393	if m == nil {
5394		return nil
5395	}
5396	return m.Member
5397}
5398
5399// GetRepo returns the Repo field.
5400func (m *MemberEvent) GetRepo() *Repository {
5401	if m == nil {
5402		return nil
5403	}
5404	return m.Repo
5405}
5406
5407// GetSender returns the Sender field.
5408func (m *MemberEvent) GetSender() *User {
5409	if m == nil {
5410		return nil
5411	}
5412	return m.Sender
5413}
5414
5415// GetOrganization returns the Organization field.
5416func (m *Membership) GetOrganization() *Organization {
5417	if m == nil {
5418		return nil
5419	}
5420	return m.Organization
5421}
5422
5423// GetOrganizationURL returns the OrganizationURL field if it's non-nil, zero value otherwise.
5424func (m *Membership) GetOrganizationURL() string {
5425	if m == nil || m.OrganizationURL == nil {
5426		return ""
5427	}
5428	return *m.OrganizationURL
5429}
5430
5431// GetRole returns the Role field if it's non-nil, zero value otherwise.
5432func (m *Membership) GetRole() string {
5433	if m == nil || m.Role == nil {
5434		return ""
5435	}
5436	return *m.Role
5437}
5438
5439// GetState returns the State field if it's non-nil, zero value otherwise.
5440func (m *Membership) GetState() string {
5441	if m == nil || m.State == nil {
5442		return ""
5443	}
5444	return *m.State
5445}
5446
5447// GetURL returns the URL field if it's non-nil, zero value otherwise.
5448func (m *Membership) GetURL() string {
5449	if m == nil || m.URL == nil {
5450		return ""
5451	}
5452	return *m.URL
5453}
5454
5455// GetUser returns the User field.
5456func (m *Membership) GetUser() *User {
5457	if m == nil {
5458		return nil
5459	}
5460	return m.User
5461}
5462
5463// GetAction returns the Action field if it's non-nil, zero value otherwise.
5464func (m *MembershipEvent) GetAction() string {
5465	if m == nil || m.Action == nil {
5466		return ""
5467	}
5468	return *m.Action
5469}
5470
5471// GetInstallation returns the Installation field.
5472func (m *MembershipEvent) GetInstallation() *Installation {
5473	if m == nil {
5474		return nil
5475	}
5476	return m.Installation
5477}
5478
5479// GetMember returns the Member field.
5480func (m *MembershipEvent) GetMember() *User {
5481	if m == nil {
5482		return nil
5483	}
5484	return m.Member
5485}
5486
5487// GetOrg returns the Org field.
5488func (m *MembershipEvent) GetOrg() *Organization {
5489	if m == nil {
5490		return nil
5491	}
5492	return m.Org
5493}
5494
5495// GetScope returns the Scope field if it's non-nil, zero value otherwise.
5496func (m *MembershipEvent) GetScope() string {
5497	if m == nil || m.Scope == nil {
5498		return ""
5499	}
5500	return *m.Scope
5501}
5502
5503// GetSender returns the Sender field.
5504func (m *MembershipEvent) GetSender() *User {
5505	if m == nil {
5506		return nil
5507	}
5508	return m.Sender
5509}
5510
5511// GetTeam returns the Team field.
5512func (m *MembershipEvent) GetTeam() *Team {
5513	if m == nil {
5514		return nil
5515	}
5516	return m.Team
5517}
5518
5519// GetAction returns the Action field if it's non-nil, zero value otherwise.
5520func (m *MetaEvent) GetAction() string {
5521	if m == nil || m.Action == nil {
5522		return ""
5523	}
5524	return *m.Action
5525}
5526
5527// GetHook returns the Hook field.
5528func (m *MetaEvent) GetHook() *Hook {
5529	if m == nil {
5530		return nil
5531	}
5532	return m.Hook
5533}
5534
5535// GetHookID returns the HookID field if it's non-nil, zero value otherwise.
5536func (m *MetaEvent) GetHookID() int64 {
5537	if m == nil || m.HookID == nil {
5538		return 0
5539	}
5540	return *m.HookID
5541}
5542
5543// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
5544func (m *Metric) GetHTMLURL() string {
5545	if m == nil || m.HTMLURL == nil {
5546		return ""
5547	}
5548	return *m.HTMLURL
5549}
5550
5551// GetKey returns the Key field if it's non-nil, zero value otherwise.
5552func (m *Metric) GetKey() string {
5553	if m == nil || m.Key == nil {
5554		return ""
5555	}
5556	return *m.Key
5557}
5558
5559// GetName returns the Name field if it's non-nil, zero value otherwise.
5560func (m *Metric) GetName() string {
5561	if m == nil || m.Name == nil {
5562		return ""
5563	}
5564	return *m.Name
5565}
5566
5567// GetURL returns the URL field if it's non-nil, zero value otherwise.
5568func (m *Metric) GetURL() string {
5569	if m == nil || m.URL == nil {
5570		return ""
5571	}
5572	return *m.URL
5573}
5574
5575// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
5576func (m *Migration) GetCreatedAt() string {
5577	if m == nil || m.CreatedAt == nil {
5578		return ""
5579	}
5580	return *m.CreatedAt
5581}
5582
5583// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise.
5584func (m *Migration) GetExcludeAttachments() bool {
5585	if m == nil || m.ExcludeAttachments == nil {
5586		return false
5587	}
5588	return *m.ExcludeAttachments
5589}
5590
5591// GetGUID returns the GUID field if it's non-nil, zero value otherwise.
5592func (m *Migration) GetGUID() string {
5593	if m == nil || m.GUID == nil {
5594		return ""
5595	}
5596	return *m.GUID
5597}
5598
5599// GetID returns the ID field if it's non-nil, zero value otherwise.
5600func (m *Migration) GetID() int64 {
5601	if m == nil || m.ID == nil {
5602		return 0
5603	}
5604	return *m.ID
5605}
5606
5607// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise.
5608func (m *Migration) GetLockRepositories() bool {
5609	if m == nil || m.LockRepositories == nil {
5610		return false
5611	}
5612	return *m.LockRepositories
5613}
5614
5615// GetState returns the State field if it's non-nil, zero value otherwise.
5616func (m *Migration) GetState() string {
5617	if m == nil || m.State == nil {
5618		return ""
5619	}
5620	return *m.State
5621}
5622
5623// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
5624func (m *Migration) GetUpdatedAt() string {
5625	if m == nil || m.UpdatedAt == nil {
5626		return ""
5627	}
5628	return *m.UpdatedAt
5629}
5630
5631// GetURL returns the URL field if it's non-nil, zero value otherwise.
5632func (m *Migration) GetURL() string {
5633	if m == nil || m.URL == nil {
5634		return ""
5635	}
5636	return *m.URL
5637}
5638
5639// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise.
5640func (m *Milestone) GetClosedAt() time.Time {
5641	if m == nil || m.ClosedAt == nil {
5642		return time.Time{}
5643	}
5644	return *m.ClosedAt
5645}
5646
5647// GetClosedIssues returns the ClosedIssues field if it's non-nil, zero value otherwise.
5648func (m *Milestone) GetClosedIssues() int {
5649	if m == nil || m.ClosedIssues == nil {
5650		return 0
5651	}
5652	return *m.ClosedIssues
5653}
5654
5655// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
5656func (m *Milestone) GetCreatedAt() time.Time {
5657	if m == nil || m.CreatedAt == nil {
5658		return time.Time{}
5659	}
5660	return *m.CreatedAt
5661}
5662
5663// GetCreator returns the Creator field.
5664func (m *Milestone) GetCreator() *User {
5665	if m == nil {
5666		return nil
5667	}
5668	return m.Creator
5669}
5670
5671// GetDescription returns the Description field if it's non-nil, zero value otherwise.
5672func (m *Milestone) GetDescription() string {
5673	if m == nil || m.Description == nil {
5674		return ""
5675	}
5676	return *m.Description
5677}
5678
5679// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise.
5680func (m *Milestone) GetDueOn() time.Time {
5681	if m == nil || m.DueOn == nil {
5682		return time.Time{}
5683	}
5684	return *m.DueOn
5685}
5686
5687// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
5688func (m *Milestone) GetHTMLURL() string {
5689	if m == nil || m.HTMLURL == nil {
5690		return ""
5691	}
5692	return *m.HTMLURL
5693}
5694
5695// GetID returns the ID field if it's non-nil, zero value otherwise.
5696func (m *Milestone) GetID() int64 {
5697	if m == nil || m.ID == nil {
5698		return 0
5699	}
5700	return *m.ID
5701}
5702
5703// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise.
5704func (m *Milestone) GetLabelsURL() string {
5705	if m == nil || m.LabelsURL == nil {
5706		return ""
5707	}
5708	return *m.LabelsURL
5709}
5710
5711// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
5712func (m *Milestone) GetNodeID() string {
5713	if m == nil || m.NodeID == nil {
5714		return ""
5715	}
5716	return *m.NodeID
5717}
5718
5719// GetNumber returns the Number field if it's non-nil, zero value otherwise.
5720func (m *Milestone) GetNumber() int {
5721	if m == nil || m.Number == nil {
5722		return 0
5723	}
5724	return *m.Number
5725}
5726
5727// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise.
5728func (m *Milestone) GetOpenIssues() int {
5729	if m == nil || m.OpenIssues == nil {
5730		return 0
5731	}
5732	return *m.OpenIssues
5733}
5734
5735// GetState returns the State field if it's non-nil, zero value otherwise.
5736func (m *Milestone) GetState() string {
5737	if m == nil || m.State == nil {
5738		return ""
5739	}
5740	return *m.State
5741}
5742
5743// GetTitle returns the Title field if it's non-nil, zero value otherwise.
5744func (m *Milestone) GetTitle() string {
5745	if m == nil || m.Title == nil {
5746		return ""
5747	}
5748	return *m.Title
5749}
5750
5751// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
5752func (m *Milestone) GetUpdatedAt() time.Time {
5753	if m == nil || m.UpdatedAt == nil {
5754		return time.Time{}
5755	}
5756	return *m.UpdatedAt
5757}
5758
5759// GetURL returns the URL field if it's non-nil, zero value otherwise.
5760func (m *Milestone) GetURL() string {
5761	if m == nil || m.URL == nil {
5762		return ""
5763	}
5764	return *m.URL
5765}
5766
5767// GetAction returns the Action field if it's non-nil, zero value otherwise.
5768func (m *MilestoneEvent) GetAction() string {
5769	if m == nil || m.Action == nil {
5770		return ""
5771	}
5772	return *m.Action
5773}
5774
5775// GetChanges returns the Changes field.
5776func (m *MilestoneEvent) GetChanges() *EditChange {
5777	if m == nil {
5778		return nil
5779	}
5780	return m.Changes
5781}
5782
5783// GetInstallation returns the Installation field.
5784func (m *MilestoneEvent) GetInstallation() *Installation {
5785	if m == nil {
5786		return nil
5787	}
5788	return m.Installation
5789}
5790
5791// GetMilestone returns the Milestone field.
5792func (m *MilestoneEvent) GetMilestone() *Milestone {
5793	if m == nil {
5794		return nil
5795	}
5796	return m.Milestone
5797}
5798
5799// GetOrg returns the Org field.
5800func (m *MilestoneEvent) GetOrg() *Organization {
5801	if m == nil {
5802		return nil
5803	}
5804	return m.Org
5805}
5806
5807// GetRepo returns the Repo field.
5808func (m *MilestoneEvent) GetRepo() *Repository {
5809	if m == nil {
5810		return nil
5811	}
5812	return m.Repo
5813}
5814
5815// GetSender returns the Sender field.
5816func (m *MilestoneEvent) GetSender() *User {
5817	if m == nil {
5818		return nil
5819	}
5820	return m.Sender
5821}
5822
5823// GetClosedMilestones returns the ClosedMilestones field if it's non-nil, zero value otherwise.
5824func (m *MilestoneStats) GetClosedMilestones() int {
5825	if m == nil || m.ClosedMilestones == nil {
5826		return 0
5827	}
5828	return *m.ClosedMilestones
5829}
5830
5831// GetOpenMilestones returns the OpenMilestones field if it's non-nil, zero value otherwise.
5832func (m *MilestoneStats) GetOpenMilestones() int {
5833	if m == nil || m.OpenMilestones == nil {
5834		return 0
5835	}
5836	return *m.OpenMilestones
5837}
5838
5839// GetTotalMilestones returns the TotalMilestones field if it's non-nil, zero value otherwise.
5840func (m *MilestoneStats) GetTotalMilestones() int {
5841	if m == nil || m.TotalMilestones == nil {
5842		return 0
5843	}
5844	return *m.TotalMilestones
5845}
5846
5847// GetBase returns the Base field if it's non-nil, zero value otherwise.
5848func (n *NewPullRequest) GetBase() string {
5849	if n == nil || n.Base == nil {
5850		return ""
5851	}
5852	return *n.Base
5853}
5854
5855// GetBody returns the Body field if it's non-nil, zero value otherwise.
5856func (n *NewPullRequest) GetBody() string {
5857	if n == nil || n.Body == nil {
5858		return ""
5859	}
5860	return *n.Body
5861}
5862
5863// GetDraft returns the Draft field if it's non-nil, zero value otherwise.
5864func (n *NewPullRequest) GetDraft() bool {
5865	if n == nil || n.Draft == nil {
5866		return false
5867	}
5868	return *n.Draft
5869}
5870
5871// GetHead returns the Head field if it's non-nil, zero value otherwise.
5872func (n *NewPullRequest) GetHead() string {
5873	if n == nil || n.Head == nil {
5874		return ""
5875	}
5876	return *n.Head
5877}
5878
5879// GetIssue returns the Issue field if it's non-nil, zero value otherwise.
5880func (n *NewPullRequest) GetIssue() int {
5881	if n == nil || n.Issue == nil {
5882		return 0
5883	}
5884	return *n.Issue
5885}
5886
5887// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise.
5888func (n *NewPullRequest) GetMaintainerCanModify() bool {
5889	if n == nil || n.MaintainerCanModify == nil {
5890		return false
5891	}
5892	return *n.MaintainerCanModify
5893}
5894
5895// GetTitle returns the Title field if it's non-nil, zero value otherwise.
5896func (n *NewPullRequest) GetTitle() string {
5897	if n == nil || n.Title == nil {
5898		return ""
5899	}
5900	return *n.Title
5901}
5902
5903// GetDescription returns the Description field if it's non-nil, zero value otherwise.
5904func (n *NewTeam) GetDescription() string {
5905	if n == nil || n.Description == nil {
5906		return ""
5907	}
5908	return *n.Description
5909}
5910
5911// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise.
5912func (n *NewTeam) GetLDAPDN() string {
5913	if n == nil || n.LDAPDN == nil {
5914		return ""
5915	}
5916	return *n.LDAPDN
5917}
5918
5919// GetParentTeamID returns the ParentTeamID field if it's non-nil, zero value otherwise.
5920func (n *NewTeam) GetParentTeamID() int64 {
5921	if n == nil || n.ParentTeamID == nil {
5922		return 0
5923	}
5924	return *n.ParentTeamID
5925}
5926
5927// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
5928func (n *NewTeam) GetPermission() string {
5929	if n == nil || n.Permission == nil {
5930		return ""
5931	}
5932	return *n.Permission
5933}
5934
5935// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise.
5936func (n *NewTeam) GetPrivacy() string {
5937	if n == nil || n.Privacy == nil {
5938		return ""
5939	}
5940	return *n.Privacy
5941}
5942
5943// GetID returns the ID field if it's non-nil, zero value otherwise.
5944func (n *Notification) GetID() string {
5945	if n == nil || n.ID == nil {
5946		return ""
5947	}
5948	return *n.ID
5949}
5950
5951// GetLastReadAt returns the LastReadAt field if it's non-nil, zero value otherwise.
5952func (n *Notification) GetLastReadAt() time.Time {
5953	if n == nil || n.LastReadAt == nil {
5954		return time.Time{}
5955	}
5956	return *n.LastReadAt
5957}
5958
5959// GetReason returns the Reason field if it's non-nil, zero value otherwise.
5960func (n *Notification) GetReason() string {
5961	if n == nil || n.Reason == nil {
5962		return ""
5963	}
5964	return *n.Reason
5965}
5966
5967// GetRepository returns the Repository field.
5968func (n *Notification) GetRepository() *Repository {
5969	if n == nil {
5970		return nil
5971	}
5972	return n.Repository
5973}
5974
5975// GetSubject returns the Subject field.
5976func (n *Notification) GetSubject() *NotificationSubject {
5977	if n == nil {
5978		return nil
5979	}
5980	return n.Subject
5981}
5982
5983// GetUnread returns the Unread field if it's non-nil, zero value otherwise.
5984func (n *Notification) GetUnread() bool {
5985	if n == nil || n.Unread == nil {
5986		return false
5987	}
5988	return *n.Unread
5989}
5990
5991// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
5992func (n *Notification) GetUpdatedAt() time.Time {
5993	if n == nil || n.UpdatedAt == nil {
5994		return time.Time{}
5995	}
5996	return *n.UpdatedAt
5997}
5998
5999// GetURL returns the URL field if it's non-nil, zero value otherwise.
6000func (n *Notification) GetURL() string {
6001	if n == nil || n.URL == nil {
6002		return ""
6003	}
6004	return *n.URL
6005}
6006
6007// GetLatestCommentURL returns the LatestCommentURL field if it's non-nil, zero value otherwise.
6008func (n *NotificationSubject) GetLatestCommentURL() string {
6009	if n == nil || n.LatestCommentURL == nil {
6010		return ""
6011	}
6012	return *n.LatestCommentURL
6013}
6014
6015// GetTitle returns the Title field if it's non-nil, zero value otherwise.
6016func (n *NotificationSubject) GetTitle() string {
6017	if n == nil || n.Title == nil {
6018		return ""
6019	}
6020	return *n.Title
6021}
6022
6023// GetType returns the Type field if it's non-nil, zero value otherwise.
6024func (n *NotificationSubject) GetType() string {
6025	if n == nil || n.Type == nil {
6026		return ""
6027	}
6028	return *n.Type
6029}
6030
6031// GetURL returns the URL field if it's non-nil, zero value otherwise.
6032func (n *NotificationSubject) GetURL() string {
6033	if n == nil || n.URL == nil {
6034		return ""
6035	}
6036	return *n.URL
6037}
6038
6039// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise.
6040func (o *Organization) GetAvatarURL() string {
6041	if o == nil || o.AvatarURL == nil {
6042		return ""
6043	}
6044	return *o.AvatarURL
6045}
6046
6047// GetBillingEmail returns the BillingEmail field if it's non-nil, zero value otherwise.
6048func (o *Organization) GetBillingEmail() string {
6049	if o == nil || o.BillingEmail == nil {
6050		return ""
6051	}
6052	return *o.BillingEmail
6053}
6054
6055// GetBlog returns the Blog field if it's non-nil, zero value otherwise.
6056func (o *Organization) GetBlog() string {
6057	if o == nil || o.Blog == nil {
6058		return ""
6059	}
6060	return *o.Blog
6061}
6062
6063// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise.
6064func (o *Organization) GetCollaborators() int {
6065	if o == nil || o.Collaborators == nil {
6066		return 0
6067	}
6068	return *o.Collaborators
6069}
6070
6071// GetCompany returns the Company field if it's non-nil, zero value otherwise.
6072func (o *Organization) GetCompany() string {
6073	if o == nil || o.Company == nil {
6074		return ""
6075	}
6076	return *o.Company
6077}
6078
6079// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
6080func (o *Organization) GetCreatedAt() time.Time {
6081	if o == nil || o.CreatedAt == nil {
6082		return time.Time{}
6083	}
6084	return *o.CreatedAt
6085}
6086
6087// GetDefaultRepoPermission returns the DefaultRepoPermission field if it's non-nil, zero value otherwise.
6088func (o *Organization) GetDefaultRepoPermission() string {
6089	if o == nil || o.DefaultRepoPermission == nil {
6090		return ""
6091	}
6092	return *o.DefaultRepoPermission
6093}
6094
6095// GetDefaultRepoSettings returns the DefaultRepoSettings field if it's non-nil, zero value otherwise.
6096func (o *Organization) GetDefaultRepoSettings() string {
6097	if o == nil || o.DefaultRepoSettings == nil {
6098		return ""
6099	}
6100	return *o.DefaultRepoSettings
6101}
6102
6103// GetDescription returns the Description field if it's non-nil, zero value otherwise.
6104func (o *Organization) GetDescription() string {
6105	if o == nil || o.Description == nil {
6106		return ""
6107	}
6108	return *o.Description
6109}
6110
6111// GetDiskUsage returns the DiskUsage field if it's non-nil, zero value otherwise.
6112func (o *Organization) GetDiskUsage() int {
6113	if o == nil || o.DiskUsage == nil {
6114		return 0
6115	}
6116	return *o.DiskUsage
6117}
6118
6119// GetEmail returns the Email field if it's non-nil, zero value otherwise.
6120func (o *Organization) GetEmail() string {
6121	if o == nil || o.Email == nil {
6122		return ""
6123	}
6124	return *o.Email
6125}
6126
6127// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
6128func (o *Organization) GetEventsURL() string {
6129	if o == nil || o.EventsURL == nil {
6130		return ""
6131	}
6132	return *o.EventsURL
6133}
6134
6135// GetFollowers returns the Followers field if it's non-nil, zero value otherwise.
6136func (o *Organization) GetFollowers() int {
6137	if o == nil || o.Followers == nil {
6138		return 0
6139	}
6140	return *o.Followers
6141}
6142
6143// GetFollowing returns the Following field if it's non-nil, zero value otherwise.
6144func (o *Organization) GetFollowing() int {
6145	if o == nil || o.Following == nil {
6146		return 0
6147	}
6148	return *o.Following
6149}
6150
6151// GetHooksURL returns the HooksURL field if it's non-nil, zero value otherwise.
6152func (o *Organization) GetHooksURL() string {
6153	if o == nil || o.HooksURL == nil {
6154		return ""
6155	}
6156	return *o.HooksURL
6157}
6158
6159// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
6160func (o *Organization) GetHTMLURL() string {
6161	if o == nil || o.HTMLURL == nil {
6162		return ""
6163	}
6164	return *o.HTMLURL
6165}
6166
6167// GetID returns the ID field if it's non-nil, zero value otherwise.
6168func (o *Organization) GetID() int64 {
6169	if o == nil || o.ID == nil {
6170		return 0
6171	}
6172	return *o.ID
6173}
6174
6175// GetIssuesURL returns the IssuesURL field if it's non-nil, zero value otherwise.
6176func (o *Organization) GetIssuesURL() string {
6177	if o == nil || o.IssuesURL == nil {
6178		return ""
6179	}
6180	return *o.IssuesURL
6181}
6182
6183// GetLocation returns the Location field if it's non-nil, zero value otherwise.
6184func (o *Organization) GetLocation() string {
6185	if o == nil || o.Location == nil {
6186		return ""
6187	}
6188	return *o.Location
6189}
6190
6191// GetLogin returns the Login field if it's non-nil, zero value otherwise.
6192func (o *Organization) GetLogin() string {
6193	if o == nil || o.Login == nil {
6194		return ""
6195	}
6196	return *o.Login
6197}
6198
6199// GetMembersAllowedRepositoryCreationType returns the MembersAllowedRepositoryCreationType field if it's non-nil, zero value otherwise.
6200func (o *Organization) GetMembersAllowedRepositoryCreationType() string {
6201	if o == nil || o.MembersAllowedRepositoryCreationType == nil {
6202		return ""
6203	}
6204	return *o.MembersAllowedRepositoryCreationType
6205}
6206
6207// GetMembersCanCreateRepos returns the MembersCanCreateRepos field if it's non-nil, zero value otherwise.
6208func (o *Organization) GetMembersCanCreateRepos() bool {
6209	if o == nil || o.MembersCanCreateRepos == nil {
6210		return false
6211	}
6212	return *o.MembersCanCreateRepos
6213}
6214
6215// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise.
6216func (o *Organization) GetMembersURL() string {
6217	if o == nil || o.MembersURL == nil {
6218		return ""
6219	}
6220	return *o.MembersURL
6221}
6222
6223// GetName returns the Name field if it's non-nil, zero value otherwise.
6224func (o *Organization) GetName() string {
6225	if o == nil || o.Name == nil {
6226		return ""
6227	}
6228	return *o.Name
6229}
6230
6231// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
6232func (o *Organization) GetNodeID() string {
6233	if o == nil || o.NodeID == nil {
6234		return ""
6235	}
6236	return *o.NodeID
6237}
6238
6239// GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise.
6240func (o *Organization) GetOwnedPrivateRepos() int {
6241	if o == nil || o.OwnedPrivateRepos == nil {
6242		return 0
6243	}
6244	return *o.OwnedPrivateRepos
6245}
6246
6247// GetPlan returns the Plan field.
6248func (o *Organization) GetPlan() *Plan {
6249	if o == nil {
6250		return nil
6251	}
6252	return o.Plan
6253}
6254
6255// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise.
6256func (o *Organization) GetPrivateGists() int {
6257	if o == nil || o.PrivateGists == nil {
6258		return 0
6259	}
6260	return *o.PrivateGists
6261}
6262
6263// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise.
6264func (o *Organization) GetPublicGists() int {
6265	if o == nil || o.PublicGists == nil {
6266		return 0
6267	}
6268	return *o.PublicGists
6269}
6270
6271// GetPublicMembersURL returns the PublicMembersURL field if it's non-nil, zero value otherwise.
6272func (o *Organization) GetPublicMembersURL() string {
6273	if o == nil || o.PublicMembersURL == nil {
6274		return ""
6275	}
6276	return *o.PublicMembersURL
6277}
6278
6279// GetPublicRepos returns the PublicRepos field if it's non-nil, zero value otherwise.
6280func (o *Organization) GetPublicRepos() int {
6281	if o == nil || o.PublicRepos == nil {
6282		return 0
6283	}
6284	return *o.PublicRepos
6285}
6286
6287// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise.
6288func (o *Organization) GetReposURL() string {
6289	if o == nil || o.ReposURL == nil {
6290		return ""
6291	}
6292	return *o.ReposURL
6293}
6294
6295// GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise.
6296func (o *Organization) GetTotalPrivateRepos() int {
6297	if o == nil || o.TotalPrivateRepos == nil {
6298		return 0
6299	}
6300	return *o.TotalPrivateRepos
6301}
6302
6303// GetTwoFactorRequirementEnabled returns the TwoFactorRequirementEnabled field if it's non-nil, zero value otherwise.
6304func (o *Organization) GetTwoFactorRequirementEnabled() bool {
6305	if o == nil || o.TwoFactorRequirementEnabled == nil {
6306		return false
6307	}
6308	return *o.TwoFactorRequirementEnabled
6309}
6310
6311// GetType returns the Type field if it's non-nil, zero value otherwise.
6312func (o *Organization) GetType() string {
6313	if o == nil || o.Type == nil {
6314		return ""
6315	}
6316	return *o.Type
6317}
6318
6319// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
6320func (o *Organization) GetUpdatedAt() time.Time {
6321	if o == nil || o.UpdatedAt == nil {
6322		return time.Time{}
6323	}
6324	return *o.UpdatedAt
6325}
6326
6327// GetURL returns the URL field if it's non-nil, zero value otherwise.
6328func (o *Organization) GetURL() string {
6329	if o == nil || o.URL == nil {
6330		return ""
6331	}
6332	return *o.URL
6333}
6334
6335// GetAction returns the Action field if it's non-nil, zero value otherwise.
6336func (o *OrganizationEvent) GetAction() string {
6337	if o == nil || o.Action == nil {
6338		return ""
6339	}
6340	return *o.Action
6341}
6342
6343// GetInstallation returns the Installation field.
6344func (o *OrganizationEvent) GetInstallation() *Installation {
6345	if o == nil {
6346		return nil
6347	}
6348	return o.Installation
6349}
6350
6351// GetInvitation returns the Invitation field.
6352func (o *OrganizationEvent) GetInvitation() *Invitation {
6353	if o == nil {
6354		return nil
6355	}
6356	return o.Invitation
6357}
6358
6359// GetMembership returns the Membership field.
6360func (o *OrganizationEvent) GetMembership() *Membership {
6361	if o == nil {
6362		return nil
6363	}
6364	return o.Membership
6365}
6366
6367// GetOrganization returns the Organization field.
6368func (o *OrganizationEvent) GetOrganization() *Organization {
6369	if o == nil {
6370		return nil
6371	}
6372	return o.Organization
6373}
6374
6375// GetSender returns the Sender field.
6376func (o *OrganizationEvent) GetSender() *User {
6377	if o == nil {
6378		return nil
6379	}
6380	return o.Sender
6381}
6382
6383// GetAction returns the Action field if it's non-nil, zero value otherwise.
6384func (o *OrgBlockEvent) GetAction() string {
6385	if o == nil || o.Action == nil {
6386		return ""
6387	}
6388	return *o.Action
6389}
6390
6391// GetBlockedUser returns the BlockedUser field.
6392func (o *OrgBlockEvent) GetBlockedUser() *User {
6393	if o == nil {
6394		return nil
6395	}
6396	return o.BlockedUser
6397}
6398
6399// GetInstallation returns the Installation field.
6400func (o *OrgBlockEvent) GetInstallation() *Installation {
6401	if o == nil {
6402		return nil
6403	}
6404	return o.Installation
6405}
6406
6407// GetOrganization returns the Organization field.
6408func (o *OrgBlockEvent) GetOrganization() *Organization {
6409	if o == nil {
6410		return nil
6411	}
6412	return o.Organization
6413}
6414
6415// GetSender returns the Sender field.
6416func (o *OrgBlockEvent) GetSender() *User {
6417	if o == nil {
6418		return nil
6419	}
6420	return o.Sender
6421}
6422
6423// GetDisabledOrgs returns the DisabledOrgs field if it's non-nil, zero value otherwise.
6424func (o *OrgStats) GetDisabledOrgs() int {
6425	if o == nil || o.DisabledOrgs == nil {
6426		return 0
6427	}
6428	return *o.DisabledOrgs
6429}
6430
6431// GetTotalOrgs returns the TotalOrgs field if it's non-nil, zero value otherwise.
6432func (o *OrgStats) GetTotalOrgs() int {
6433	if o == nil || o.TotalOrgs == nil {
6434		return 0
6435	}
6436	return *o.TotalOrgs
6437}
6438
6439// GetTotalTeamMembers returns the TotalTeamMembers field if it's non-nil, zero value otherwise.
6440func (o *OrgStats) GetTotalTeamMembers() int {
6441	if o == nil || o.TotalTeamMembers == nil {
6442		return 0
6443	}
6444	return *o.TotalTeamMembers
6445}
6446
6447// GetTotalTeams returns the TotalTeams field if it's non-nil, zero value otherwise.
6448func (o *OrgStats) GetTotalTeams() int {
6449	if o == nil || o.TotalTeams == nil {
6450		return 0
6451	}
6452	return *o.TotalTeams
6453}
6454
6455// GetAction returns the Action field if it's non-nil, zero value otherwise.
6456func (p *Page) GetAction() string {
6457	if p == nil || p.Action == nil {
6458		return ""
6459	}
6460	return *p.Action
6461}
6462
6463// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
6464func (p *Page) GetHTMLURL() string {
6465	if p == nil || p.HTMLURL == nil {
6466		return ""
6467	}
6468	return *p.HTMLURL
6469}
6470
6471// GetPageName returns the PageName field if it's non-nil, zero value otherwise.
6472func (p *Page) GetPageName() string {
6473	if p == nil || p.PageName == nil {
6474		return ""
6475	}
6476	return *p.PageName
6477}
6478
6479// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
6480func (p *Page) GetSHA() string {
6481	if p == nil || p.SHA == nil {
6482		return ""
6483	}
6484	return *p.SHA
6485}
6486
6487// GetSummary returns the Summary field if it's non-nil, zero value otherwise.
6488func (p *Page) GetSummary() string {
6489	if p == nil || p.Summary == nil {
6490		return ""
6491	}
6492	return *p.Summary
6493}
6494
6495// GetTitle returns the Title field if it's non-nil, zero value otherwise.
6496func (p *Page) GetTitle() string {
6497	if p == nil || p.Title == nil {
6498		return ""
6499	}
6500	return *p.Title
6501}
6502
6503// GetBuild returns the Build field.
6504func (p *PageBuildEvent) GetBuild() *PagesBuild {
6505	if p == nil {
6506		return nil
6507	}
6508	return p.Build
6509}
6510
6511// GetID returns the ID field if it's non-nil, zero value otherwise.
6512func (p *PageBuildEvent) GetID() int64 {
6513	if p == nil || p.ID == nil {
6514		return 0
6515	}
6516	return *p.ID
6517}
6518
6519// GetInstallation returns the Installation field.
6520func (p *PageBuildEvent) GetInstallation() *Installation {
6521	if p == nil {
6522		return nil
6523	}
6524	return p.Installation
6525}
6526
6527// GetRepo returns the Repo field.
6528func (p *PageBuildEvent) GetRepo() *Repository {
6529	if p == nil {
6530		return nil
6531	}
6532	return p.Repo
6533}
6534
6535// GetSender returns the Sender field.
6536func (p *PageBuildEvent) GetSender() *User {
6537	if p == nil {
6538		return nil
6539	}
6540	return p.Sender
6541}
6542
6543// GetCNAME returns the CNAME field if it's non-nil, zero value otherwise.
6544func (p *Pages) GetCNAME() string {
6545	if p == nil || p.CNAME == nil {
6546		return ""
6547	}
6548	return *p.CNAME
6549}
6550
6551// GetCustom404 returns the Custom404 field if it's non-nil, zero value otherwise.
6552func (p *Pages) GetCustom404() bool {
6553	if p == nil || p.Custom404 == nil {
6554		return false
6555	}
6556	return *p.Custom404
6557}
6558
6559// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
6560func (p *Pages) GetHTMLURL() string {
6561	if p == nil || p.HTMLURL == nil {
6562		return ""
6563	}
6564	return *p.HTMLURL
6565}
6566
6567// GetSource returns the Source field.
6568func (p *Pages) GetSource() *PagesSource {
6569	if p == nil {
6570		return nil
6571	}
6572	return p.Source
6573}
6574
6575// GetStatus returns the Status field if it's non-nil, zero value otherwise.
6576func (p *Pages) GetStatus() string {
6577	if p == nil || p.Status == nil {
6578		return ""
6579	}
6580	return *p.Status
6581}
6582
6583// GetURL returns the URL field if it's non-nil, zero value otherwise.
6584func (p *Pages) GetURL() string {
6585	if p == nil || p.URL == nil {
6586		return ""
6587	}
6588	return *p.URL
6589}
6590
6591// GetCommit returns the Commit field if it's non-nil, zero value otherwise.
6592func (p *PagesBuild) GetCommit() string {
6593	if p == nil || p.Commit == nil {
6594		return ""
6595	}
6596	return *p.Commit
6597}
6598
6599// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
6600func (p *PagesBuild) GetCreatedAt() Timestamp {
6601	if p == nil || p.CreatedAt == nil {
6602		return Timestamp{}
6603	}
6604	return *p.CreatedAt
6605}
6606
6607// GetDuration returns the Duration field if it's non-nil, zero value otherwise.
6608func (p *PagesBuild) GetDuration() int {
6609	if p == nil || p.Duration == nil {
6610		return 0
6611	}
6612	return *p.Duration
6613}
6614
6615// GetError returns the Error field.
6616func (p *PagesBuild) GetError() *PagesError {
6617	if p == nil {
6618		return nil
6619	}
6620	return p.Error
6621}
6622
6623// GetPusher returns the Pusher field.
6624func (p *PagesBuild) GetPusher() *User {
6625	if p == nil {
6626		return nil
6627	}
6628	return p.Pusher
6629}
6630
6631// GetStatus returns the Status field if it's non-nil, zero value otherwise.
6632func (p *PagesBuild) GetStatus() string {
6633	if p == nil || p.Status == nil {
6634		return ""
6635	}
6636	return *p.Status
6637}
6638
6639// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
6640func (p *PagesBuild) GetUpdatedAt() Timestamp {
6641	if p == nil || p.UpdatedAt == nil {
6642		return Timestamp{}
6643	}
6644	return *p.UpdatedAt
6645}
6646
6647// GetURL returns the URL field if it's non-nil, zero value otherwise.
6648func (p *PagesBuild) GetURL() string {
6649	if p == nil || p.URL == nil {
6650		return ""
6651	}
6652	return *p.URL
6653}
6654
6655// GetMessage returns the Message field if it's non-nil, zero value otherwise.
6656func (p *PagesError) GetMessage() string {
6657	if p == nil || p.Message == nil {
6658		return ""
6659	}
6660	return *p.Message
6661}
6662
6663// GetBranch returns the Branch field if it's non-nil, zero value otherwise.
6664func (p *PagesSource) GetBranch() string {
6665	if p == nil || p.Branch == nil {
6666		return ""
6667	}
6668	return *p.Branch
6669}
6670
6671// GetPath returns the Path field if it's non-nil, zero value otherwise.
6672func (p *PagesSource) GetPath() string {
6673	if p == nil || p.Path == nil {
6674		return ""
6675	}
6676	return *p.Path
6677}
6678
6679// GetTotalPages returns the TotalPages field if it's non-nil, zero value otherwise.
6680func (p *PageStats) GetTotalPages() int {
6681	if p == nil || p.TotalPages == nil {
6682		return 0
6683	}
6684	return *p.TotalPages
6685}
6686
6687// GetHook returns the Hook field.
6688func (p *PingEvent) GetHook() *Hook {
6689	if p == nil {
6690		return nil
6691	}
6692	return p.Hook
6693}
6694
6695// GetHookID returns the HookID field if it's non-nil, zero value otherwise.
6696func (p *PingEvent) GetHookID() int64 {
6697	if p == nil || p.HookID == nil {
6698		return 0
6699	}
6700	return *p.HookID
6701}
6702
6703// GetInstallation returns the Installation field.
6704func (p *PingEvent) GetInstallation() *Installation {
6705	if p == nil {
6706		return nil
6707	}
6708	return p.Installation
6709}
6710
6711// GetZen returns the Zen field if it's non-nil, zero value otherwise.
6712func (p *PingEvent) GetZen() string {
6713	if p == nil || p.Zen == nil {
6714		return ""
6715	}
6716	return *p.Zen
6717}
6718
6719// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise.
6720func (p *Plan) GetCollaborators() int {
6721	if p == nil || p.Collaborators == nil {
6722		return 0
6723	}
6724	return *p.Collaborators
6725}
6726
6727// GetName returns the Name field if it's non-nil, zero value otherwise.
6728func (p *Plan) GetName() string {
6729	if p == nil || p.Name == nil {
6730		return ""
6731	}
6732	return *p.Name
6733}
6734
6735// GetPrivateRepos returns the PrivateRepos field if it's non-nil, zero value otherwise.
6736func (p *Plan) GetPrivateRepos() int {
6737	if p == nil || p.PrivateRepos == nil {
6738		return 0
6739	}
6740	return *p.PrivateRepos
6741}
6742
6743// GetSpace returns the Space field if it's non-nil, zero value otherwise.
6744func (p *Plan) GetSpace() int {
6745	if p == nil || p.Space == nil {
6746		return 0
6747	}
6748	return *p.Space
6749}
6750
6751// GetConfigURL returns the ConfigURL field if it's non-nil, zero value otherwise.
6752func (p *PreReceiveHook) GetConfigURL() string {
6753	if p == nil || p.ConfigURL == nil {
6754		return ""
6755	}
6756	return *p.ConfigURL
6757}
6758
6759// GetEnforcement returns the Enforcement field if it's non-nil, zero value otherwise.
6760func (p *PreReceiveHook) GetEnforcement() string {
6761	if p == nil || p.Enforcement == nil {
6762		return ""
6763	}
6764	return *p.Enforcement
6765}
6766
6767// GetID returns the ID field if it's non-nil, zero value otherwise.
6768func (p *PreReceiveHook) GetID() int64 {
6769	if p == nil || p.ID == nil {
6770		return 0
6771	}
6772	return *p.ID
6773}
6774
6775// GetName returns the Name field if it's non-nil, zero value otherwise.
6776func (p *PreReceiveHook) GetName() string {
6777	if p == nil || p.Name == nil {
6778		return ""
6779	}
6780	return *p.Name
6781}
6782
6783// GetHRef returns the HRef field if it's non-nil, zero value otherwise.
6784func (p *PRLink) GetHRef() string {
6785	if p == nil || p.HRef == nil {
6786		return ""
6787	}
6788	return *p.HRef
6789}
6790
6791// GetComments returns the Comments field.
6792func (p *PRLinks) GetComments() *PRLink {
6793	if p == nil {
6794		return nil
6795	}
6796	return p.Comments
6797}
6798
6799// GetCommits returns the Commits field.
6800func (p *PRLinks) GetCommits() *PRLink {
6801	if p == nil {
6802		return nil
6803	}
6804	return p.Commits
6805}
6806
6807// GetHTML returns the HTML field.
6808func (p *PRLinks) GetHTML() *PRLink {
6809	if p == nil {
6810		return nil
6811	}
6812	return p.HTML
6813}
6814
6815// GetIssue returns the Issue field.
6816func (p *PRLinks) GetIssue() *PRLink {
6817	if p == nil {
6818		return nil
6819	}
6820	return p.Issue
6821}
6822
6823// GetReviewComment returns the ReviewComment field.
6824func (p *PRLinks) GetReviewComment() *PRLink {
6825	if p == nil {
6826		return nil
6827	}
6828	return p.ReviewComment
6829}
6830
6831// GetReviewComments returns the ReviewComments field.
6832func (p *PRLinks) GetReviewComments() *PRLink {
6833	if p == nil {
6834		return nil
6835	}
6836	return p.ReviewComments
6837}
6838
6839// GetSelf returns the Self field.
6840func (p *PRLinks) GetSelf() *PRLink {
6841	if p == nil {
6842		return nil
6843	}
6844	return p.Self
6845}
6846
6847// GetStatuses returns the Statuses field.
6848func (p *PRLinks) GetStatuses() *PRLink {
6849	if p == nil {
6850		return nil
6851	}
6852	return p.Statuses
6853}
6854
6855// GetBody returns the Body field if it's non-nil, zero value otherwise.
6856func (p *Project) GetBody() string {
6857	if p == nil || p.Body == nil {
6858		return ""
6859	}
6860	return *p.Body
6861}
6862
6863// GetColumnsURL returns the ColumnsURL field if it's non-nil, zero value otherwise.
6864func (p *Project) GetColumnsURL() string {
6865	if p == nil || p.ColumnsURL == nil {
6866		return ""
6867	}
6868	return *p.ColumnsURL
6869}
6870
6871// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
6872func (p *Project) GetCreatedAt() Timestamp {
6873	if p == nil || p.CreatedAt == nil {
6874		return Timestamp{}
6875	}
6876	return *p.CreatedAt
6877}
6878
6879// GetCreator returns the Creator field.
6880func (p *Project) GetCreator() *User {
6881	if p == nil {
6882		return nil
6883	}
6884	return p.Creator
6885}
6886
6887// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
6888func (p *Project) GetHTMLURL() string {
6889	if p == nil || p.HTMLURL == nil {
6890		return ""
6891	}
6892	return *p.HTMLURL
6893}
6894
6895// GetID returns the ID field if it's non-nil, zero value otherwise.
6896func (p *Project) GetID() int64 {
6897	if p == nil || p.ID == nil {
6898		return 0
6899	}
6900	return *p.ID
6901}
6902
6903// GetName returns the Name field if it's non-nil, zero value otherwise.
6904func (p *Project) GetName() string {
6905	if p == nil || p.Name == nil {
6906		return ""
6907	}
6908	return *p.Name
6909}
6910
6911// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
6912func (p *Project) GetNodeID() string {
6913	if p == nil || p.NodeID == nil {
6914		return ""
6915	}
6916	return *p.NodeID
6917}
6918
6919// GetNumber returns the Number field if it's non-nil, zero value otherwise.
6920func (p *Project) GetNumber() int {
6921	if p == nil || p.Number == nil {
6922		return 0
6923	}
6924	return *p.Number
6925}
6926
6927// GetOwnerURL returns the OwnerURL field if it's non-nil, zero value otherwise.
6928func (p *Project) GetOwnerURL() string {
6929	if p == nil || p.OwnerURL == nil {
6930		return ""
6931	}
6932	return *p.OwnerURL
6933}
6934
6935// GetState returns the State field if it's non-nil, zero value otherwise.
6936func (p *Project) GetState() string {
6937	if p == nil || p.State == nil {
6938		return ""
6939	}
6940	return *p.State
6941}
6942
6943// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
6944func (p *Project) GetUpdatedAt() Timestamp {
6945	if p == nil || p.UpdatedAt == nil {
6946		return Timestamp{}
6947	}
6948	return *p.UpdatedAt
6949}
6950
6951// GetURL returns the URL field if it's non-nil, zero value otherwise.
6952func (p *Project) GetURL() string {
6953	if p == nil || p.URL == nil {
6954		return ""
6955	}
6956	return *p.URL
6957}
6958
6959// GetArchived returns the Archived field if it's non-nil, zero value otherwise.
6960func (p *ProjectCard) GetArchived() bool {
6961	if p == nil || p.Archived == nil {
6962		return false
6963	}
6964	return *p.Archived
6965}
6966
6967// GetColumnID returns the ColumnID field if it's non-nil, zero value otherwise.
6968func (p *ProjectCard) GetColumnID() int64 {
6969	if p == nil || p.ColumnID == nil {
6970		return 0
6971	}
6972	return *p.ColumnID
6973}
6974
6975// GetColumnName returns the ColumnName field if it's non-nil, zero value otherwise.
6976func (p *ProjectCard) GetColumnName() string {
6977	if p == nil || p.ColumnName == nil {
6978		return ""
6979	}
6980	return *p.ColumnName
6981}
6982
6983// GetColumnURL returns the ColumnURL field if it's non-nil, zero value otherwise.
6984func (p *ProjectCard) GetColumnURL() string {
6985	if p == nil || p.ColumnURL == nil {
6986		return ""
6987	}
6988	return *p.ColumnURL
6989}
6990
6991// GetContentURL returns the ContentURL field if it's non-nil, zero value otherwise.
6992func (p *ProjectCard) GetContentURL() string {
6993	if p == nil || p.ContentURL == nil {
6994		return ""
6995	}
6996	return *p.ContentURL
6997}
6998
6999// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
7000func (p *ProjectCard) GetCreatedAt() Timestamp {
7001	if p == nil || p.CreatedAt == nil {
7002		return Timestamp{}
7003	}
7004	return *p.CreatedAt
7005}
7006
7007// GetCreator returns the Creator field.
7008func (p *ProjectCard) GetCreator() *User {
7009	if p == nil {
7010		return nil
7011	}
7012	return p.Creator
7013}
7014
7015// GetID returns the ID field if it's non-nil, zero value otherwise.
7016func (p *ProjectCard) GetID() int64 {
7017	if p == nil || p.ID == nil {
7018		return 0
7019	}
7020	return *p.ID
7021}
7022
7023// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
7024func (p *ProjectCard) GetNodeID() string {
7025	if p == nil || p.NodeID == nil {
7026		return ""
7027	}
7028	return *p.NodeID
7029}
7030
7031// GetNote returns the Note field if it's non-nil, zero value otherwise.
7032func (p *ProjectCard) GetNote() string {
7033	if p == nil || p.Note == nil {
7034		return ""
7035	}
7036	return *p.Note
7037}
7038
7039// GetPreviousColumnName returns the PreviousColumnName field if it's non-nil, zero value otherwise.
7040func (p *ProjectCard) GetPreviousColumnName() string {
7041	if p == nil || p.PreviousColumnName == nil {
7042		return ""
7043	}
7044	return *p.PreviousColumnName
7045}
7046
7047// GetProjectID returns the ProjectID field if it's non-nil, zero value otherwise.
7048func (p *ProjectCard) GetProjectID() int64 {
7049	if p == nil || p.ProjectID == nil {
7050		return 0
7051	}
7052	return *p.ProjectID
7053}
7054
7055// GetProjectURL returns the ProjectURL field if it's non-nil, zero value otherwise.
7056func (p *ProjectCard) GetProjectURL() string {
7057	if p == nil || p.ProjectURL == nil {
7058		return ""
7059	}
7060	return *p.ProjectURL
7061}
7062
7063// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
7064func (p *ProjectCard) GetUpdatedAt() Timestamp {
7065	if p == nil || p.UpdatedAt == nil {
7066		return Timestamp{}
7067	}
7068	return *p.UpdatedAt
7069}
7070
7071// GetURL returns the URL field if it's non-nil, zero value otherwise.
7072func (p *ProjectCard) GetURL() string {
7073	if p == nil || p.URL == nil {
7074		return ""
7075	}
7076	return *p.URL
7077}
7078
7079// GetAction returns the Action field if it's non-nil, zero value otherwise.
7080func (p *ProjectCardEvent) GetAction() string {
7081	if p == nil || p.Action == nil {
7082		return ""
7083	}
7084	return *p.Action
7085}
7086
7087// GetAfterID returns the AfterID field if it's non-nil, zero value otherwise.
7088func (p *ProjectCardEvent) GetAfterID() int64 {
7089	if p == nil || p.AfterID == nil {
7090		return 0
7091	}
7092	return *p.AfterID
7093}
7094
7095// GetChanges returns the Changes field.
7096func (p *ProjectCardEvent) GetChanges() *ProjectCardChange {
7097	if p == nil {
7098		return nil
7099	}
7100	return p.Changes
7101}
7102
7103// GetInstallation returns the Installation field.
7104func (p *ProjectCardEvent) GetInstallation() *Installation {
7105	if p == nil {
7106		return nil
7107	}
7108	return p.Installation
7109}
7110
7111// GetOrg returns the Org field.
7112func (p *ProjectCardEvent) GetOrg() *Organization {
7113	if p == nil {
7114		return nil
7115	}
7116	return p.Org
7117}
7118
7119// GetProjectCard returns the ProjectCard field.
7120func (p *ProjectCardEvent) GetProjectCard() *ProjectCard {
7121	if p == nil {
7122		return nil
7123	}
7124	return p.ProjectCard
7125}
7126
7127// GetRepo returns the Repo field.
7128func (p *ProjectCardEvent) GetRepo() *Repository {
7129	if p == nil {
7130		return nil
7131	}
7132	return p.Repo
7133}
7134
7135// GetSender returns the Sender field.
7136func (p *ProjectCardEvent) GetSender() *User {
7137	if p == nil {
7138		return nil
7139	}
7140	return p.Sender
7141}
7142
7143// GetArchivedState returns the ArchivedState field if it's non-nil, zero value otherwise.
7144func (p *ProjectCardListOptions) GetArchivedState() string {
7145	if p == nil || p.ArchivedState == nil {
7146		return ""
7147	}
7148	return *p.ArchivedState
7149}
7150
7151// GetArchived returns the Archived field if it's non-nil, zero value otherwise.
7152func (p *ProjectCardOptions) GetArchived() bool {
7153	if p == nil || p.Archived == nil {
7154		return false
7155	}
7156	return *p.Archived
7157}
7158
7159// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
7160func (p *ProjectCollaboratorOptions) GetPermission() string {
7161	if p == nil || p.Permission == nil {
7162		return ""
7163	}
7164	return *p.Permission
7165}
7166
7167// GetCardsURL returns the CardsURL field if it's non-nil, zero value otherwise.
7168func (p *ProjectColumn) GetCardsURL() string {
7169	if p == nil || p.CardsURL == nil {
7170		return ""
7171	}
7172	return *p.CardsURL
7173}
7174
7175// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
7176func (p *ProjectColumn) GetCreatedAt() Timestamp {
7177	if p == nil || p.CreatedAt == nil {
7178		return Timestamp{}
7179	}
7180	return *p.CreatedAt
7181}
7182
7183// GetID returns the ID field if it's non-nil, zero value otherwise.
7184func (p *ProjectColumn) GetID() int64 {
7185	if p == nil || p.ID == nil {
7186		return 0
7187	}
7188	return *p.ID
7189}
7190
7191// GetName returns the Name field if it's non-nil, zero value otherwise.
7192func (p *ProjectColumn) GetName() string {
7193	if p == nil || p.Name == nil {
7194		return ""
7195	}
7196	return *p.Name
7197}
7198
7199// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
7200func (p *ProjectColumn) GetNodeID() string {
7201	if p == nil || p.NodeID == nil {
7202		return ""
7203	}
7204	return *p.NodeID
7205}
7206
7207// GetProjectURL returns the ProjectURL field if it's non-nil, zero value otherwise.
7208func (p *ProjectColumn) GetProjectURL() string {
7209	if p == nil || p.ProjectURL == nil {
7210		return ""
7211	}
7212	return *p.ProjectURL
7213}
7214
7215// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
7216func (p *ProjectColumn) GetUpdatedAt() Timestamp {
7217	if p == nil || p.UpdatedAt == nil {
7218		return Timestamp{}
7219	}
7220	return *p.UpdatedAt
7221}
7222
7223// GetURL returns the URL field if it's non-nil, zero value otherwise.
7224func (p *ProjectColumn) GetURL() string {
7225	if p == nil || p.URL == nil {
7226		return ""
7227	}
7228	return *p.URL
7229}
7230
7231// GetAction returns the Action field if it's non-nil, zero value otherwise.
7232func (p *ProjectColumnEvent) GetAction() string {
7233	if p == nil || p.Action == nil {
7234		return ""
7235	}
7236	return *p.Action
7237}
7238
7239// GetAfterID returns the AfterID field if it's non-nil, zero value otherwise.
7240func (p *ProjectColumnEvent) GetAfterID() int64 {
7241	if p == nil || p.AfterID == nil {
7242		return 0
7243	}
7244	return *p.AfterID
7245}
7246
7247// GetChanges returns the Changes field.
7248func (p *ProjectColumnEvent) GetChanges() *ProjectColumnChange {
7249	if p == nil {
7250		return nil
7251	}
7252	return p.Changes
7253}
7254
7255// GetInstallation returns the Installation field.
7256func (p *ProjectColumnEvent) GetInstallation() *Installation {
7257	if p == nil {
7258		return nil
7259	}
7260	return p.Installation
7261}
7262
7263// GetOrg returns the Org field.
7264func (p *ProjectColumnEvent) GetOrg() *Organization {
7265	if p == nil {
7266		return nil
7267	}
7268	return p.Org
7269}
7270
7271// GetProjectColumn returns the ProjectColumn field.
7272func (p *ProjectColumnEvent) GetProjectColumn() *ProjectColumn {
7273	if p == nil {
7274		return nil
7275	}
7276	return p.ProjectColumn
7277}
7278
7279// GetRepo returns the Repo field.
7280func (p *ProjectColumnEvent) GetRepo() *Repository {
7281	if p == nil {
7282		return nil
7283	}
7284	return p.Repo
7285}
7286
7287// GetSender returns the Sender field.
7288func (p *ProjectColumnEvent) GetSender() *User {
7289	if p == nil {
7290		return nil
7291	}
7292	return p.Sender
7293}
7294
7295// GetAction returns the Action field if it's non-nil, zero value otherwise.
7296func (p *ProjectEvent) GetAction() string {
7297	if p == nil || p.Action == nil {
7298		return ""
7299	}
7300	return *p.Action
7301}
7302
7303// GetChanges returns the Changes field.
7304func (p *ProjectEvent) GetChanges() *ProjectChange {
7305	if p == nil {
7306		return nil
7307	}
7308	return p.Changes
7309}
7310
7311// GetInstallation returns the Installation field.
7312func (p *ProjectEvent) GetInstallation() *Installation {
7313	if p == nil {
7314		return nil
7315	}
7316	return p.Installation
7317}
7318
7319// GetOrg returns the Org field.
7320func (p *ProjectEvent) GetOrg() *Organization {
7321	if p == nil {
7322		return nil
7323	}
7324	return p.Org
7325}
7326
7327// GetProject returns the Project field.
7328func (p *ProjectEvent) GetProject() *Project {
7329	if p == nil {
7330		return nil
7331	}
7332	return p.Project
7333}
7334
7335// GetRepo returns the Repo field.
7336func (p *ProjectEvent) GetRepo() *Repository {
7337	if p == nil {
7338		return nil
7339	}
7340	return p.Repo
7341}
7342
7343// GetSender returns the Sender field.
7344func (p *ProjectEvent) GetSender() *User {
7345	if p == nil {
7346		return nil
7347	}
7348	return p.Sender
7349}
7350
7351// GetBody returns the Body field if it's non-nil, zero value otherwise.
7352func (p *ProjectOptions) GetBody() string {
7353	if p == nil || p.Body == nil {
7354		return ""
7355	}
7356	return *p.Body
7357}
7358
7359// GetName returns the Name field if it's non-nil, zero value otherwise.
7360func (p *ProjectOptions) GetName() string {
7361	if p == nil || p.Name == nil {
7362		return ""
7363	}
7364	return *p.Name
7365}
7366
7367// GetOrganizationPermission returns the OrganizationPermission field if it's non-nil, zero value otherwise.
7368func (p *ProjectOptions) GetOrganizationPermission() string {
7369	if p == nil || p.OrganizationPermission == nil {
7370		return ""
7371	}
7372	return *p.OrganizationPermission
7373}
7374
7375// GetPublic returns the Public field if it's non-nil, zero value otherwise.
7376func (p *ProjectOptions) GetPublic() bool {
7377	if p == nil || p.Public == nil {
7378		return false
7379	}
7380	return *p.Public
7381}
7382
7383// GetState returns the State field if it's non-nil, zero value otherwise.
7384func (p *ProjectOptions) GetState() string {
7385	if p == nil || p.State == nil {
7386		return ""
7387	}
7388	return *p.State
7389}
7390
7391// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
7392func (p *ProjectPermissionLevel) GetPermission() string {
7393	if p == nil || p.Permission == nil {
7394		return ""
7395	}
7396	return *p.Permission
7397}
7398
7399// GetUser returns the User field.
7400func (p *ProjectPermissionLevel) GetUser() *User {
7401	if p == nil {
7402		return nil
7403	}
7404	return p.User
7405}
7406
7407// GetEnforceAdmins returns the EnforceAdmins field.
7408func (p *Protection) GetEnforceAdmins() *AdminEnforcement {
7409	if p == nil {
7410		return nil
7411	}
7412	return p.EnforceAdmins
7413}
7414
7415// GetRequiredPullRequestReviews returns the RequiredPullRequestReviews field.
7416func (p *Protection) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcement {
7417	if p == nil {
7418		return nil
7419	}
7420	return p.RequiredPullRequestReviews
7421}
7422
7423// GetRequiredStatusChecks returns the RequiredStatusChecks field.
7424func (p *Protection) GetRequiredStatusChecks() *RequiredStatusChecks {
7425	if p == nil {
7426		return nil
7427	}
7428	return p.RequiredStatusChecks
7429}
7430
7431// GetRestrictions returns the Restrictions field.
7432func (p *Protection) GetRestrictions() *BranchRestrictions {
7433	if p == nil {
7434		return nil
7435	}
7436	return p.Restrictions
7437}
7438
7439// GetRequiredPullRequestReviews returns the RequiredPullRequestReviews field.
7440func (p *ProtectionRequest) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcementRequest {
7441	if p == nil {
7442		return nil
7443	}
7444	return p.RequiredPullRequestReviews
7445}
7446
7447// GetRequiredStatusChecks returns the RequiredStatusChecks field.
7448func (p *ProtectionRequest) GetRequiredStatusChecks() *RequiredStatusChecks {
7449	if p == nil {
7450		return nil
7451	}
7452	return p.RequiredStatusChecks
7453}
7454
7455// GetRestrictions returns the Restrictions field.
7456func (p *ProtectionRequest) GetRestrictions() *BranchRestrictionsRequest {
7457	if p == nil {
7458		return nil
7459	}
7460	return p.Restrictions
7461}
7462
7463// GetInstallation returns the Installation field.
7464func (p *PublicEvent) GetInstallation() *Installation {
7465	if p == nil {
7466		return nil
7467	}
7468	return p.Installation
7469}
7470
7471// GetRepo returns the Repo field.
7472func (p *PublicEvent) GetRepo() *Repository {
7473	if p == nil {
7474		return nil
7475	}
7476	return p.Repo
7477}
7478
7479// GetSender returns the Sender field.
7480func (p *PublicEvent) GetSender() *User {
7481	if p == nil {
7482		return nil
7483	}
7484	return p.Sender
7485}
7486
7487// GetExpectedHeadSHA returns the ExpectedHeadSHA field if it's non-nil, zero value otherwise.
7488func (p *PullReqestBranchUpdateOptions) GetExpectedHeadSHA() string {
7489	if p == nil || p.ExpectedHeadSHA == nil {
7490		return ""
7491	}
7492	return *p.ExpectedHeadSHA
7493}
7494
7495// GetActiveLockReason returns the ActiveLockReason field if it's non-nil, zero value otherwise.
7496func (p *PullRequest) GetActiveLockReason() string {
7497	if p == nil || p.ActiveLockReason == nil {
7498		return ""
7499	}
7500	return *p.ActiveLockReason
7501}
7502
7503// GetAdditions returns the Additions field if it's non-nil, zero value otherwise.
7504func (p *PullRequest) GetAdditions() int {
7505	if p == nil || p.Additions == nil {
7506		return 0
7507	}
7508	return *p.Additions
7509}
7510
7511// GetAssignee returns the Assignee field.
7512func (p *PullRequest) GetAssignee() *User {
7513	if p == nil {
7514		return nil
7515	}
7516	return p.Assignee
7517}
7518
7519// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise.
7520func (p *PullRequest) GetAuthorAssociation() string {
7521	if p == nil || p.AuthorAssociation == nil {
7522		return ""
7523	}
7524	return *p.AuthorAssociation
7525}
7526
7527// GetBase returns the Base field.
7528func (p *PullRequest) GetBase() *PullRequestBranch {
7529	if p == nil {
7530		return nil
7531	}
7532	return p.Base
7533}
7534
7535// GetBody returns the Body field if it's non-nil, zero value otherwise.
7536func (p *PullRequest) GetBody() string {
7537	if p == nil || p.Body == nil {
7538		return ""
7539	}
7540	return *p.Body
7541}
7542
7543// GetChangedFiles returns the ChangedFiles field if it's non-nil, zero value otherwise.
7544func (p *PullRequest) GetChangedFiles() int {
7545	if p == nil || p.ChangedFiles == nil {
7546		return 0
7547	}
7548	return *p.ChangedFiles
7549}
7550
7551// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise.
7552func (p *PullRequest) GetClosedAt() time.Time {
7553	if p == nil || p.ClosedAt == nil {
7554		return time.Time{}
7555	}
7556	return *p.ClosedAt
7557}
7558
7559// GetComments returns the Comments field if it's non-nil, zero value otherwise.
7560func (p *PullRequest) GetComments() int {
7561	if p == nil || p.Comments == nil {
7562		return 0
7563	}
7564	return *p.Comments
7565}
7566
7567// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
7568func (p *PullRequest) GetCommentsURL() string {
7569	if p == nil || p.CommentsURL == nil {
7570		return ""
7571	}
7572	return *p.CommentsURL
7573}
7574
7575// GetCommits returns the Commits field if it's non-nil, zero value otherwise.
7576func (p *PullRequest) GetCommits() int {
7577	if p == nil || p.Commits == nil {
7578		return 0
7579	}
7580	return *p.Commits
7581}
7582
7583// GetCommitsURL returns the CommitsURL field if it's non-nil, zero value otherwise.
7584func (p *PullRequest) GetCommitsURL() string {
7585	if p == nil || p.CommitsURL == nil {
7586		return ""
7587	}
7588	return *p.CommitsURL
7589}
7590
7591// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
7592func (p *PullRequest) GetCreatedAt() time.Time {
7593	if p == nil || p.CreatedAt == nil {
7594		return time.Time{}
7595	}
7596	return *p.CreatedAt
7597}
7598
7599// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise.
7600func (p *PullRequest) GetDeletions() int {
7601	if p == nil || p.Deletions == nil {
7602		return 0
7603	}
7604	return *p.Deletions
7605}
7606
7607// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise.
7608func (p *PullRequest) GetDiffURL() string {
7609	if p == nil || p.DiffURL == nil {
7610		return ""
7611	}
7612	return *p.DiffURL
7613}
7614
7615// GetDraft returns the Draft field if it's non-nil, zero value otherwise.
7616func (p *PullRequest) GetDraft() bool {
7617	if p == nil || p.Draft == nil {
7618		return false
7619	}
7620	return *p.Draft
7621}
7622
7623// GetHead returns the Head field.
7624func (p *PullRequest) GetHead() *PullRequestBranch {
7625	if p == nil {
7626		return nil
7627	}
7628	return p.Head
7629}
7630
7631// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
7632func (p *PullRequest) GetHTMLURL() string {
7633	if p == nil || p.HTMLURL == nil {
7634		return ""
7635	}
7636	return *p.HTMLURL
7637}
7638
7639// GetID returns the ID field if it's non-nil, zero value otherwise.
7640func (p *PullRequest) GetID() int64 {
7641	if p == nil || p.ID == nil {
7642		return 0
7643	}
7644	return *p.ID
7645}
7646
7647// GetIssueURL returns the IssueURL field if it's non-nil, zero value otherwise.
7648func (p *PullRequest) GetIssueURL() string {
7649	if p == nil || p.IssueURL == nil {
7650		return ""
7651	}
7652	return *p.IssueURL
7653}
7654
7655// GetLinks returns the Links field.
7656func (p *PullRequest) GetLinks() *PRLinks {
7657	if p == nil {
7658		return nil
7659	}
7660	return p.Links
7661}
7662
7663// GetLocked returns the Locked field if it's non-nil, zero value otherwise.
7664func (p *PullRequest) GetLocked() bool {
7665	if p == nil || p.Locked == nil {
7666		return false
7667	}
7668	return *p.Locked
7669}
7670
7671// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise.
7672func (p *PullRequest) GetMaintainerCanModify() bool {
7673	if p == nil || p.MaintainerCanModify == nil {
7674		return false
7675	}
7676	return *p.MaintainerCanModify
7677}
7678
7679// GetMergeable returns the Mergeable field if it's non-nil, zero value otherwise.
7680func (p *PullRequest) GetMergeable() bool {
7681	if p == nil || p.Mergeable == nil {
7682		return false
7683	}
7684	return *p.Mergeable
7685}
7686
7687// GetMergeableState returns the MergeableState field if it's non-nil, zero value otherwise.
7688func (p *PullRequest) GetMergeableState() string {
7689	if p == nil || p.MergeableState == nil {
7690		return ""
7691	}
7692	return *p.MergeableState
7693}
7694
7695// GetMergeCommitSHA returns the MergeCommitSHA field if it's non-nil, zero value otherwise.
7696func (p *PullRequest) GetMergeCommitSHA() string {
7697	if p == nil || p.MergeCommitSHA == nil {
7698		return ""
7699	}
7700	return *p.MergeCommitSHA
7701}
7702
7703// GetMerged returns the Merged field if it's non-nil, zero value otherwise.
7704func (p *PullRequest) GetMerged() bool {
7705	if p == nil || p.Merged == nil {
7706		return false
7707	}
7708	return *p.Merged
7709}
7710
7711// GetMergedAt returns the MergedAt field if it's non-nil, zero value otherwise.
7712func (p *PullRequest) GetMergedAt() time.Time {
7713	if p == nil || p.MergedAt == nil {
7714		return time.Time{}
7715	}
7716	return *p.MergedAt
7717}
7718
7719// GetMergedBy returns the MergedBy field.
7720func (p *PullRequest) GetMergedBy() *User {
7721	if p == nil {
7722		return nil
7723	}
7724	return p.MergedBy
7725}
7726
7727// GetMilestone returns the Milestone field.
7728func (p *PullRequest) GetMilestone() *Milestone {
7729	if p == nil {
7730		return nil
7731	}
7732	return p.Milestone
7733}
7734
7735// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
7736func (p *PullRequest) GetNodeID() string {
7737	if p == nil || p.NodeID == nil {
7738		return ""
7739	}
7740	return *p.NodeID
7741}
7742
7743// GetNumber returns the Number field if it's non-nil, zero value otherwise.
7744func (p *PullRequest) GetNumber() int {
7745	if p == nil || p.Number == nil {
7746		return 0
7747	}
7748	return *p.Number
7749}
7750
7751// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise.
7752func (p *PullRequest) GetPatchURL() string {
7753	if p == nil || p.PatchURL == nil {
7754		return ""
7755	}
7756	return *p.PatchURL
7757}
7758
7759// GetRebaseable returns the Rebaseable field if it's non-nil, zero value otherwise.
7760func (p *PullRequest) GetRebaseable() bool {
7761	if p == nil || p.Rebaseable == nil {
7762		return false
7763	}
7764	return *p.Rebaseable
7765}
7766
7767// GetReviewComments returns the ReviewComments field if it's non-nil, zero value otherwise.
7768func (p *PullRequest) GetReviewComments() int {
7769	if p == nil || p.ReviewComments == nil {
7770		return 0
7771	}
7772	return *p.ReviewComments
7773}
7774
7775// GetReviewCommentsURL returns the ReviewCommentsURL field if it's non-nil, zero value otherwise.
7776func (p *PullRequest) GetReviewCommentsURL() string {
7777	if p == nil || p.ReviewCommentsURL == nil {
7778		return ""
7779	}
7780	return *p.ReviewCommentsURL
7781}
7782
7783// GetReviewCommentURL returns the ReviewCommentURL field if it's non-nil, zero value otherwise.
7784func (p *PullRequest) GetReviewCommentURL() string {
7785	if p == nil || p.ReviewCommentURL == nil {
7786		return ""
7787	}
7788	return *p.ReviewCommentURL
7789}
7790
7791// GetState returns the State field if it's non-nil, zero value otherwise.
7792func (p *PullRequest) GetState() string {
7793	if p == nil || p.State == nil {
7794		return ""
7795	}
7796	return *p.State
7797}
7798
7799// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise.
7800func (p *PullRequest) GetStatusesURL() string {
7801	if p == nil || p.StatusesURL == nil {
7802		return ""
7803	}
7804	return *p.StatusesURL
7805}
7806
7807// GetTitle returns the Title field if it's non-nil, zero value otherwise.
7808func (p *PullRequest) GetTitle() string {
7809	if p == nil || p.Title == nil {
7810		return ""
7811	}
7812	return *p.Title
7813}
7814
7815// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
7816func (p *PullRequest) GetUpdatedAt() time.Time {
7817	if p == nil || p.UpdatedAt == nil {
7818		return time.Time{}
7819	}
7820	return *p.UpdatedAt
7821}
7822
7823// GetURL returns the URL field if it's non-nil, zero value otherwise.
7824func (p *PullRequest) GetURL() string {
7825	if p == nil || p.URL == nil {
7826		return ""
7827	}
7828	return *p.URL
7829}
7830
7831// GetUser returns the User field.
7832func (p *PullRequest) GetUser() *User {
7833	if p == nil {
7834		return nil
7835	}
7836	return p.User
7837}
7838
7839// GetLabel returns the Label field if it's non-nil, zero value otherwise.
7840func (p *PullRequestBranch) GetLabel() string {
7841	if p == nil || p.Label == nil {
7842		return ""
7843	}
7844	return *p.Label
7845}
7846
7847// GetRef returns the Ref field if it's non-nil, zero value otherwise.
7848func (p *PullRequestBranch) GetRef() string {
7849	if p == nil || p.Ref == nil {
7850		return ""
7851	}
7852	return *p.Ref
7853}
7854
7855// GetRepo returns the Repo field.
7856func (p *PullRequestBranch) GetRepo() *Repository {
7857	if p == nil {
7858		return nil
7859	}
7860	return p.Repo
7861}
7862
7863// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
7864func (p *PullRequestBranch) GetSHA() string {
7865	if p == nil || p.SHA == nil {
7866		return ""
7867	}
7868	return *p.SHA
7869}
7870
7871// GetUser returns the User field.
7872func (p *PullRequestBranch) GetUser() *User {
7873	if p == nil {
7874		return nil
7875	}
7876	return p.User
7877}
7878
7879// GetMessage returns the Message field if it's non-nil, zero value otherwise.
7880func (p *PullRequestBranchUpdateResponse) GetMessage() string {
7881	if p == nil || p.Message == nil {
7882		return ""
7883	}
7884	return *p.Message
7885}
7886
7887// GetURL returns the URL field if it's non-nil, zero value otherwise.
7888func (p *PullRequestBranchUpdateResponse) GetURL() string {
7889	if p == nil || p.URL == nil {
7890		return ""
7891	}
7892	return *p.URL
7893}
7894
7895// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise.
7896func (p *PullRequestComment) GetAuthorAssociation() string {
7897	if p == nil || p.AuthorAssociation == nil {
7898		return ""
7899	}
7900	return *p.AuthorAssociation
7901}
7902
7903// GetBody returns the Body field if it's non-nil, zero value otherwise.
7904func (p *PullRequestComment) GetBody() string {
7905	if p == nil || p.Body == nil {
7906		return ""
7907	}
7908	return *p.Body
7909}
7910
7911// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
7912func (p *PullRequestComment) GetCommitID() string {
7913	if p == nil || p.CommitID == nil {
7914		return ""
7915	}
7916	return *p.CommitID
7917}
7918
7919// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
7920func (p *PullRequestComment) GetCreatedAt() time.Time {
7921	if p == nil || p.CreatedAt == nil {
7922		return time.Time{}
7923	}
7924	return *p.CreatedAt
7925}
7926
7927// GetDiffHunk returns the DiffHunk field if it's non-nil, zero value otherwise.
7928func (p *PullRequestComment) GetDiffHunk() string {
7929	if p == nil || p.DiffHunk == nil {
7930		return ""
7931	}
7932	return *p.DiffHunk
7933}
7934
7935// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
7936func (p *PullRequestComment) GetHTMLURL() string {
7937	if p == nil || p.HTMLURL == nil {
7938		return ""
7939	}
7940	return *p.HTMLURL
7941}
7942
7943// GetID returns the ID field if it's non-nil, zero value otherwise.
7944func (p *PullRequestComment) GetID() int64 {
7945	if p == nil || p.ID == nil {
7946		return 0
7947	}
7948	return *p.ID
7949}
7950
7951// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise.
7952func (p *PullRequestComment) GetInReplyTo() int64 {
7953	if p == nil || p.InReplyTo == nil {
7954		return 0
7955	}
7956	return *p.InReplyTo
7957}
7958
7959// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
7960func (p *PullRequestComment) GetNodeID() string {
7961	if p == nil || p.NodeID == nil {
7962		return ""
7963	}
7964	return *p.NodeID
7965}
7966
7967// GetOriginalCommitID returns the OriginalCommitID field if it's non-nil, zero value otherwise.
7968func (p *PullRequestComment) GetOriginalCommitID() string {
7969	if p == nil || p.OriginalCommitID == nil {
7970		return ""
7971	}
7972	return *p.OriginalCommitID
7973}
7974
7975// GetOriginalPosition returns the OriginalPosition field if it's non-nil, zero value otherwise.
7976func (p *PullRequestComment) GetOriginalPosition() int {
7977	if p == nil || p.OriginalPosition == nil {
7978		return 0
7979	}
7980	return *p.OriginalPosition
7981}
7982
7983// GetPath returns the Path field if it's non-nil, zero value otherwise.
7984func (p *PullRequestComment) GetPath() string {
7985	if p == nil || p.Path == nil {
7986		return ""
7987	}
7988	return *p.Path
7989}
7990
7991// GetPosition returns the Position field if it's non-nil, zero value otherwise.
7992func (p *PullRequestComment) GetPosition() int {
7993	if p == nil || p.Position == nil {
7994		return 0
7995	}
7996	return *p.Position
7997}
7998
7999// GetPullRequestReviewID returns the PullRequestReviewID field if it's non-nil, zero value otherwise.
8000func (p *PullRequestComment) GetPullRequestReviewID() int64 {
8001	if p == nil || p.PullRequestReviewID == nil {
8002		return 0
8003	}
8004	return *p.PullRequestReviewID
8005}
8006
8007// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise.
8008func (p *PullRequestComment) GetPullRequestURL() string {
8009	if p == nil || p.PullRequestURL == nil {
8010		return ""
8011	}
8012	return *p.PullRequestURL
8013}
8014
8015// GetReactions returns the Reactions field.
8016func (p *PullRequestComment) GetReactions() *Reactions {
8017	if p == nil {
8018		return nil
8019	}
8020	return p.Reactions
8021}
8022
8023// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
8024func (p *PullRequestComment) GetUpdatedAt() time.Time {
8025	if p == nil || p.UpdatedAt == nil {
8026		return time.Time{}
8027	}
8028	return *p.UpdatedAt
8029}
8030
8031// GetURL returns the URL field if it's non-nil, zero value otherwise.
8032func (p *PullRequestComment) GetURL() string {
8033	if p == nil || p.URL == nil {
8034		return ""
8035	}
8036	return *p.URL
8037}
8038
8039// GetUser returns the User field.
8040func (p *PullRequestComment) GetUser() *User {
8041	if p == nil {
8042		return nil
8043	}
8044	return p.User
8045}
8046
8047// GetAction returns the Action field if it's non-nil, zero value otherwise.
8048func (p *PullRequestEvent) GetAction() string {
8049	if p == nil || p.Action == nil {
8050		return ""
8051	}
8052	return *p.Action
8053}
8054
8055// GetAssignee returns the Assignee field.
8056func (p *PullRequestEvent) GetAssignee() *User {
8057	if p == nil {
8058		return nil
8059	}
8060	return p.Assignee
8061}
8062
8063// GetChanges returns the Changes field.
8064func (p *PullRequestEvent) GetChanges() *EditChange {
8065	if p == nil {
8066		return nil
8067	}
8068	return p.Changes
8069}
8070
8071// GetInstallation returns the Installation field.
8072func (p *PullRequestEvent) GetInstallation() *Installation {
8073	if p == nil {
8074		return nil
8075	}
8076	return p.Installation
8077}
8078
8079// GetLabel returns the Label field.
8080func (p *PullRequestEvent) GetLabel() *Label {
8081	if p == nil {
8082		return nil
8083	}
8084	return p.Label
8085}
8086
8087// GetNumber returns the Number field if it's non-nil, zero value otherwise.
8088func (p *PullRequestEvent) GetNumber() int {
8089	if p == nil || p.Number == nil {
8090		return 0
8091	}
8092	return *p.Number
8093}
8094
8095// GetOrganization returns the Organization field.
8096func (p *PullRequestEvent) GetOrganization() *Organization {
8097	if p == nil {
8098		return nil
8099	}
8100	return p.Organization
8101}
8102
8103// GetPullRequest returns the PullRequest field.
8104func (p *PullRequestEvent) GetPullRequest() *PullRequest {
8105	if p == nil {
8106		return nil
8107	}
8108	return p.PullRequest
8109}
8110
8111// GetRepo returns the Repo field.
8112func (p *PullRequestEvent) GetRepo() *Repository {
8113	if p == nil {
8114		return nil
8115	}
8116	return p.Repo
8117}
8118
8119// GetRequestedReviewer returns the RequestedReviewer field.
8120func (p *PullRequestEvent) GetRequestedReviewer() *User {
8121	if p == nil {
8122		return nil
8123	}
8124	return p.RequestedReviewer
8125}
8126
8127// GetRequestedTeam returns the RequestedTeam field.
8128func (p *PullRequestEvent) GetRequestedTeam() *Team {
8129	if p == nil {
8130		return nil
8131	}
8132	return p.RequestedTeam
8133}
8134
8135// GetSender returns the Sender field.
8136func (p *PullRequestEvent) GetSender() *User {
8137	if p == nil {
8138		return nil
8139	}
8140	return p.Sender
8141}
8142
8143// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise.
8144func (p *PullRequestLinks) GetDiffURL() string {
8145	if p == nil || p.DiffURL == nil {
8146		return ""
8147	}
8148	return *p.DiffURL
8149}
8150
8151// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
8152func (p *PullRequestLinks) GetHTMLURL() string {
8153	if p == nil || p.HTMLURL == nil {
8154		return ""
8155	}
8156	return *p.HTMLURL
8157}
8158
8159// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise.
8160func (p *PullRequestLinks) GetPatchURL() string {
8161	if p == nil || p.PatchURL == nil {
8162		return ""
8163	}
8164	return *p.PatchURL
8165}
8166
8167// GetURL returns the URL field if it's non-nil, zero value otherwise.
8168func (p *PullRequestLinks) GetURL() string {
8169	if p == nil || p.URL == nil {
8170		return ""
8171	}
8172	return *p.URL
8173}
8174
8175// GetMerged returns the Merged field if it's non-nil, zero value otherwise.
8176func (p *PullRequestMergeResult) GetMerged() bool {
8177	if p == nil || p.Merged == nil {
8178		return false
8179	}
8180	return *p.Merged
8181}
8182
8183// GetMessage returns the Message field if it's non-nil, zero value otherwise.
8184func (p *PullRequestMergeResult) GetMessage() string {
8185	if p == nil || p.Message == nil {
8186		return ""
8187	}
8188	return *p.Message
8189}
8190
8191// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
8192func (p *PullRequestMergeResult) GetSHA() string {
8193	if p == nil || p.SHA == nil {
8194		return ""
8195	}
8196	return *p.SHA
8197}
8198
8199// GetBody returns the Body field if it's non-nil, zero value otherwise.
8200func (p *PullRequestReview) GetBody() string {
8201	if p == nil || p.Body == nil {
8202		return ""
8203	}
8204	return *p.Body
8205}
8206
8207// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
8208func (p *PullRequestReview) GetCommitID() string {
8209	if p == nil || p.CommitID == nil {
8210		return ""
8211	}
8212	return *p.CommitID
8213}
8214
8215// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
8216func (p *PullRequestReview) GetHTMLURL() string {
8217	if p == nil || p.HTMLURL == nil {
8218		return ""
8219	}
8220	return *p.HTMLURL
8221}
8222
8223// GetID returns the ID field if it's non-nil, zero value otherwise.
8224func (p *PullRequestReview) GetID() int64 {
8225	if p == nil || p.ID == nil {
8226		return 0
8227	}
8228	return *p.ID
8229}
8230
8231// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
8232func (p *PullRequestReview) GetNodeID() string {
8233	if p == nil || p.NodeID == nil {
8234		return ""
8235	}
8236	return *p.NodeID
8237}
8238
8239// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise.
8240func (p *PullRequestReview) GetPullRequestURL() string {
8241	if p == nil || p.PullRequestURL == nil {
8242		return ""
8243	}
8244	return *p.PullRequestURL
8245}
8246
8247// GetState returns the State field if it's non-nil, zero value otherwise.
8248func (p *PullRequestReview) GetState() string {
8249	if p == nil || p.State == nil {
8250		return ""
8251	}
8252	return *p.State
8253}
8254
8255// GetSubmittedAt returns the SubmittedAt field if it's non-nil, zero value otherwise.
8256func (p *PullRequestReview) GetSubmittedAt() time.Time {
8257	if p == nil || p.SubmittedAt == nil {
8258		return time.Time{}
8259	}
8260	return *p.SubmittedAt
8261}
8262
8263// GetUser returns the User field.
8264func (p *PullRequestReview) GetUser() *User {
8265	if p == nil {
8266		return nil
8267	}
8268	return p.User
8269}
8270
8271// GetAction returns the Action field if it's non-nil, zero value otherwise.
8272func (p *PullRequestReviewCommentEvent) GetAction() string {
8273	if p == nil || p.Action == nil {
8274		return ""
8275	}
8276	return *p.Action
8277}
8278
8279// GetChanges returns the Changes field.
8280func (p *PullRequestReviewCommentEvent) GetChanges() *EditChange {
8281	if p == nil {
8282		return nil
8283	}
8284	return p.Changes
8285}
8286
8287// GetComment returns the Comment field.
8288func (p *PullRequestReviewCommentEvent) GetComment() *PullRequestComment {
8289	if p == nil {
8290		return nil
8291	}
8292	return p.Comment
8293}
8294
8295// GetInstallation returns the Installation field.
8296func (p *PullRequestReviewCommentEvent) GetInstallation() *Installation {
8297	if p == nil {
8298		return nil
8299	}
8300	return p.Installation
8301}
8302
8303// GetPullRequest returns the PullRequest field.
8304func (p *PullRequestReviewCommentEvent) GetPullRequest() *PullRequest {
8305	if p == nil {
8306		return nil
8307	}
8308	return p.PullRequest
8309}
8310
8311// GetRepo returns the Repo field.
8312func (p *PullRequestReviewCommentEvent) GetRepo() *Repository {
8313	if p == nil {
8314		return nil
8315	}
8316	return p.Repo
8317}
8318
8319// GetSender returns the Sender field.
8320func (p *PullRequestReviewCommentEvent) GetSender() *User {
8321	if p == nil {
8322		return nil
8323	}
8324	return p.Sender
8325}
8326
8327// GetMessage returns the Message field if it's non-nil, zero value otherwise.
8328func (p *PullRequestReviewDismissalRequest) GetMessage() string {
8329	if p == nil || p.Message == nil {
8330		return ""
8331	}
8332	return *p.Message
8333}
8334
8335// GetAction returns the Action field if it's non-nil, zero value otherwise.
8336func (p *PullRequestReviewEvent) GetAction() string {
8337	if p == nil || p.Action == nil {
8338		return ""
8339	}
8340	return *p.Action
8341}
8342
8343// GetInstallation returns the Installation field.
8344func (p *PullRequestReviewEvent) GetInstallation() *Installation {
8345	if p == nil {
8346		return nil
8347	}
8348	return p.Installation
8349}
8350
8351// GetOrganization returns the Organization field.
8352func (p *PullRequestReviewEvent) GetOrganization() *Organization {
8353	if p == nil {
8354		return nil
8355	}
8356	return p.Organization
8357}
8358
8359// GetPullRequest returns the PullRequest field.
8360func (p *PullRequestReviewEvent) GetPullRequest() *PullRequest {
8361	if p == nil {
8362		return nil
8363	}
8364	return p.PullRequest
8365}
8366
8367// GetRepo returns the Repo field.
8368func (p *PullRequestReviewEvent) GetRepo() *Repository {
8369	if p == nil {
8370		return nil
8371	}
8372	return p.Repo
8373}
8374
8375// GetReview returns the Review field.
8376func (p *PullRequestReviewEvent) GetReview() *PullRequestReview {
8377	if p == nil {
8378		return nil
8379	}
8380	return p.Review
8381}
8382
8383// GetSender returns the Sender field.
8384func (p *PullRequestReviewEvent) GetSender() *User {
8385	if p == nil {
8386		return nil
8387	}
8388	return p.Sender
8389}
8390
8391// GetBody returns the Body field if it's non-nil, zero value otherwise.
8392func (p *PullRequestReviewRequest) GetBody() string {
8393	if p == nil || p.Body == nil {
8394		return ""
8395	}
8396	return *p.Body
8397}
8398
8399// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
8400func (p *PullRequestReviewRequest) GetCommitID() string {
8401	if p == nil || p.CommitID == nil {
8402		return ""
8403	}
8404	return *p.CommitID
8405}
8406
8407// GetEvent returns the Event field if it's non-nil, zero value otherwise.
8408func (p *PullRequestReviewRequest) GetEvent() string {
8409	if p == nil || p.Event == nil {
8410		return ""
8411	}
8412	return *p.Event
8413}
8414
8415// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
8416func (p *PullRequestReviewRequest) GetNodeID() string {
8417	if p == nil || p.NodeID == nil {
8418		return ""
8419	}
8420	return *p.NodeID
8421}
8422
8423// GetDismissalRestrictionsRequest returns the DismissalRestrictionsRequest field.
8424func (p *PullRequestReviewsEnforcementRequest) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest {
8425	if p == nil {
8426		return nil
8427	}
8428	return p.DismissalRestrictionsRequest
8429}
8430
8431// GetDismissalRestrictionsRequest returns the DismissalRestrictionsRequest field.
8432func (p *PullRequestReviewsEnforcementUpdate) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest {
8433	if p == nil {
8434		return nil
8435	}
8436	return p.DismissalRestrictionsRequest
8437}
8438
8439// GetDismissStaleReviews returns the DismissStaleReviews field if it's non-nil, zero value otherwise.
8440func (p *PullRequestReviewsEnforcementUpdate) GetDismissStaleReviews() bool {
8441	if p == nil || p.DismissStaleReviews == nil {
8442		return false
8443	}
8444	return *p.DismissStaleReviews
8445}
8446
8447// GetMergablePulls returns the MergablePulls field if it's non-nil, zero value otherwise.
8448func (p *PullStats) GetMergablePulls() int {
8449	if p == nil || p.MergablePulls == nil {
8450		return 0
8451	}
8452	return *p.MergablePulls
8453}
8454
8455// GetMergedPulls returns the MergedPulls field if it's non-nil, zero value otherwise.
8456func (p *PullStats) GetMergedPulls() int {
8457	if p == nil || p.MergedPulls == nil {
8458		return 0
8459	}
8460	return *p.MergedPulls
8461}
8462
8463// GetTotalPulls returns the TotalPulls field if it's non-nil, zero value otherwise.
8464func (p *PullStats) GetTotalPulls() int {
8465	if p == nil || p.TotalPulls == nil {
8466		return 0
8467	}
8468	return *p.TotalPulls
8469}
8470
8471// GetUnmergablePulls returns the UnmergablePulls field if it's non-nil, zero value otherwise.
8472func (p *PullStats) GetUnmergablePulls() int {
8473	if p == nil || p.UnmergablePulls == nil {
8474		return 0
8475	}
8476	return *p.UnmergablePulls
8477}
8478
8479// GetCommits returns the Commits field if it's non-nil, zero value otherwise.
8480func (p *PunchCard) GetCommits() int {
8481	if p == nil || p.Commits == nil {
8482		return 0
8483	}
8484	return *p.Commits
8485}
8486
8487// GetDay returns the Day field if it's non-nil, zero value otherwise.
8488func (p *PunchCard) GetDay() int {
8489	if p == nil || p.Day == nil {
8490		return 0
8491	}
8492	return *p.Day
8493}
8494
8495// GetHour returns the Hour field if it's non-nil, zero value otherwise.
8496func (p *PunchCard) GetHour() int {
8497	if p == nil || p.Hour == nil {
8498		return 0
8499	}
8500	return *p.Hour
8501}
8502
8503// GetAfter returns the After field if it's non-nil, zero value otherwise.
8504func (p *PushEvent) GetAfter() string {
8505	if p == nil || p.After == nil {
8506		return ""
8507	}
8508	return *p.After
8509}
8510
8511// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise.
8512func (p *PushEvent) GetBaseRef() string {
8513	if p == nil || p.BaseRef == nil {
8514		return ""
8515	}
8516	return *p.BaseRef
8517}
8518
8519// GetBefore returns the Before field if it's non-nil, zero value otherwise.
8520func (p *PushEvent) GetBefore() string {
8521	if p == nil || p.Before == nil {
8522		return ""
8523	}
8524	return *p.Before
8525}
8526
8527// GetCompare returns the Compare field if it's non-nil, zero value otherwise.
8528func (p *PushEvent) GetCompare() string {
8529	if p == nil || p.Compare == nil {
8530		return ""
8531	}
8532	return *p.Compare
8533}
8534
8535// GetCreated returns the Created field if it's non-nil, zero value otherwise.
8536func (p *PushEvent) GetCreated() bool {
8537	if p == nil || p.Created == nil {
8538		return false
8539	}
8540	return *p.Created
8541}
8542
8543// GetDeleted returns the Deleted field if it's non-nil, zero value otherwise.
8544func (p *PushEvent) GetDeleted() bool {
8545	if p == nil || p.Deleted == nil {
8546		return false
8547	}
8548	return *p.Deleted
8549}
8550
8551// GetDistinctSize returns the DistinctSize field if it's non-nil, zero value otherwise.
8552func (p *PushEvent) GetDistinctSize() int {
8553	if p == nil || p.DistinctSize == nil {
8554		return 0
8555	}
8556	return *p.DistinctSize
8557}
8558
8559// GetForced returns the Forced field if it's non-nil, zero value otherwise.
8560func (p *PushEvent) GetForced() bool {
8561	if p == nil || p.Forced == nil {
8562		return false
8563	}
8564	return *p.Forced
8565}
8566
8567// GetHead returns the Head field if it's non-nil, zero value otherwise.
8568func (p *PushEvent) GetHead() string {
8569	if p == nil || p.Head == nil {
8570		return ""
8571	}
8572	return *p.Head
8573}
8574
8575// GetHeadCommit returns the HeadCommit field.
8576func (p *PushEvent) GetHeadCommit() *PushEventCommit {
8577	if p == nil {
8578		return nil
8579	}
8580	return p.HeadCommit
8581}
8582
8583// GetInstallation returns the Installation field.
8584func (p *PushEvent) GetInstallation() *Installation {
8585	if p == nil {
8586		return nil
8587	}
8588	return p.Installation
8589}
8590
8591// GetPusher returns the Pusher field.
8592func (p *PushEvent) GetPusher() *User {
8593	if p == nil {
8594		return nil
8595	}
8596	return p.Pusher
8597}
8598
8599// GetPushID returns the PushID field if it's non-nil, zero value otherwise.
8600func (p *PushEvent) GetPushID() int64 {
8601	if p == nil || p.PushID == nil {
8602		return 0
8603	}
8604	return *p.PushID
8605}
8606
8607// GetRef returns the Ref field if it's non-nil, zero value otherwise.
8608func (p *PushEvent) GetRef() string {
8609	if p == nil || p.Ref == nil {
8610		return ""
8611	}
8612	return *p.Ref
8613}
8614
8615// GetRepo returns the Repo field.
8616func (p *PushEvent) GetRepo() *PushEventRepository {
8617	if p == nil {
8618		return nil
8619	}
8620	return p.Repo
8621}
8622
8623// GetSender returns the Sender field.
8624func (p *PushEvent) GetSender() *User {
8625	if p == nil {
8626		return nil
8627	}
8628	return p.Sender
8629}
8630
8631// GetSize returns the Size field if it's non-nil, zero value otherwise.
8632func (p *PushEvent) GetSize() int {
8633	if p == nil || p.Size == nil {
8634		return 0
8635	}
8636	return *p.Size
8637}
8638
8639// GetAuthor returns the Author field.
8640func (p *PushEventCommit) GetAuthor() *CommitAuthor {
8641	if p == nil {
8642		return nil
8643	}
8644	return p.Author
8645}
8646
8647// GetCommitter returns the Committer field.
8648func (p *PushEventCommit) GetCommitter() *CommitAuthor {
8649	if p == nil {
8650		return nil
8651	}
8652	return p.Committer
8653}
8654
8655// GetDistinct returns the Distinct field if it's non-nil, zero value otherwise.
8656func (p *PushEventCommit) GetDistinct() bool {
8657	if p == nil || p.Distinct == nil {
8658		return false
8659	}
8660	return *p.Distinct
8661}
8662
8663// GetID returns the ID field if it's non-nil, zero value otherwise.
8664func (p *PushEventCommit) GetID() string {
8665	if p == nil || p.ID == nil {
8666		return ""
8667	}
8668	return *p.ID
8669}
8670
8671// GetMessage returns the Message field if it's non-nil, zero value otherwise.
8672func (p *PushEventCommit) GetMessage() string {
8673	if p == nil || p.Message == nil {
8674		return ""
8675	}
8676	return *p.Message
8677}
8678
8679// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
8680func (p *PushEventCommit) GetSHA() string {
8681	if p == nil || p.SHA == nil {
8682		return ""
8683	}
8684	return *p.SHA
8685}
8686
8687// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise.
8688func (p *PushEventCommit) GetTimestamp() Timestamp {
8689	if p == nil || p.Timestamp == nil {
8690		return Timestamp{}
8691	}
8692	return *p.Timestamp
8693}
8694
8695// GetTreeID returns the TreeID field if it's non-nil, zero value otherwise.
8696func (p *PushEventCommit) GetTreeID() string {
8697	if p == nil || p.TreeID == nil {
8698		return ""
8699	}
8700	return *p.TreeID
8701}
8702
8703// GetURL returns the URL field if it's non-nil, zero value otherwise.
8704func (p *PushEventCommit) GetURL() string {
8705	if p == nil || p.URL == nil {
8706		return ""
8707	}
8708	return *p.URL
8709}
8710
8711// GetEmail returns the Email field if it's non-nil, zero value otherwise.
8712func (p *PushEventRepoOwner) GetEmail() string {
8713	if p == nil || p.Email == nil {
8714		return ""
8715	}
8716	return *p.Email
8717}
8718
8719// GetName returns the Name field if it's non-nil, zero value otherwise.
8720func (p *PushEventRepoOwner) GetName() string {
8721	if p == nil || p.Name == nil {
8722		return ""
8723	}
8724	return *p.Name
8725}
8726
8727// GetArchiveURL returns the ArchiveURL field if it's non-nil, zero value otherwise.
8728func (p *PushEventRepository) GetArchiveURL() string {
8729	if p == nil || p.ArchiveURL == nil {
8730		return ""
8731	}
8732	return *p.ArchiveURL
8733}
8734
8735// GetCloneURL returns the CloneURL field if it's non-nil, zero value otherwise.
8736func (p *PushEventRepository) GetCloneURL() string {
8737	if p == nil || p.CloneURL == nil {
8738		return ""
8739	}
8740	return *p.CloneURL
8741}
8742
8743// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
8744func (p *PushEventRepository) GetCreatedAt() Timestamp {
8745	if p == nil || p.CreatedAt == nil {
8746		return Timestamp{}
8747	}
8748	return *p.CreatedAt
8749}
8750
8751// GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise.
8752func (p *PushEventRepository) GetDefaultBranch() string {
8753	if p == nil || p.DefaultBranch == nil {
8754		return ""
8755	}
8756	return *p.DefaultBranch
8757}
8758
8759// GetDescription returns the Description field if it's non-nil, zero value otherwise.
8760func (p *PushEventRepository) GetDescription() string {
8761	if p == nil || p.Description == nil {
8762		return ""
8763	}
8764	return *p.Description
8765}
8766
8767// GetFork returns the Fork field if it's non-nil, zero value otherwise.
8768func (p *PushEventRepository) GetFork() bool {
8769	if p == nil || p.Fork == nil {
8770		return false
8771	}
8772	return *p.Fork
8773}
8774
8775// GetForksCount returns the ForksCount field if it's non-nil, zero value otherwise.
8776func (p *PushEventRepository) GetForksCount() int {
8777	if p == nil || p.ForksCount == nil {
8778		return 0
8779	}
8780	return *p.ForksCount
8781}
8782
8783// GetFullName returns the FullName field if it's non-nil, zero value otherwise.
8784func (p *PushEventRepository) GetFullName() string {
8785	if p == nil || p.FullName == nil {
8786		return ""
8787	}
8788	return *p.FullName
8789}
8790
8791// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise.
8792func (p *PushEventRepository) GetGitURL() string {
8793	if p == nil || p.GitURL == nil {
8794		return ""
8795	}
8796	return *p.GitURL
8797}
8798
8799// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise.
8800func (p *PushEventRepository) GetHasDownloads() bool {
8801	if p == nil || p.HasDownloads == nil {
8802		return false
8803	}
8804	return *p.HasDownloads
8805}
8806
8807// GetHasIssues returns the HasIssues field if it's non-nil, zero value otherwise.
8808func (p *PushEventRepository) GetHasIssues() bool {
8809	if p == nil || p.HasIssues == nil {
8810		return false
8811	}
8812	return *p.HasIssues
8813}
8814
8815// GetHasPages returns the HasPages field if it's non-nil, zero value otherwise.
8816func (p *PushEventRepository) GetHasPages() bool {
8817	if p == nil || p.HasPages == nil {
8818		return false
8819	}
8820	return *p.HasPages
8821}
8822
8823// GetHasWiki returns the HasWiki field if it's non-nil, zero value otherwise.
8824func (p *PushEventRepository) GetHasWiki() bool {
8825	if p == nil || p.HasWiki == nil {
8826		return false
8827	}
8828	return *p.HasWiki
8829}
8830
8831// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise.
8832func (p *PushEventRepository) GetHomepage() string {
8833	if p == nil || p.Homepage == nil {
8834		return ""
8835	}
8836	return *p.Homepage
8837}
8838
8839// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
8840func (p *PushEventRepository) GetHTMLURL() string {
8841	if p == nil || p.HTMLURL == nil {
8842		return ""
8843	}
8844	return *p.HTMLURL
8845}
8846
8847// GetID returns the ID field if it's non-nil, zero value otherwise.
8848func (p *PushEventRepository) GetID() int64 {
8849	if p == nil || p.ID == nil {
8850		return 0
8851	}
8852	return *p.ID
8853}
8854
8855// GetLanguage returns the Language field if it's non-nil, zero value otherwise.
8856func (p *PushEventRepository) GetLanguage() string {
8857	if p == nil || p.Language == nil {
8858		return ""
8859	}
8860	return *p.Language
8861}
8862
8863// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise.
8864func (p *PushEventRepository) GetMasterBranch() string {
8865	if p == nil || p.MasterBranch == nil {
8866		return ""
8867	}
8868	return *p.MasterBranch
8869}
8870
8871// GetName returns the Name field if it's non-nil, zero value otherwise.
8872func (p *PushEventRepository) GetName() string {
8873	if p == nil || p.Name == nil {
8874		return ""
8875	}
8876	return *p.Name
8877}
8878
8879// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
8880func (p *PushEventRepository) GetNodeID() string {
8881	if p == nil || p.NodeID == nil {
8882		return ""
8883	}
8884	return *p.NodeID
8885}
8886
8887// GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise.
8888func (p *PushEventRepository) GetOpenIssuesCount() int {
8889	if p == nil || p.OpenIssuesCount == nil {
8890		return 0
8891	}
8892	return *p.OpenIssuesCount
8893}
8894
8895// GetOrganization returns the Organization field if it's non-nil, zero value otherwise.
8896func (p *PushEventRepository) GetOrganization() string {
8897	if p == nil || p.Organization == nil {
8898		return ""
8899	}
8900	return *p.Organization
8901}
8902
8903// GetOwner returns the Owner field.
8904func (p *PushEventRepository) GetOwner() *User {
8905	if p == nil {
8906		return nil
8907	}
8908	return p.Owner
8909}
8910
8911// GetPrivate returns the Private field if it's non-nil, zero value otherwise.
8912func (p *PushEventRepository) GetPrivate() bool {
8913	if p == nil || p.Private == nil {
8914		return false
8915	}
8916	return *p.Private
8917}
8918
8919// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise.
8920func (p *PushEventRepository) GetPullsURL() string {
8921	if p == nil || p.PullsURL == nil {
8922		return ""
8923	}
8924	return *p.PullsURL
8925}
8926
8927// GetPushedAt returns the PushedAt field if it's non-nil, zero value otherwise.
8928func (p *PushEventRepository) GetPushedAt() Timestamp {
8929	if p == nil || p.PushedAt == nil {
8930		return Timestamp{}
8931	}
8932	return *p.PushedAt
8933}
8934
8935// GetSize returns the Size field if it's non-nil, zero value otherwise.
8936func (p *PushEventRepository) GetSize() int {
8937	if p == nil || p.Size == nil {
8938		return 0
8939	}
8940	return *p.Size
8941}
8942
8943// GetSSHURL returns the SSHURL field if it's non-nil, zero value otherwise.
8944func (p *PushEventRepository) GetSSHURL() string {
8945	if p == nil || p.SSHURL == nil {
8946		return ""
8947	}
8948	return *p.SSHURL
8949}
8950
8951// GetStargazersCount returns the StargazersCount field if it's non-nil, zero value otherwise.
8952func (p *PushEventRepository) GetStargazersCount() int {
8953	if p == nil || p.StargazersCount == nil {
8954		return 0
8955	}
8956	return *p.StargazersCount
8957}
8958
8959// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise.
8960func (p *PushEventRepository) GetStatusesURL() string {
8961	if p == nil || p.StatusesURL == nil {
8962		return ""
8963	}
8964	return *p.StatusesURL
8965}
8966
8967// GetSVNURL returns the SVNURL field if it's non-nil, zero value otherwise.
8968func (p *PushEventRepository) GetSVNURL() string {
8969	if p == nil || p.SVNURL == nil {
8970		return ""
8971	}
8972	return *p.SVNURL
8973}
8974
8975// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
8976func (p *PushEventRepository) GetUpdatedAt() Timestamp {
8977	if p == nil || p.UpdatedAt == nil {
8978		return Timestamp{}
8979	}
8980	return *p.UpdatedAt
8981}
8982
8983// GetURL returns the URL field if it's non-nil, zero value otherwise.
8984func (p *PushEventRepository) GetURL() string {
8985	if p == nil || p.URL == nil {
8986		return ""
8987	}
8988	return *p.URL
8989}
8990
8991// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise.
8992func (p *PushEventRepository) GetWatchersCount() int {
8993	if p == nil || p.WatchersCount == nil {
8994		return 0
8995	}
8996	return *p.WatchersCount
8997}
8998
8999// GetCore returns the Core field.
9000func (r *RateLimits) GetCore() *Rate {
9001	if r == nil {
9002		return nil
9003	}
9004	return r.Core
9005}
9006
9007// GetSearch returns the Search field.
9008func (r *RateLimits) GetSearch() *Rate {
9009	if r == nil {
9010		return nil
9011	}
9012	return r.Search
9013}
9014
9015// GetContent returns the Content field if it's non-nil, zero value otherwise.
9016func (r *Reaction) GetContent() string {
9017	if r == nil || r.Content == nil {
9018		return ""
9019	}
9020	return *r.Content
9021}
9022
9023// GetID returns the ID field if it's non-nil, zero value otherwise.
9024func (r *Reaction) GetID() int64 {
9025	if r == nil || r.ID == nil {
9026		return 0
9027	}
9028	return *r.ID
9029}
9030
9031// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
9032func (r *Reaction) GetNodeID() string {
9033	if r == nil || r.NodeID == nil {
9034		return ""
9035	}
9036	return *r.NodeID
9037}
9038
9039// GetUser returns the User field.
9040func (r *Reaction) GetUser() *User {
9041	if r == nil {
9042		return nil
9043	}
9044	return r.User
9045}
9046
9047// GetConfused returns the Confused field if it's non-nil, zero value otherwise.
9048func (r *Reactions) GetConfused() int {
9049	if r == nil || r.Confused == nil {
9050		return 0
9051	}
9052	return *r.Confused
9053}
9054
9055// GetHeart returns the Heart field if it's non-nil, zero value otherwise.
9056func (r *Reactions) GetHeart() int {
9057	if r == nil || r.Heart == nil {
9058		return 0
9059	}
9060	return *r.Heart
9061}
9062
9063// GetHooray returns the Hooray field if it's non-nil, zero value otherwise.
9064func (r *Reactions) GetHooray() int {
9065	if r == nil || r.Hooray == nil {
9066		return 0
9067	}
9068	return *r.Hooray
9069}
9070
9071// GetLaugh returns the Laugh field if it's non-nil, zero value otherwise.
9072func (r *Reactions) GetLaugh() int {
9073	if r == nil || r.Laugh == nil {
9074		return 0
9075	}
9076	return *r.Laugh
9077}
9078
9079// GetMinusOne returns the MinusOne field if it's non-nil, zero value otherwise.
9080func (r *Reactions) GetMinusOne() int {
9081	if r == nil || r.MinusOne == nil {
9082		return 0
9083	}
9084	return *r.MinusOne
9085}
9086
9087// GetPlusOne returns the PlusOne field if it's non-nil, zero value otherwise.
9088func (r *Reactions) GetPlusOne() int {
9089	if r == nil || r.PlusOne == nil {
9090		return 0
9091	}
9092	return *r.PlusOne
9093}
9094
9095// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise.
9096func (r *Reactions) GetTotalCount() int {
9097	if r == nil || r.TotalCount == nil {
9098		return 0
9099	}
9100	return *r.TotalCount
9101}
9102
9103// GetURL returns the URL field if it's non-nil, zero value otherwise.
9104func (r *Reactions) GetURL() string {
9105	if r == nil || r.URL == nil {
9106		return ""
9107	}
9108	return *r.URL
9109}
9110
9111// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
9112func (r *Reference) GetNodeID() string {
9113	if r == nil || r.NodeID == nil {
9114		return ""
9115	}
9116	return *r.NodeID
9117}
9118
9119// GetObject returns the Object field.
9120func (r *Reference) GetObject() *GitObject {
9121	if r == nil {
9122		return nil
9123	}
9124	return r.Object
9125}
9126
9127// GetRef returns the Ref field if it's non-nil, zero value otherwise.
9128func (r *Reference) GetRef() string {
9129	if r == nil || r.Ref == nil {
9130		return ""
9131	}
9132	return *r.Ref
9133}
9134
9135// GetURL returns the URL field if it's non-nil, zero value otherwise.
9136func (r *Reference) GetURL() string {
9137	if r == nil || r.URL == nil {
9138		return ""
9139	}
9140	return *r.URL
9141}
9142
9143// GetBrowserDownloadURL returns the BrowserDownloadURL field if it's non-nil, zero value otherwise.
9144func (r *ReleaseAsset) GetBrowserDownloadURL() string {
9145	if r == nil || r.BrowserDownloadURL == nil {
9146		return ""
9147	}
9148	return *r.BrowserDownloadURL
9149}
9150
9151// GetContentType returns the ContentType field if it's non-nil, zero value otherwise.
9152func (r *ReleaseAsset) GetContentType() string {
9153	if r == nil || r.ContentType == nil {
9154		return ""
9155	}
9156	return *r.ContentType
9157}
9158
9159// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
9160func (r *ReleaseAsset) GetCreatedAt() Timestamp {
9161	if r == nil || r.CreatedAt == nil {
9162		return Timestamp{}
9163	}
9164	return *r.CreatedAt
9165}
9166
9167// GetDownloadCount returns the DownloadCount field if it's non-nil, zero value otherwise.
9168func (r *ReleaseAsset) GetDownloadCount() int {
9169	if r == nil || r.DownloadCount == nil {
9170		return 0
9171	}
9172	return *r.DownloadCount
9173}
9174
9175// GetID returns the ID field if it's non-nil, zero value otherwise.
9176func (r *ReleaseAsset) GetID() int64 {
9177	if r == nil || r.ID == nil {
9178		return 0
9179	}
9180	return *r.ID
9181}
9182
9183// GetLabel returns the Label field if it's non-nil, zero value otherwise.
9184func (r *ReleaseAsset) GetLabel() string {
9185	if r == nil || r.Label == nil {
9186		return ""
9187	}
9188	return *r.Label
9189}
9190
9191// GetName returns the Name field if it's non-nil, zero value otherwise.
9192func (r *ReleaseAsset) GetName() string {
9193	if r == nil || r.Name == nil {
9194		return ""
9195	}
9196	return *r.Name
9197}
9198
9199// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
9200func (r *ReleaseAsset) GetNodeID() string {
9201	if r == nil || r.NodeID == nil {
9202		return ""
9203	}
9204	return *r.NodeID
9205}
9206
9207// GetSize returns the Size field if it's non-nil, zero value otherwise.
9208func (r *ReleaseAsset) GetSize() int {
9209	if r == nil || r.Size == nil {
9210		return 0
9211	}
9212	return *r.Size
9213}
9214
9215// GetState returns the State field if it's non-nil, zero value otherwise.
9216func (r *ReleaseAsset) GetState() string {
9217	if r == nil || r.State == nil {
9218		return ""
9219	}
9220	return *r.State
9221}
9222
9223// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
9224func (r *ReleaseAsset) GetUpdatedAt() Timestamp {
9225	if r == nil || r.UpdatedAt == nil {
9226		return Timestamp{}
9227	}
9228	return *r.UpdatedAt
9229}
9230
9231// GetUploader returns the Uploader field.
9232func (r *ReleaseAsset) GetUploader() *User {
9233	if r == nil {
9234		return nil
9235	}
9236	return r.Uploader
9237}
9238
9239// GetURL returns the URL field if it's non-nil, zero value otherwise.
9240func (r *ReleaseAsset) GetURL() string {
9241	if r == nil || r.URL == nil {
9242		return ""
9243	}
9244	return *r.URL
9245}
9246
9247// GetAction returns the Action field if it's non-nil, zero value otherwise.
9248func (r *ReleaseEvent) GetAction() string {
9249	if r == nil || r.Action == nil {
9250		return ""
9251	}
9252	return *r.Action
9253}
9254
9255// GetInstallation returns the Installation field.
9256func (r *ReleaseEvent) GetInstallation() *Installation {
9257	if r == nil {
9258		return nil
9259	}
9260	return r.Installation
9261}
9262
9263// GetRelease returns the Release field.
9264func (r *ReleaseEvent) GetRelease() *RepositoryRelease {
9265	if r == nil {
9266		return nil
9267	}
9268	return r.Release
9269}
9270
9271// GetRepo returns the Repo field.
9272func (r *ReleaseEvent) GetRepo() *Repository {
9273	if r == nil {
9274		return nil
9275	}
9276	return r.Repo
9277}
9278
9279// GetSender returns the Sender field.
9280func (r *ReleaseEvent) GetSender() *User {
9281	if r == nil {
9282		return nil
9283	}
9284	return r.Sender
9285}
9286
9287// GetFrom returns the From field if it's non-nil, zero value otherwise.
9288func (r *Rename) GetFrom() string {
9289	if r == nil || r.From == nil {
9290		return ""
9291	}
9292	return *r.From
9293}
9294
9295// GetTo returns the To field if it's non-nil, zero value otherwise.
9296func (r *Rename) GetTo() string {
9297	if r == nil || r.To == nil {
9298		return ""
9299	}
9300	return *r.To
9301}
9302
9303// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
9304func (r *RepositoriesSearchResult) GetIncompleteResults() bool {
9305	if r == nil || r.IncompleteResults == nil {
9306		return false
9307	}
9308	return *r.IncompleteResults
9309}
9310
9311// GetTotal returns the Total field if it's non-nil, zero value otherwise.
9312func (r *RepositoriesSearchResult) GetTotal() int {
9313	if r == nil || r.Total == nil {
9314		return 0
9315	}
9316	return *r.Total
9317}
9318
9319// GetAllowMergeCommit returns the AllowMergeCommit field if it's non-nil, zero value otherwise.
9320func (r *Repository) GetAllowMergeCommit() bool {
9321	if r == nil || r.AllowMergeCommit == nil {
9322		return false
9323	}
9324	return *r.AllowMergeCommit
9325}
9326
9327// GetAllowRebaseMerge returns the AllowRebaseMerge field if it's non-nil, zero value otherwise.
9328func (r *Repository) GetAllowRebaseMerge() bool {
9329	if r == nil || r.AllowRebaseMerge == nil {
9330		return false
9331	}
9332	return *r.AllowRebaseMerge
9333}
9334
9335// GetAllowSquashMerge returns the AllowSquashMerge field if it's non-nil, zero value otherwise.
9336func (r *Repository) GetAllowSquashMerge() bool {
9337	if r == nil || r.AllowSquashMerge == nil {
9338		return false
9339	}
9340	return *r.AllowSquashMerge
9341}
9342
9343// GetArchived returns the Archived field if it's non-nil, zero value otherwise.
9344func (r *Repository) GetArchived() bool {
9345	if r == nil || r.Archived == nil {
9346		return false
9347	}
9348	return *r.Archived
9349}
9350
9351// GetArchiveURL returns the ArchiveURL field if it's non-nil, zero value otherwise.
9352func (r *Repository) GetArchiveURL() string {
9353	if r == nil || r.ArchiveURL == nil {
9354		return ""
9355	}
9356	return *r.ArchiveURL
9357}
9358
9359// GetAssigneesURL returns the AssigneesURL field if it's non-nil, zero value otherwise.
9360func (r *Repository) GetAssigneesURL() string {
9361	if r == nil || r.AssigneesURL == nil {
9362		return ""
9363	}
9364	return *r.AssigneesURL
9365}
9366
9367// GetAutoInit returns the AutoInit field if it's non-nil, zero value otherwise.
9368func (r *Repository) GetAutoInit() bool {
9369	if r == nil || r.AutoInit == nil {
9370		return false
9371	}
9372	return *r.AutoInit
9373}
9374
9375// GetBlobsURL returns the BlobsURL field if it's non-nil, zero value otherwise.
9376func (r *Repository) GetBlobsURL() string {
9377	if r == nil || r.BlobsURL == nil {
9378		return ""
9379	}
9380	return *r.BlobsURL
9381}
9382
9383// GetBranchesURL returns the BranchesURL field if it's non-nil, zero value otherwise.
9384func (r *Repository) GetBranchesURL() string {
9385	if r == nil || r.BranchesURL == nil {
9386		return ""
9387	}
9388	return *r.BranchesURL
9389}
9390
9391// GetCloneURL returns the CloneURL field if it's non-nil, zero value otherwise.
9392func (r *Repository) GetCloneURL() string {
9393	if r == nil || r.CloneURL == nil {
9394		return ""
9395	}
9396	return *r.CloneURL
9397}
9398
9399// GetCodeOfConduct returns the CodeOfConduct field.
9400func (r *Repository) GetCodeOfConduct() *CodeOfConduct {
9401	if r == nil {
9402		return nil
9403	}
9404	return r.CodeOfConduct
9405}
9406
9407// GetCollaboratorsURL returns the CollaboratorsURL field if it's non-nil, zero value otherwise.
9408func (r *Repository) GetCollaboratorsURL() string {
9409	if r == nil || r.CollaboratorsURL == nil {
9410		return ""
9411	}
9412	return *r.CollaboratorsURL
9413}
9414
9415// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
9416func (r *Repository) GetCommentsURL() string {
9417	if r == nil || r.CommentsURL == nil {
9418		return ""
9419	}
9420	return *r.CommentsURL
9421}
9422
9423// GetCommitsURL returns the CommitsURL field if it's non-nil, zero value otherwise.
9424func (r *Repository) GetCommitsURL() string {
9425	if r == nil || r.CommitsURL == nil {
9426		return ""
9427	}
9428	return *r.CommitsURL
9429}
9430
9431// GetCompareURL returns the CompareURL field if it's non-nil, zero value otherwise.
9432func (r *Repository) GetCompareURL() string {
9433	if r == nil || r.CompareURL == nil {
9434		return ""
9435	}
9436	return *r.CompareURL
9437}
9438
9439// GetContentsURL returns the ContentsURL field if it's non-nil, zero value otherwise.
9440func (r *Repository) GetContentsURL() string {
9441	if r == nil || r.ContentsURL == nil {
9442		return ""
9443	}
9444	return *r.ContentsURL
9445}
9446
9447// GetContributorsURL returns the ContributorsURL field if it's non-nil, zero value otherwise.
9448func (r *Repository) GetContributorsURL() string {
9449	if r == nil || r.ContributorsURL == nil {
9450		return ""
9451	}
9452	return *r.ContributorsURL
9453}
9454
9455// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
9456func (r *Repository) GetCreatedAt() Timestamp {
9457	if r == nil || r.CreatedAt == nil {
9458		return Timestamp{}
9459	}
9460	return *r.CreatedAt
9461}
9462
9463// GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise.
9464func (r *Repository) GetDefaultBranch() string {
9465	if r == nil || r.DefaultBranch == nil {
9466		return ""
9467	}
9468	return *r.DefaultBranch
9469}
9470
9471// GetDeploymentsURL returns the DeploymentsURL field if it's non-nil, zero value otherwise.
9472func (r *Repository) GetDeploymentsURL() string {
9473	if r == nil || r.DeploymentsURL == nil {
9474		return ""
9475	}
9476	return *r.DeploymentsURL
9477}
9478
9479// GetDescription returns the Description field if it's non-nil, zero value otherwise.
9480func (r *Repository) GetDescription() string {
9481	if r == nil || r.Description == nil {
9482		return ""
9483	}
9484	return *r.Description
9485}
9486
9487// GetDisabled returns the Disabled field if it's non-nil, zero value otherwise.
9488func (r *Repository) GetDisabled() bool {
9489	if r == nil || r.Disabled == nil {
9490		return false
9491	}
9492	return *r.Disabled
9493}
9494
9495// GetDownloadsURL returns the DownloadsURL field if it's non-nil, zero value otherwise.
9496func (r *Repository) GetDownloadsURL() string {
9497	if r == nil || r.DownloadsURL == nil {
9498		return ""
9499	}
9500	return *r.DownloadsURL
9501}
9502
9503// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
9504func (r *Repository) GetEventsURL() string {
9505	if r == nil || r.EventsURL == nil {
9506		return ""
9507	}
9508	return *r.EventsURL
9509}
9510
9511// GetFork returns the Fork field if it's non-nil, zero value otherwise.
9512func (r *Repository) GetFork() bool {
9513	if r == nil || r.Fork == nil {
9514		return false
9515	}
9516	return *r.Fork
9517}
9518
9519// GetForksCount returns the ForksCount field if it's non-nil, zero value otherwise.
9520func (r *Repository) GetForksCount() int {
9521	if r == nil || r.ForksCount == nil {
9522		return 0
9523	}
9524	return *r.ForksCount
9525}
9526
9527// GetForksURL returns the ForksURL field if it's non-nil, zero value otherwise.
9528func (r *Repository) GetForksURL() string {
9529	if r == nil || r.ForksURL == nil {
9530		return ""
9531	}
9532	return *r.ForksURL
9533}
9534
9535// GetFullName returns the FullName field if it's non-nil, zero value otherwise.
9536func (r *Repository) GetFullName() string {
9537	if r == nil || r.FullName == nil {
9538		return ""
9539	}
9540	return *r.FullName
9541}
9542
9543// GetGitCommitsURL returns the GitCommitsURL field if it's non-nil, zero value otherwise.
9544func (r *Repository) GetGitCommitsURL() string {
9545	if r == nil || r.GitCommitsURL == nil {
9546		return ""
9547	}
9548	return *r.GitCommitsURL
9549}
9550
9551// GetGitignoreTemplate returns the GitignoreTemplate field if it's non-nil, zero value otherwise.
9552func (r *Repository) GetGitignoreTemplate() string {
9553	if r == nil || r.GitignoreTemplate == nil {
9554		return ""
9555	}
9556	return *r.GitignoreTemplate
9557}
9558
9559// GetGitRefsURL returns the GitRefsURL field if it's non-nil, zero value otherwise.
9560func (r *Repository) GetGitRefsURL() string {
9561	if r == nil || r.GitRefsURL == nil {
9562		return ""
9563	}
9564	return *r.GitRefsURL
9565}
9566
9567// GetGitTagsURL returns the GitTagsURL field if it's non-nil, zero value otherwise.
9568func (r *Repository) GetGitTagsURL() string {
9569	if r == nil || r.GitTagsURL == nil {
9570		return ""
9571	}
9572	return *r.GitTagsURL
9573}
9574
9575// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise.
9576func (r *Repository) GetGitURL() string {
9577	if r == nil || r.GitURL == nil {
9578		return ""
9579	}
9580	return *r.GitURL
9581}
9582
9583// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise.
9584func (r *Repository) GetHasDownloads() bool {
9585	if r == nil || r.HasDownloads == nil {
9586		return false
9587	}
9588	return *r.HasDownloads
9589}
9590
9591// GetHasIssues returns the HasIssues field if it's non-nil, zero value otherwise.
9592func (r *Repository) GetHasIssues() bool {
9593	if r == nil || r.HasIssues == nil {
9594		return false
9595	}
9596	return *r.HasIssues
9597}
9598
9599// GetHasPages returns the HasPages field if it's non-nil, zero value otherwise.
9600func (r *Repository) GetHasPages() bool {
9601	if r == nil || r.HasPages == nil {
9602		return false
9603	}
9604	return *r.HasPages
9605}
9606
9607// GetHasProjects returns the HasProjects field if it's non-nil, zero value otherwise.
9608func (r *Repository) GetHasProjects() bool {
9609	if r == nil || r.HasProjects == nil {
9610		return false
9611	}
9612	return *r.HasProjects
9613}
9614
9615// GetHasWiki returns the HasWiki field if it's non-nil, zero value otherwise.
9616func (r *Repository) GetHasWiki() bool {
9617	if r == nil || r.HasWiki == nil {
9618		return false
9619	}
9620	return *r.HasWiki
9621}
9622
9623// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise.
9624func (r *Repository) GetHomepage() string {
9625	if r == nil || r.Homepage == nil {
9626		return ""
9627	}
9628	return *r.Homepage
9629}
9630
9631// GetHooksURL returns the HooksURL field if it's non-nil, zero value otherwise.
9632func (r *Repository) GetHooksURL() string {
9633	if r == nil || r.HooksURL == nil {
9634		return ""
9635	}
9636	return *r.HooksURL
9637}
9638
9639// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
9640func (r *Repository) GetHTMLURL() string {
9641	if r == nil || r.HTMLURL == nil {
9642		return ""
9643	}
9644	return *r.HTMLURL
9645}
9646
9647// GetID returns the ID field if it's non-nil, zero value otherwise.
9648func (r *Repository) GetID() int64 {
9649	if r == nil || r.ID == nil {
9650		return 0
9651	}
9652	return *r.ID
9653}
9654
9655// GetIssueCommentURL returns the IssueCommentURL field if it's non-nil, zero value otherwise.
9656func (r *Repository) GetIssueCommentURL() string {
9657	if r == nil || r.IssueCommentURL == nil {
9658		return ""
9659	}
9660	return *r.IssueCommentURL
9661}
9662
9663// GetIssueEventsURL returns the IssueEventsURL field if it's non-nil, zero value otherwise.
9664func (r *Repository) GetIssueEventsURL() string {
9665	if r == nil || r.IssueEventsURL == nil {
9666		return ""
9667	}
9668	return *r.IssueEventsURL
9669}
9670
9671// GetIssuesURL returns the IssuesURL field if it's non-nil, zero value otherwise.
9672func (r *Repository) GetIssuesURL() string {
9673	if r == nil || r.IssuesURL == nil {
9674		return ""
9675	}
9676	return *r.IssuesURL
9677}
9678
9679// GetIsTemplate returns the IsTemplate field if it's non-nil, zero value otherwise.
9680func (r *Repository) GetIsTemplate() bool {
9681	if r == nil || r.IsTemplate == nil {
9682		return false
9683	}
9684	return *r.IsTemplate
9685}
9686
9687// GetKeysURL returns the KeysURL field if it's non-nil, zero value otherwise.
9688func (r *Repository) GetKeysURL() string {
9689	if r == nil || r.KeysURL == nil {
9690		return ""
9691	}
9692	return *r.KeysURL
9693}
9694
9695// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise.
9696func (r *Repository) GetLabelsURL() string {
9697	if r == nil || r.LabelsURL == nil {
9698		return ""
9699	}
9700	return *r.LabelsURL
9701}
9702
9703// GetLanguage returns the Language field if it's non-nil, zero value otherwise.
9704func (r *Repository) GetLanguage() string {
9705	if r == nil || r.Language == nil {
9706		return ""
9707	}
9708	return *r.Language
9709}
9710
9711// GetLanguagesURL returns the LanguagesURL field if it's non-nil, zero value otherwise.
9712func (r *Repository) GetLanguagesURL() string {
9713	if r == nil || r.LanguagesURL == nil {
9714		return ""
9715	}
9716	return *r.LanguagesURL
9717}
9718
9719// GetLicense returns the License field.
9720func (r *Repository) GetLicense() *License {
9721	if r == nil {
9722		return nil
9723	}
9724	return r.License
9725}
9726
9727// GetLicenseTemplate returns the LicenseTemplate field if it's non-nil, zero value otherwise.
9728func (r *Repository) GetLicenseTemplate() string {
9729	if r == nil || r.LicenseTemplate == nil {
9730		return ""
9731	}
9732	return *r.LicenseTemplate
9733}
9734
9735// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise.
9736func (r *Repository) GetMasterBranch() string {
9737	if r == nil || r.MasterBranch == nil {
9738		return ""
9739	}
9740	return *r.MasterBranch
9741}
9742
9743// GetMergesURL returns the MergesURL field if it's non-nil, zero value otherwise.
9744func (r *Repository) GetMergesURL() string {
9745	if r == nil || r.MergesURL == nil {
9746		return ""
9747	}
9748	return *r.MergesURL
9749}
9750
9751// GetMilestonesURL returns the MilestonesURL field if it's non-nil, zero value otherwise.
9752func (r *Repository) GetMilestonesURL() string {
9753	if r == nil || r.MilestonesURL == nil {
9754		return ""
9755	}
9756	return *r.MilestonesURL
9757}
9758
9759// GetMirrorURL returns the MirrorURL field if it's non-nil, zero value otherwise.
9760func (r *Repository) GetMirrorURL() string {
9761	if r == nil || r.MirrorURL == nil {
9762		return ""
9763	}
9764	return *r.MirrorURL
9765}
9766
9767// GetName returns the Name field if it's non-nil, zero value otherwise.
9768func (r *Repository) GetName() string {
9769	if r == nil || r.Name == nil {
9770		return ""
9771	}
9772	return *r.Name
9773}
9774
9775// GetNetworkCount returns the NetworkCount field if it's non-nil, zero value otherwise.
9776func (r *Repository) GetNetworkCount() int {
9777	if r == nil || r.NetworkCount == nil {
9778		return 0
9779	}
9780	return *r.NetworkCount
9781}
9782
9783// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
9784func (r *Repository) GetNodeID() string {
9785	if r == nil || r.NodeID == nil {
9786		return ""
9787	}
9788	return *r.NodeID
9789}
9790
9791// GetNotificationsURL returns the NotificationsURL field if it's non-nil, zero value otherwise.
9792func (r *Repository) GetNotificationsURL() string {
9793	if r == nil || r.NotificationsURL == nil {
9794		return ""
9795	}
9796	return *r.NotificationsURL
9797}
9798
9799// GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise.
9800func (r *Repository) GetOpenIssuesCount() int {
9801	if r == nil || r.OpenIssuesCount == nil {
9802		return 0
9803	}
9804	return *r.OpenIssuesCount
9805}
9806
9807// GetOrganization returns the Organization field.
9808func (r *Repository) GetOrganization() *Organization {
9809	if r == nil {
9810		return nil
9811	}
9812	return r.Organization
9813}
9814
9815// GetOwner returns the Owner field.
9816func (r *Repository) GetOwner() *User {
9817	if r == nil {
9818		return nil
9819	}
9820	return r.Owner
9821}
9822
9823// GetParent returns the Parent field.
9824func (r *Repository) GetParent() *Repository {
9825	if r == nil {
9826		return nil
9827	}
9828	return r.Parent
9829}
9830
9831// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.
9832func (r *Repository) GetPermissions() map[string]bool {
9833	if r == nil || r.Permissions == nil {
9834		return map[string]bool{}
9835	}
9836	return *r.Permissions
9837}
9838
9839// GetPrivate returns the Private field if it's non-nil, zero value otherwise.
9840func (r *Repository) GetPrivate() bool {
9841	if r == nil || r.Private == nil {
9842		return false
9843	}
9844	return *r.Private
9845}
9846
9847// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise.
9848func (r *Repository) GetPullsURL() string {
9849	if r == nil || r.PullsURL == nil {
9850		return ""
9851	}
9852	return *r.PullsURL
9853}
9854
9855// GetPushedAt returns the PushedAt field if it's non-nil, zero value otherwise.
9856func (r *Repository) GetPushedAt() Timestamp {
9857	if r == nil || r.PushedAt == nil {
9858		return Timestamp{}
9859	}
9860	return *r.PushedAt
9861}
9862
9863// GetReleasesURL returns the ReleasesURL field if it's non-nil, zero value otherwise.
9864func (r *Repository) GetReleasesURL() string {
9865	if r == nil || r.ReleasesURL == nil {
9866		return ""
9867	}
9868	return *r.ReleasesURL
9869}
9870
9871// GetSize returns the Size field if it's non-nil, zero value otherwise.
9872func (r *Repository) GetSize() int {
9873	if r == nil || r.Size == nil {
9874		return 0
9875	}
9876	return *r.Size
9877}
9878
9879// GetSource returns the Source field.
9880func (r *Repository) GetSource() *Repository {
9881	if r == nil {
9882		return nil
9883	}
9884	return r.Source
9885}
9886
9887// GetSSHURL returns the SSHURL field if it's non-nil, zero value otherwise.
9888func (r *Repository) GetSSHURL() string {
9889	if r == nil || r.SSHURL == nil {
9890		return ""
9891	}
9892	return *r.SSHURL
9893}
9894
9895// GetStargazersCount returns the StargazersCount field if it's non-nil, zero value otherwise.
9896func (r *Repository) GetStargazersCount() int {
9897	if r == nil || r.StargazersCount == nil {
9898		return 0
9899	}
9900	return *r.StargazersCount
9901}
9902
9903// GetStargazersURL returns the StargazersURL field if it's non-nil, zero value otherwise.
9904func (r *Repository) GetStargazersURL() string {
9905	if r == nil || r.StargazersURL == nil {
9906		return ""
9907	}
9908	return *r.StargazersURL
9909}
9910
9911// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise.
9912func (r *Repository) GetStatusesURL() string {
9913	if r == nil || r.StatusesURL == nil {
9914		return ""
9915	}
9916	return *r.StatusesURL
9917}
9918
9919// GetSubscribersCount returns the SubscribersCount field if it's non-nil, zero value otherwise.
9920func (r *Repository) GetSubscribersCount() int {
9921	if r == nil || r.SubscribersCount == nil {
9922		return 0
9923	}
9924	return *r.SubscribersCount
9925}
9926
9927// GetSubscribersURL returns the SubscribersURL field if it's non-nil, zero value otherwise.
9928func (r *Repository) GetSubscribersURL() string {
9929	if r == nil || r.SubscribersURL == nil {
9930		return ""
9931	}
9932	return *r.SubscribersURL
9933}
9934
9935// GetSubscriptionURL returns the SubscriptionURL field if it's non-nil, zero value otherwise.
9936func (r *Repository) GetSubscriptionURL() string {
9937	if r == nil || r.SubscriptionURL == nil {
9938		return ""
9939	}
9940	return *r.SubscriptionURL
9941}
9942
9943// GetSVNURL returns the SVNURL field if it's non-nil, zero value otherwise.
9944func (r *Repository) GetSVNURL() string {
9945	if r == nil || r.SVNURL == nil {
9946		return ""
9947	}
9948	return *r.SVNURL
9949}
9950
9951// GetTagsURL returns the TagsURL field if it's non-nil, zero value otherwise.
9952func (r *Repository) GetTagsURL() string {
9953	if r == nil || r.TagsURL == nil {
9954		return ""
9955	}
9956	return *r.TagsURL
9957}
9958
9959// GetTeamID returns the TeamID field if it's non-nil, zero value otherwise.
9960func (r *Repository) GetTeamID() int64 {
9961	if r == nil || r.TeamID == nil {
9962		return 0
9963	}
9964	return *r.TeamID
9965}
9966
9967// GetTeamsURL returns the TeamsURL field if it's non-nil, zero value otherwise.
9968func (r *Repository) GetTeamsURL() string {
9969	if r == nil || r.TeamsURL == nil {
9970		return ""
9971	}
9972	return *r.TeamsURL
9973}
9974
9975// GetTemplateRepository returns the TemplateRepository field.
9976func (r *Repository) GetTemplateRepository() *Repository {
9977	if r == nil {
9978		return nil
9979	}
9980	return r.TemplateRepository
9981}
9982
9983// GetTreesURL returns the TreesURL field if it's non-nil, zero value otherwise.
9984func (r *Repository) GetTreesURL() string {
9985	if r == nil || r.TreesURL == nil {
9986		return ""
9987	}
9988	return *r.TreesURL
9989}
9990
9991// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
9992func (r *Repository) GetUpdatedAt() Timestamp {
9993	if r == nil || r.UpdatedAt == nil {
9994		return Timestamp{}
9995	}
9996	return *r.UpdatedAt
9997}
9998
9999// GetURL returns the URL field if it's non-nil, zero value otherwise.
10000func (r *Repository) GetURL() string {
10001	if r == nil || r.URL == nil {
10002		return ""
10003	}
10004	return *r.URL
10005}
10006
10007// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise.
10008func (r *Repository) GetWatchersCount() int {
10009	if r == nil || r.WatchersCount == nil {
10010		return 0
10011	}
10012	return *r.WatchersCount
10013}
10014
10015// GetBody returns the Body field if it's non-nil, zero value otherwise.
10016func (r *RepositoryComment) GetBody() string {
10017	if r == nil || r.Body == nil {
10018		return ""
10019	}
10020	return *r.Body
10021}
10022
10023// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
10024func (r *RepositoryComment) GetCommitID() string {
10025	if r == nil || r.CommitID == nil {
10026		return ""
10027	}
10028	return *r.CommitID
10029}
10030
10031// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
10032func (r *RepositoryComment) GetCreatedAt() time.Time {
10033	if r == nil || r.CreatedAt == nil {
10034		return time.Time{}
10035	}
10036	return *r.CreatedAt
10037}
10038
10039// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
10040func (r *RepositoryComment) GetHTMLURL() string {
10041	if r == nil || r.HTMLURL == nil {
10042		return ""
10043	}
10044	return *r.HTMLURL
10045}
10046
10047// GetID returns the ID field if it's non-nil, zero value otherwise.
10048func (r *RepositoryComment) GetID() int64 {
10049	if r == nil || r.ID == nil {
10050		return 0
10051	}
10052	return *r.ID
10053}
10054
10055// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
10056func (r *RepositoryComment) GetNodeID() string {
10057	if r == nil || r.NodeID == nil {
10058		return ""
10059	}
10060	return *r.NodeID
10061}
10062
10063// GetPath returns the Path field if it's non-nil, zero value otherwise.
10064func (r *RepositoryComment) GetPath() string {
10065	if r == nil || r.Path == nil {
10066		return ""
10067	}
10068	return *r.Path
10069}
10070
10071// GetPosition returns the Position field if it's non-nil, zero value otherwise.
10072func (r *RepositoryComment) GetPosition() int {
10073	if r == nil || r.Position == nil {
10074		return 0
10075	}
10076	return *r.Position
10077}
10078
10079// GetReactions returns the Reactions field.
10080func (r *RepositoryComment) GetReactions() *Reactions {
10081	if r == nil {
10082		return nil
10083	}
10084	return r.Reactions
10085}
10086
10087// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
10088func (r *RepositoryComment) GetUpdatedAt() time.Time {
10089	if r == nil || r.UpdatedAt == nil {
10090		return time.Time{}
10091	}
10092	return *r.UpdatedAt
10093}
10094
10095// GetURL returns the URL field if it's non-nil, zero value otherwise.
10096func (r *RepositoryComment) GetURL() string {
10097	if r == nil || r.URL == nil {
10098		return ""
10099	}
10100	return *r.URL
10101}
10102
10103// GetUser returns the User field.
10104func (r *RepositoryComment) GetUser() *User {
10105	if r == nil {
10106		return nil
10107	}
10108	return r.User
10109}
10110
10111// GetAuthor returns the Author field.
10112func (r *RepositoryCommit) GetAuthor() *User {
10113	if r == nil {
10114		return nil
10115	}
10116	return r.Author
10117}
10118
10119// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
10120func (r *RepositoryCommit) GetCommentsURL() string {
10121	if r == nil || r.CommentsURL == nil {
10122		return ""
10123	}
10124	return *r.CommentsURL
10125}
10126
10127// GetCommit returns the Commit field.
10128func (r *RepositoryCommit) GetCommit() *Commit {
10129	if r == nil {
10130		return nil
10131	}
10132	return r.Commit
10133}
10134
10135// GetCommitter returns the Committer field.
10136func (r *RepositoryCommit) GetCommitter() *User {
10137	if r == nil {
10138		return nil
10139	}
10140	return r.Committer
10141}
10142
10143// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
10144func (r *RepositoryCommit) GetHTMLURL() string {
10145	if r == nil || r.HTMLURL == nil {
10146		return ""
10147	}
10148	return *r.HTMLURL
10149}
10150
10151// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
10152func (r *RepositoryCommit) GetNodeID() string {
10153	if r == nil || r.NodeID == nil {
10154		return ""
10155	}
10156	return *r.NodeID
10157}
10158
10159// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
10160func (r *RepositoryCommit) GetSHA() string {
10161	if r == nil || r.SHA == nil {
10162		return ""
10163	}
10164	return *r.SHA
10165}
10166
10167// GetStats returns the Stats field.
10168func (r *RepositoryCommit) GetStats() *CommitStats {
10169	if r == nil {
10170		return nil
10171	}
10172	return r.Stats
10173}
10174
10175// GetURL returns the URL field if it's non-nil, zero value otherwise.
10176func (r *RepositoryCommit) GetURL() string {
10177	if r == nil || r.URL == nil {
10178		return ""
10179	}
10180	return *r.URL
10181}
10182
10183// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise.
10184func (r *RepositoryContent) GetDownloadURL() string {
10185	if r == nil || r.DownloadURL == nil {
10186		return ""
10187	}
10188	return *r.DownloadURL
10189}
10190
10191// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise.
10192func (r *RepositoryContent) GetEncoding() string {
10193	if r == nil || r.Encoding == nil {
10194		return ""
10195	}
10196	return *r.Encoding
10197}
10198
10199// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise.
10200func (r *RepositoryContent) GetGitURL() string {
10201	if r == nil || r.GitURL == nil {
10202		return ""
10203	}
10204	return *r.GitURL
10205}
10206
10207// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
10208func (r *RepositoryContent) GetHTMLURL() string {
10209	if r == nil || r.HTMLURL == nil {
10210		return ""
10211	}
10212	return *r.HTMLURL
10213}
10214
10215// GetName returns the Name field if it's non-nil, zero value otherwise.
10216func (r *RepositoryContent) GetName() string {
10217	if r == nil || r.Name == nil {
10218		return ""
10219	}
10220	return *r.Name
10221}
10222
10223// GetPath returns the Path field if it's non-nil, zero value otherwise.
10224func (r *RepositoryContent) GetPath() string {
10225	if r == nil || r.Path == nil {
10226		return ""
10227	}
10228	return *r.Path
10229}
10230
10231// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
10232func (r *RepositoryContent) GetSHA() string {
10233	if r == nil || r.SHA == nil {
10234		return ""
10235	}
10236	return *r.SHA
10237}
10238
10239// GetSize returns the Size field if it's non-nil, zero value otherwise.
10240func (r *RepositoryContent) GetSize() int {
10241	if r == nil || r.Size == nil {
10242		return 0
10243	}
10244	return *r.Size
10245}
10246
10247// GetTarget returns the Target field if it's non-nil, zero value otherwise.
10248func (r *RepositoryContent) GetTarget() string {
10249	if r == nil || r.Target == nil {
10250		return ""
10251	}
10252	return *r.Target
10253}
10254
10255// GetType returns the Type field if it's non-nil, zero value otherwise.
10256func (r *RepositoryContent) GetType() string {
10257	if r == nil || r.Type == nil {
10258		return ""
10259	}
10260	return *r.Type
10261}
10262
10263// GetURL returns the URL field if it's non-nil, zero value otherwise.
10264func (r *RepositoryContent) GetURL() string {
10265	if r == nil || r.URL == nil {
10266		return ""
10267	}
10268	return *r.URL
10269}
10270
10271// GetAuthor returns the Author field.
10272func (r *RepositoryContentFileOptions) GetAuthor() *CommitAuthor {
10273	if r == nil {
10274		return nil
10275	}
10276	return r.Author
10277}
10278
10279// GetBranch returns the Branch field if it's non-nil, zero value otherwise.
10280func (r *RepositoryContentFileOptions) GetBranch() string {
10281	if r == nil || r.Branch == nil {
10282		return ""
10283	}
10284	return *r.Branch
10285}
10286
10287// GetCommitter returns the Committer field.
10288func (r *RepositoryContentFileOptions) GetCommitter() *CommitAuthor {
10289	if r == nil {
10290		return nil
10291	}
10292	return r.Committer
10293}
10294
10295// GetMessage returns the Message field if it's non-nil, zero value otherwise.
10296func (r *RepositoryContentFileOptions) GetMessage() string {
10297	if r == nil || r.Message == nil {
10298		return ""
10299	}
10300	return *r.Message
10301}
10302
10303// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
10304func (r *RepositoryContentFileOptions) GetSHA() string {
10305	if r == nil || r.SHA == nil {
10306		return ""
10307	}
10308	return *r.SHA
10309}
10310
10311// GetContent returns the Content field.
10312func (r *RepositoryContentResponse) GetContent() *RepositoryContent {
10313	if r == nil {
10314		return nil
10315	}
10316	return r.Content
10317}
10318
10319// GetAction returns the Action field if it's non-nil, zero value otherwise.
10320func (r *RepositoryEvent) GetAction() string {
10321	if r == nil || r.Action == nil {
10322		return ""
10323	}
10324	return *r.Action
10325}
10326
10327// GetInstallation returns the Installation field.
10328func (r *RepositoryEvent) GetInstallation() *Installation {
10329	if r == nil {
10330		return nil
10331	}
10332	return r.Installation
10333}
10334
10335// GetOrg returns the Org field.
10336func (r *RepositoryEvent) GetOrg() *Organization {
10337	if r == nil {
10338		return nil
10339	}
10340	return r.Org
10341}
10342
10343// GetRepo returns the Repo field.
10344func (r *RepositoryEvent) GetRepo() *Repository {
10345	if r == nil {
10346		return nil
10347	}
10348	return r.Repo
10349}
10350
10351// GetSender returns the Sender field.
10352func (r *RepositoryEvent) GetSender() *User {
10353	if r == nil {
10354		return nil
10355	}
10356	return r.Sender
10357}
10358
10359// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
10360func (r *RepositoryInvitation) GetCreatedAt() Timestamp {
10361	if r == nil || r.CreatedAt == nil {
10362		return Timestamp{}
10363	}
10364	return *r.CreatedAt
10365}
10366
10367// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
10368func (r *RepositoryInvitation) GetHTMLURL() string {
10369	if r == nil || r.HTMLURL == nil {
10370		return ""
10371	}
10372	return *r.HTMLURL
10373}
10374
10375// GetID returns the ID field if it's non-nil, zero value otherwise.
10376func (r *RepositoryInvitation) GetID() int64 {
10377	if r == nil || r.ID == nil {
10378		return 0
10379	}
10380	return *r.ID
10381}
10382
10383// GetInvitee returns the Invitee field.
10384func (r *RepositoryInvitation) GetInvitee() *User {
10385	if r == nil {
10386		return nil
10387	}
10388	return r.Invitee
10389}
10390
10391// GetInviter returns the Inviter field.
10392func (r *RepositoryInvitation) GetInviter() *User {
10393	if r == nil {
10394		return nil
10395	}
10396	return r.Inviter
10397}
10398
10399// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.
10400func (r *RepositoryInvitation) GetPermissions() string {
10401	if r == nil || r.Permissions == nil {
10402		return ""
10403	}
10404	return *r.Permissions
10405}
10406
10407// GetRepo returns the Repo field.
10408func (r *RepositoryInvitation) GetRepo() *Repository {
10409	if r == nil {
10410		return nil
10411	}
10412	return r.Repo
10413}
10414
10415// GetURL returns the URL field if it's non-nil, zero value otherwise.
10416func (r *RepositoryInvitation) GetURL() string {
10417	if r == nil || r.URL == nil {
10418		return ""
10419	}
10420	return *r.URL
10421}
10422
10423// GetContent returns the Content field if it's non-nil, zero value otherwise.
10424func (r *RepositoryLicense) GetContent() string {
10425	if r == nil || r.Content == nil {
10426		return ""
10427	}
10428	return *r.Content
10429}
10430
10431// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise.
10432func (r *RepositoryLicense) GetDownloadURL() string {
10433	if r == nil || r.DownloadURL == nil {
10434		return ""
10435	}
10436	return *r.DownloadURL
10437}
10438
10439// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise.
10440func (r *RepositoryLicense) GetEncoding() string {
10441	if r == nil || r.Encoding == nil {
10442		return ""
10443	}
10444	return *r.Encoding
10445}
10446
10447// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise.
10448func (r *RepositoryLicense) GetGitURL() string {
10449	if r == nil || r.GitURL == nil {
10450		return ""
10451	}
10452	return *r.GitURL
10453}
10454
10455// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
10456func (r *RepositoryLicense) GetHTMLURL() string {
10457	if r == nil || r.HTMLURL == nil {
10458		return ""
10459	}
10460	return *r.HTMLURL
10461}
10462
10463// GetLicense returns the License field.
10464func (r *RepositoryLicense) GetLicense() *License {
10465	if r == nil {
10466		return nil
10467	}
10468	return r.License
10469}
10470
10471// GetName returns the Name field if it's non-nil, zero value otherwise.
10472func (r *RepositoryLicense) GetName() string {
10473	if r == nil || r.Name == nil {
10474		return ""
10475	}
10476	return *r.Name
10477}
10478
10479// GetPath returns the Path field if it's non-nil, zero value otherwise.
10480func (r *RepositoryLicense) GetPath() string {
10481	if r == nil || r.Path == nil {
10482		return ""
10483	}
10484	return *r.Path
10485}
10486
10487// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
10488func (r *RepositoryLicense) GetSHA() string {
10489	if r == nil || r.SHA == nil {
10490		return ""
10491	}
10492	return *r.SHA
10493}
10494
10495// GetSize returns the Size field if it's non-nil, zero value otherwise.
10496func (r *RepositoryLicense) GetSize() int {
10497	if r == nil || r.Size == nil {
10498		return 0
10499	}
10500	return *r.Size
10501}
10502
10503// GetType returns the Type field if it's non-nil, zero value otherwise.
10504func (r *RepositoryLicense) GetType() string {
10505	if r == nil || r.Type == nil {
10506		return ""
10507	}
10508	return *r.Type
10509}
10510
10511// GetURL returns the URL field if it's non-nil, zero value otherwise.
10512func (r *RepositoryLicense) GetURL() string {
10513	if r == nil || r.URL == nil {
10514		return ""
10515	}
10516	return *r.URL
10517}
10518
10519// GetBase returns the Base field if it's non-nil, zero value otherwise.
10520func (r *RepositoryMergeRequest) GetBase() string {
10521	if r == nil || r.Base == nil {
10522		return ""
10523	}
10524	return *r.Base
10525}
10526
10527// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise.
10528func (r *RepositoryMergeRequest) GetCommitMessage() string {
10529	if r == nil || r.CommitMessage == nil {
10530		return ""
10531	}
10532	return *r.CommitMessage
10533}
10534
10535// GetHead returns the Head field if it's non-nil, zero value otherwise.
10536func (r *RepositoryMergeRequest) GetHead() string {
10537	if r == nil || r.Head == nil {
10538		return ""
10539	}
10540	return *r.Head
10541}
10542
10543// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
10544func (r *RepositoryPermissionLevel) GetPermission() string {
10545	if r == nil || r.Permission == nil {
10546		return ""
10547	}
10548	return *r.Permission
10549}
10550
10551// GetUser returns the User field.
10552func (r *RepositoryPermissionLevel) GetUser() *User {
10553	if r == nil {
10554		return nil
10555	}
10556	return r.User
10557}
10558
10559// GetAssetsURL returns the AssetsURL field if it's non-nil, zero value otherwise.
10560func (r *RepositoryRelease) GetAssetsURL() string {
10561	if r == nil || r.AssetsURL == nil {
10562		return ""
10563	}
10564	return *r.AssetsURL
10565}
10566
10567// GetAuthor returns the Author field.
10568func (r *RepositoryRelease) GetAuthor() *User {
10569	if r == nil {
10570		return nil
10571	}
10572	return r.Author
10573}
10574
10575// GetBody returns the Body field if it's non-nil, zero value otherwise.
10576func (r *RepositoryRelease) GetBody() string {
10577	if r == nil || r.Body == nil {
10578		return ""
10579	}
10580	return *r.Body
10581}
10582
10583// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
10584func (r *RepositoryRelease) GetCreatedAt() Timestamp {
10585	if r == nil || r.CreatedAt == nil {
10586		return Timestamp{}
10587	}
10588	return *r.CreatedAt
10589}
10590
10591// GetDraft returns the Draft field if it's non-nil, zero value otherwise.
10592func (r *RepositoryRelease) GetDraft() bool {
10593	if r == nil || r.Draft == nil {
10594		return false
10595	}
10596	return *r.Draft
10597}
10598
10599// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
10600func (r *RepositoryRelease) GetHTMLURL() string {
10601	if r == nil || r.HTMLURL == nil {
10602		return ""
10603	}
10604	return *r.HTMLURL
10605}
10606
10607// GetID returns the ID field if it's non-nil, zero value otherwise.
10608func (r *RepositoryRelease) GetID() int64 {
10609	if r == nil || r.ID == nil {
10610		return 0
10611	}
10612	return *r.ID
10613}
10614
10615// GetName returns the Name field if it's non-nil, zero value otherwise.
10616func (r *RepositoryRelease) GetName() string {
10617	if r == nil || r.Name == nil {
10618		return ""
10619	}
10620	return *r.Name
10621}
10622
10623// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
10624func (r *RepositoryRelease) GetNodeID() string {
10625	if r == nil || r.NodeID == nil {
10626		return ""
10627	}
10628	return *r.NodeID
10629}
10630
10631// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise.
10632func (r *RepositoryRelease) GetPrerelease() bool {
10633	if r == nil || r.Prerelease == nil {
10634		return false
10635	}
10636	return *r.Prerelease
10637}
10638
10639// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise.
10640func (r *RepositoryRelease) GetPublishedAt() Timestamp {
10641	if r == nil || r.PublishedAt == nil {
10642		return Timestamp{}
10643	}
10644	return *r.PublishedAt
10645}
10646
10647// GetTagName returns the TagName field if it's non-nil, zero value otherwise.
10648func (r *RepositoryRelease) GetTagName() string {
10649	if r == nil || r.TagName == nil {
10650		return ""
10651	}
10652	return *r.TagName
10653}
10654
10655// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise.
10656func (r *RepositoryRelease) GetTarballURL() string {
10657	if r == nil || r.TarballURL == nil {
10658		return ""
10659	}
10660	return *r.TarballURL
10661}
10662
10663// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise.
10664func (r *RepositoryRelease) GetTargetCommitish() string {
10665	if r == nil || r.TargetCommitish == nil {
10666		return ""
10667	}
10668	return *r.TargetCommitish
10669}
10670
10671// GetUploadURL returns the UploadURL field if it's non-nil, zero value otherwise.
10672func (r *RepositoryRelease) GetUploadURL() string {
10673	if r == nil || r.UploadURL == nil {
10674		return ""
10675	}
10676	return *r.UploadURL
10677}
10678
10679// GetURL returns the URL field if it's non-nil, zero value otherwise.
10680func (r *RepositoryRelease) GetURL() string {
10681	if r == nil || r.URL == nil {
10682		return ""
10683	}
10684	return *r.URL
10685}
10686
10687// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise.
10688func (r *RepositoryRelease) GetZipballURL() string {
10689	if r == nil || r.ZipballURL == nil {
10690		return ""
10691	}
10692	return *r.ZipballURL
10693}
10694
10695// GetCommit returns the Commit field.
10696func (r *RepositoryTag) GetCommit() *Commit {
10697	if r == nil {
10698		return nil
10699	}
10700	return r.Commit
10701}
10702
10703// GetName returns the Name field if it's non-nil, zero value otherwise.
10704func (r *RepositoryTag) GetName() string {
10705	if r == nil || r.Name == nil {
10706		return ""
10707	}
10708	return *r.Name
10709}
10710
10711// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise.
10712func (r *RepositoryTag) GetTarballURL() string {
10713	if r == nil || r.TarballURL == nil {
10714		return ""
10715	}
10716	return *r.TarballURL
10717}
10718
10719// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise.
10720func (r *RepositoryTag) GetZipballURL() string {
10721	if r == nil || r.ZipballURL == nil {
10722		return ""
10723	}
10724	return *r.ZipballURL
10725}
10726
10727// GetAction returns the Action field if it's non-nil, zero value otherwise.
10728func (r *RepositoryVulnerabilityAlertEvent) GetAction() string {
10729	if r == nil || r.Action == nil {
10730		return ""
10731	}
10732	return *r.Action
10733}
10734
10735// GetForkRepos returns the ForkRepos field if it's non-nil, zero value otherwise.
10736func (r *RepoStats) GetForkRepos() int {
10737	if r == nil || r.ForkRepos == nil {
10738		return 0
10739	}
10740	return *r.ForkRepos
10741}
10742
10743// GetOrgRepos returns the OrgRepos field if it's non-nil, zero value otherwise.
10744func (r *RepoStats) GetOrgRepos() int {
10745	if r == nil || r.OrgRepos == nil {
10746		return 0
10747	}
10748	return *r.OrgRepos
10749}
10750
10751// GetRootRepos returns the RootRepos field if it's non-nil, zero value otherwise.
10752func (r *RepoStats) GetRootRepos() int {
10753	if r == nil || r.RootRepos == nil {
10754		return 0
10755	}
10756	return *r.RootRepos
10757}
10758
10759// GetTotalPushes returns the TotalPushes field if it's non-nil, zero value otherwise.
10760func (r *RepoStats) GetTotalPushes() int {
10761	if r == nil || r.TotalPushes == nil {
10762		return 0
10763	}
10764	return *r.TotalPushes
10765}
10766
10767// GetTotalRepos returns the TotalRepos field if it's non-nil, zero value otherwise.
10768func (r *RepoStats) GetTotalRepos() int {
10769	if r == nil || r.TotalRepos == nil {
10770		return 0
10771	}
10772	return *r.TotalRepos
10773}
10774
10775// GetTotalWikis returns the TotalWikis field if it's non-nil, zero value otherwise.
10776func (r *RepoStats) GetTotalWikis() int {
10777	if r == nil || r.TotalWikis == nil {
10778		return 0
10779	}
10780	return *r.TotalWikis
10781}
10782
10783// GetContext returns the Context field if it's non-nil, zero value otherwise.
10784func (r *RepoStatus) GetContext() string {
10785	if r == nil || r.Context == nil {
10786		return ""
10787	}
10788	return *r.Context
10789}
10790
10791// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
10792func (r *RepoStatus) GetCreatedAt() time.Time {
10793	if r == nil || r.CreatedAt == nil {
10794		return time.Time{}
10795	}
10796	return *r.CreatedAt
10797}
10798
10799// GetCreator returns the Creator field.
10800func (r *RepoStatus) GetCreator() *User {
10801	if r == nil {
10802		return nil
10803	}
10804	return r.Creator
10805}
10806
10807// GetDescription returns the Description field if it's non-nil, zero value otherwise.
10808func (r *RepoStatus) GetDescription() string {
10809	if r == nil || r.Description == nil {
10810		return ""
10811	}
10812	return *r.Description
10813}
10814
10815// GetID returns the ID field if it's non-nil, zero value otherwise.
10816func (r *RepoStatus) GetID() int64 {
10817	if r == nil || r.ID == nil {
10818		return 0
10819	}
10820	return *r.ID
10821}
10822
10823// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
10824func (r *RepoStatus) GetNodeID() string {
10825	if r == nil || r.NodeID == nil {
10826		return ""
10827	}
10828	return *r.NodeID
10829}
10830
10831// GetState returns the State field if it's non-nil, zero value otherwise.
10832func (r *RepoStatus) GetState() string {
10833	if r == nil || r.State == nil {
10834		return ""
10835	}
10836	return *r.State
10837}
10838
10839// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise.
10840func (r *RepoStatus) GetTargetURL() string {
10841	if r == nil || r.TargetURL == nil {
10842		return ""
10843	}
10844	return *r.TargetURL
10845}
10846
10847// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
10848func (r *RepoStatus) GetUpdatedAt() time.Time {
10849	if r == nil || r.UpdatedAt == nil {
10850		return time.Time{}
10851	}
10852	return *r.UpdatedAt
10853}
10854
10855// GetURL returns the URL field if it's non-nil, zero value otherwise.
10856func (r *RepoStatus) GetURL() string {
10857	if r == nil || r.URL == nil {
10858		return ""
10859	}
10860	return *r.URL
10861}
10862
10863// GetStrict returns the Strict field if it's non-nil, zero value otherwise.
10864func (r *RequiredStatusChecksRequest) GetStrict() bool {
10865	if r == nil || r.Strict == nil {
10866		return false
10867	}
10868	return *r.Strict
10869}
10870
10871// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
10872func (r *ReviewersRequest) GetNodeID() string {
10873	if r == nil || r.NodeID == nil {
10874		return ""
10875	}
10876	return *r.NodeID
10877}
10878
10879// GetName returns the Name field if it's non-nil, zero value otherwise.
10880func (s *ServiceHook) GetName() string {
10881	if s == nil || s.Name == nil {
10882		return ""
10883	}
10884	return *s.Name
10885}
10886
10887// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise.
10888func (s *SignaturesProtectedBranch) GetEnabled() bool {
10889	if s == nil || s.Enabled == nil {
10890		return false
10891	}
10892	return *s.Enabled
10893}
10894
10895// GetURL returns the URL field if it's non-nil, zero value otherwise.
10896func (s *SignaturesProtectedBranch) GetURL() string {
10897	if s == nil || s.URL == nil {
10898		return ""
10899	}
10900	return *s.URL
10901}
10902
10903// GetPayload returns the Payload field if it's non-nil, zero value otherwise.
10904func (s *SignatureVerification) GetPayload() string {
10905	if s == nil || s.Payload == nil {
10906		return ""
10907	}
10908	return *s.Payload
10909}
10910
10911// GetReason returns the Reason field if it's non-nil, zero value otherwise.
10912func (s *SignatureVerification) GetReason() string {
10913	if s == nil || s.Reason == nil {
10914		return ""
10915	}
10916	return *s.Reason
10917}
10918
10919// GetSignature returns the Signature field if it's non-nil, zero value otherwise.
10920func (s *SignatureVerification) GetSignature() string {
10921	if s == nil || s.Signature == nil {
10922		return ""
10923	}
10924	return *s.Signature
10925}
10926
10927// GetVerified returns the Verified field if it's non-nil, zero value otherwise.
10928func (s *SignatureVerification) GetVerified() bool {
10929	if s == nil || s.Verified == nil {
10930		return false
10931	}
10932	return *s.Verified
10933}
10934
10935// GetActor returns the Actor field.
10936func (s *Source) GetActor() *User {
10937	if s == nil {
10938		return nil
10939	}
10940	return s.Actor
10941}
10942
10943// GetID returns the ID field if it's non-nil, zero value otherwise.
10944func (s *Source) GetID() int64 {
10945	if s == nil || s.ID == nil {
10946		return 0
10947	}
10948	return *s.ID
10949}
10950
10951// GetIssue returns the Issue field.
10952func (s *Source) GetIssue() *Issue {
10953	if s == nil {
10954		return nil
10955	}
10956	return s.Issue
10957}
10958
10959// GetType returns the Type field if it's non-nil, zero value otherwise.
10960func (s *Source) GetType() string {
10961	if s == nil || s.Type == nil {
10962		return ""
10963	}
10964	return *s.Type
10965}
10966
10967// GetURL returns the URL field if it's non-nil, zero value otherwise.
10968func (s *Source) GetURL() string {
10969	if s == nil || s.URL == nil {
10970		return ""
10971	}
10972	return *s.URL
10973}
10974
10975// GetEmail returns the Email field if it's non-nil, zero value otherwise.
10976func (s *SourceImportAuthor) GetEmail() string {
10977	if s == nil || s.Email == nil {
10978		return ""
10979	}
10980	return *s.Email
10981}
10982
10983// GetID returns the ID field if it's non-nil, zero value otherwise.
10984func (s *SourceImportAuthor) GetID() int64 {
10985	if s == nil || s.ID == nil {
10986		return 0
10987	}
10988	return *s.ID
10989}
10990
10991// GetImportURL returns the ImportURL field if it's non-nil, zero value otherwise.
10992func (s *SourceImportAuthor) GetImportURL() string {
10993	if s == nil || s.ImportURL == nil {
10994		return ""
10995	}
10996	return *s.ImportURL
10997}
10998
10999// GetName returns the Name field if it's non-nil, zero value otherwise.
11000func (s *SourceImportAuthor) GetName() string {
11001	if s == nil || s.Name == nil {
11002		return ""
11003	}
11004	return *s.Name
11005}
11006
11007// GetRemoteID returns the RemoteID field if it's non-nil, zero value otherwise.
11008func (s *SourceImportAuthor) GetRemoteID() string {
11009	if s == nil || s.RemoteID == nil {
11010		return ""
11011	}
11012	return *s.RemoteID
11013}
11014
11015// GetRemoteName returns the RemoteName field if it's non-nil, zero value otherwise.
11016func (s *SourceImportAuthor) GetRemoteName() string {
11017	if s == nil || s.RemoteName == nil {
11018		return ""
11019	}
11020	return *s.RemoteName
11021}
11022
11023// GetURL returns the URL field if it's non-nil, zero value otherwise.
11024func (s *SourceImportAuthor) GetURL() string {
11025	if s == nil || s.URL == nil {
11026		return ""
11027	}
11028	return *s.URL
11029}
11030
11031// GetAction returns the Action field if it's non-nil, zero value otherwise.
11032func (s *StarEvent) GetAction() string {
11033	if s == nil || s.Action == nil {
11034		return ""
11035	}
11036	return *s.Action
11037}
11038
11039// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise.
11040func (s *StarEvent) GetStarredAt() Timestamp {
11041	if s == nil || s.StarredAt == nil {
11042		return Timestamp{}
11043	}
11044	return *s.StarredAt
11045}
11046
11047// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise.
11048func (s *Stargazer) GetStarredAt() Timestamp {
11049	if s == nil || s.StarredAt == nil {
11050		return Timestamp{}
11051	}
11052	return *s.StarredAt
11053}
11054
11055// GetUser returns the User field.
11056func (s *Stargazer) GetUser() *User {
11057	if s == nil {
11058		return nil
11059	}
11060	return s.User
11061}
11062
11063// GetRepository returns the Repository field.
11064func (s *StarredRepository) GetRepository() *Repository {
11065	if s == nil {
11066		return nil
11067	}
11068	return s.Repository
11069}
11070
11071// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise.
11072func (s *StarredRepository) GetStarredAt() Timestamp {
11073	if s == nil || s.StarredAt == nil {
11074		return Timestamp{}
11075	}
11076	return *s.StarredAt
11077}
11078
11079// GetCommit returns the Commit field.
11080func (s *StatusEvent) GetCommit() *RepositoryCommit {
11081	if s == nil {
11082		return nil
11083	}
11084	return s.Commit
11085}
11086
11087// GetContext returns the Context field if it's non-nil, zero value otherwise.
11088func (s *StatusEvent) GetContext() string {
11089	if s == nil || s.Context == nil {
11090		return ""
11091	}
11092	return *s.Context
11093}
11094
11095// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
11096func (s *StatusEvent) GetCreatedAt() Timestamp {
11097	if s == nil || s.CreatedAt == nil {
11098		return Timestamp{}
11099	}
11100	return *s.CreatedAt
11101}
11102
11103// GetDescription returns the Description field if it's non-nil, zero value otherwise.
11104func (s *StatusEvent) GetDescription() string {
11105	if s == nil || s.Description == nil {
11106		return ""
11107	}
11108	return *s.Description
11109}
11110
11111// GetID returns the ID field if it's non-nil, zero value otherwise.
11112func (s *StatusEvent) GetID() int64 {
11113	if s == nil || s.ID == nil {
11114		return 0
11115	}
11116	return *s.ID
11117}
11118
11119// GetInstallation returns the Installation field.
11120func (s *StatusEvent) GetInstallation() *Installation {
11121	if s == nil {
11122		return nil
11123	}
11124	return s.Installation
11125}
11126
11127// GetName returns the Name field if it's non-nil, zero value otherwise.
11128func (s *StatusEvent) GetName() string {
11129	if s == nil || s.Name == nil {
11130		return ""
11131	}
11132	return *s.Name
11133}
11134
11135// GetRepo returns the Repo field.
11136func (s *StatusEvent) GetRepo() *Repository {
11137	if s == nil {
11138		return nil
11139	}
11140	return s.Repo
11141}
11142
11143// GetSender returns the Sender field.
11144func (s *StatusEvent) GetSender() *User {
11145	if s == nil {
11146		return nil
11147	}
11148	return s.Sender
11149}
11150
11151// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
11152func (s *StatusEvent) GetSHA() string {
11153	if s == nil || s.SHA == nil {
11154		return ""
11155	}
11156	return *s.SHA
11157}
11158
11159// GetState returns the State field if it's non-nil, zero value otherwise.
11160func (s *StatusEvent) GetState() string {
11161	if s == nil || s.State == nil {
11162		return ""
11163	}
11164	return *s.State
11165}
11166
11167// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise.
11168func (s *StatusEvent) GetTargetURL() string {
11169	if s == nil || s.TargetURL == nil {
11170		return ""
11171	}
11172	return *s.TargetURL
11173}
11174
11175// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
11176func (s *StatusEvent) GetUpdatedAt() Timestamp {
11177	if s == nil || s.UpdatedAt == nil {
11178		return Timestamp{}
11179	}
11180	return *s.UpdatedAt
11181}
11182
11183// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
11184func (s *Subscription) GetCreatedAt() Timestamp {
11185	if s == nil || s.CreatedAt == nil {
11186		return Timestamp{}
11187	}
11188	return *s.CreatedAt
11189}
11190
11191// GetIgnored returns the Ignored field if it's non-nil, zero value otherwise.
11192func (s *Subscription) GetIgnored() bool {
11193	if s == nil || s.Ignored == nil {
11194		return false
11195	}
11196	return *s.Ignored
11197}
11198
11199// GetReason returns the Reason field if it's non-nil, zero value otherwise.
11200func (s *Subscription) GetReason() string {
11201	if s == nil || s.Reason == nil {
11202		return ""
11203	}
11204	return *s.Reason
11205}
11206
11207// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
11208func (s *Subscription) GetRepositoryURL() string {
11209	if s == nil || s.RepositoryURL == nil {
11210		return ""
11211	}
11212	return *s.RepositoryURL
11213}
11214
11215// GetSubscribed returns the Subscribed field if it's non-nil, zero value otherwise.
11216func (s *Subscription) GetSubscribed() bool {
11217	if s == nil || s.Subscribed == nil {
11218		return false
11219	}
11220	return *s.Subscribed
11221}
11222
11223// GetThreadURL returns the ThreadURL field if it's non-nil, zero value otherwise.
11224func (s *Subscription) GetThreadURL() string {
11225	if s == nil || s.ThreadURL == nil {
11226		return ""
11227	}
11228	return *s.ThreadURL
11229}
11230
11231// GetURL returns the URL field if it's non-nil, zero value otherwise.
11232func (s *Subscription) GetURL() string {
11233	if s == nil || s.URL == nil {
11234		return ""
11235	}
11236	return *s.URL
11237}
11238
11239// GetMessage returns the Message field if it's non-nil, zero value otherwise.
11240func (t *Tag) GetMessage() string {
11241	if t == nil || t.Message == nil {
11242		return ""
11243	}
11244	return *t.Message
11245}
11246
11247// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
11248func (t *Tag) GetNodeID() string {
11249	if t == nil || t.NodeID == nil {
11250		return ""
11251	}
11252	return *t.NodeID
11253}
11254
11255// GetObject returns the Object field.
11256func (t *Tag) GetObject() *GitObject {
11257	if t == nil {
11258		return nil
11259	}
11260	return t.Object
11261}
11262
11263// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
11264func (t *Tag) GetSHA() string {
11265	if t == nil || t.SHA == nil {
11266		return ""
11267	}
11268	return *t.SHA
11269}
11270
11271// GetTag returns the Tag field if it's non-nil, zero value otherwise.
11272func (t *Tag) GetTag() string {
11273	if t == nil || t.Tag == nil {
11274		return ""
11275	}
11276	return *t.Tag
11277}
11278
11279// GetTagger returns the Tagger field.
11280func (t *Tag) GetTagger() *CommitAuthor {
11281	if t == nil {
11282		return nil
11283	}
11284	return t.Tagger
11285}
11286
11287// GetURL returns the URL field if it's non-nil, zero value otherwise.
11288func (t *Tag) GetURL() string {
11289	if t == nil || t.URL == nil {
11290		return ""
11291	}
11292	return *t.URL
11293}
11294
11295// GetVerification returns the Verification field.
11296func (t *Tag) GetVerification() *SignatureVerification {
11297	if t == nil {
11298		return nil
11299	}
11300	return t.Verification
11301}
11302
11303// GetDescription returns the Description field if it's non-nil, zero value otherwise.
11304func (t *Team) GetDescription() string {
11305	if t == nil || t.Description == nil {
11306		return ""
11307	}
11308	return *t.Description
11309}
11310
11311// GetID returns the ID field if it's non-nil, zero value otherwise.
11312func (t *Team) GetID() int64 {
11313	if t == nil || t.ID == nil {
11314		return 0
11315	}
11316	return *t.ID
11317}
11318
11319// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise.
11320func (t *Team) GetLDAPDN() string {
11321	if t == nil || t.LDAPDN == nil {
11322		return ""
11323	}
11324	return *t.LDAPDN
11325}
11326
11327// GetMembersCount returns the MembersCount field if it's non-nil, zero value otherwise.
11328func (t *Team) GetMembersCount() int {
11329	if t == nil || t.MembersCount == nil {
11330		return 0
11331	}
11332	return *t.MembersCount
11333}
11334
11335// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise.
11336func (t *Team) GetMembersURL() string {
11337	if t == nil || t.MembersURL == nil {
11338		return ""
11339	}
11340	return *t.MembersURL
11341}
11342
11343// GetName returns the Name field if it's non-nil, zero value otherwise.
11344func (t *Team) GetName() string {
11345	if t == nil || t.Name == nil {
11346		return ""
11347	}
11348	return *t.Name
11349}
11350
11351// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
11352func (t *Team) GetNodeID() string {
11353	if t == nil || t.NodeID == nil {
11354		return ""
11355	}
11356	return *t.NodeID
11357}
11358
11359// GetOrganization returns the Organization field.
11360func (t *Team) GetOrganization() *Organization {
11361	if t == nil {
11362		return nil
11363	}
11364	return t.Organization
11365}
11366
11367// GetParent returns the Parent field.
11368func (t *Team) GetParent() *Team {
11369	if t == nil {
11370		return nil
11371	}
11372	return t.Parent
11373}
11374
11375// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
11376func (t *Team) GetPermission() string {
11377	if t == nil || t.Permission == nil {
11378		return ""
11379	}
11380	return *t.Permission
11381}
11382
11383// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise.
11384func (t *Team) GetPrivacy() string {
11385	if t == nil || t.Privacy == nil {
11386		return ""
11387	}
11388	return *t.Privacy
11389}
11390
11391// GetReposCount returns the ReposCount field if it's non-nil, zero value otherwise.
11392func (t *Team) GetReposCount() int {
11393	if t == nil || t.ReposCount == nil {
11394		return 0
11395	}
11396	return *t.ReposCount
11397}
11398
11399// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise.
11400func (t *Team) GetRepositoriesURL() string {
11401	if t == nil || t.RepositoriesURL == nil {
11402		return ""
11403	}
11404	return *t.RepositoriesURL
11405}
11406
11407// GetSlug returns the Slug field if it's non-nil, zero value otherwise.
11408func (t *Team) GetSlug() string {
11409	if t == nil || t.Slug == nil {
11410		return ""
11411	}
11412	return *t.Slug
11413}
11414
11415// GetURL returns the URL field if it's non-nil, zero value otherwise.
11416func (t *Team) GetURL() string {
11417	if t == nil || t.URL == nil {
11418		return ""
11419	}
11420	return *t.URL
11421}
11422
11423// GetInstallation returns the Installation field.
11424func (t *TeamAddEvent) GetInstallation() *Installation {
11425	if t == nil {
11426		return nil
11427	}
11428	return t.Installation
11429}
11430
11431// GetOrg returns the Org field.
11432func (t *TeamAddEvent) GetOrg() *Organization {
11433	if t == nil {
11434		return nil
11435	}
11436	return t.Org
11437}
11438
11439// GetRepo returns the Repo field.
11440func (t *TeamAddEvent) GetRepo() *Repository {
11441	if t == nil {
11442		return nil
11443	}
11444	return t.Repo
11445}
11446
11447// GetSender returns the Sender field.
11448func (t *TeamAddEvent) GetSender() *User {
11449	if t == nil {
11450		return nil
11451	}
11452	return t.Sender
11453}
11454
11455// GetTeam returns the Team field.
11456func (t *TeamAddEvent) GetTeam() *Team {
11457	if t == nil {
11458		return nil
11459	}
11460	return t.Team
11461}
11462
11463// GetAuthor returns the Author field.
11464func (t *TeamDiscussion) GetAuthor() *User {
11465	if t == nil {
11466		return nil
11467	}
11468	return t.Author
11469}
11470
11471// GetBody returns the Body field if it's non-nil, zero value otherwise.
11472func (t *TeamDiscussion) GetBody() string {
11473	if t == nil || t.Body == nil {
11474		return ""
11475	}
11476	return *t.Body
11477}
11478
11479// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise.
11480func (t *TeamDiscussion) GetBodyHTML() string {
11481	if t == nil || t.BodyHTML == nil {
11482		return ""
11483	}
11484	return *t.BodyHTML
11485}
11486
11487// GetBodyVersion returns the BodyVersion field if it's non-nil, zero value otherwise.
11488func (t *TeamDiscussion) GetBodyVersion() string {
11489	if t == nil || t.BodyVersion == nil {
11490		return ""
11491	}
11492	return *t.BodyVersion
11493}
11494
11495// GetCommentsCount returns the CommentsCount field if it's non-nil, zero value otherwise.
11496func (t *TeamDiscussion) GetCommentsCount() int {
11497	if t == nil || t.CommentsCount == nil {
11498		return 0
11499	}
11500	return *t.CommentsCount
11501}
11502
11503// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
11504func (t *TeamDiscussion) GetCommentsURL() string {
11505	if t == nil || t.CommentsURL == nil {
11506		return ""
11507	}
11508	return *t.CommentsURL
11509}
11510
11511// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
11512func (t *TeamDiscussion) GetCreatedAt() Timestamp {
11513	if t == nil || t.CreatedAt == nil {
11514		return Timestamp{}
11515	}
11516	return *t.CreatedAt
11517}
11518
11519// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
11520func (t *TeamDiscussion) GetHTMLURL() string {
11521	if t == nil || t.HTMLURL == nil {
11522		return ""
11523	}
11524	return *t.HTMLURL
11525}
11526
11527// GetLastEditedAt returns the LastEditedAt field if it's non-nil, zero value otherwise.
11528func (t *TeamDiscussion) GetLastEditedAt() Timestamp {
11529	if t == nil || t.LastEditedAt == nil {
11530		return Timestamp{}
11531	}
11532	return *t.LastEditedAt
11533}
11534
11535// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
11536func (t *TeamDiscussion) GetNodeID() string {
11537	if t == nil || t.NodeID == nil {
11538		return ""
11539	}
11540	return *t.NodeID
11541}
11542
11543// GetNumber returns the Number field if it's non-nil, zero value otherwise.
11544func (t *TeamDiscussion) GetNumber() int {
11545	if t == nil || t.Number == nil {
11546		return 0
11547	}
11548	return *t.Number
11549}
11550
11551// GetPinned returns the Pinned field if it's non-nil, zero value otherwise.
11552func (t *TeamDiscussion) GetPinned() bool {
11553	if t == nil || t.Pinned == nil {
11554		return false
11555	}
11556	return *t.Pinned
11557}
11558
11559// GetPrivate returns the Private field if it's non-nil, zero value otherwise.
11560func (t *TeamDiscussion) GetPrivate() bool {
11561	if t == nil || t.Private == nil {
11562		return false
11563	}
11564	return *t.Private
11565}
11566
11567// GetReactions returns the Reactions field.
11568func (t *TeamDiscussion) GetReactions() *Reactions {
11569	if t == nil {
11570		return nil
11571	}
11572	return t.Reactions
11573}
11574
11575// GetTeamURL returns the TeamURL field if it's non-nil, zero value otherwise.
11576func (t *TeamDiscussion) GetTeamURL() string {
11577	if t == nil || t.TeamURL == nil {
11578		return ""
11579	}
11580	return *t.TeamURL
11581}
11582
11583// GetTitle returns the Title field if it's non-nil, zero value otherwise.
11584func (t *TeamDiscussion) GetTitle() string {
11585	if t == nil || t.Title == nil {
11586		return ""
11587	}
11588	return *t.Title
11589}
11590
11591// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
11592func (t *TeamDiscussion) GetUpdatedAt() Timestamp {
11593	if t == nil || t.UpdatedAt == nil {
11594		return Timestamp{}
11595	}
11596	return *t.UpdatedAt
11597}
11598
11599// GetURL returns the URL field if it's non-nil, zero value otherwise.
11600func (t *TeamDiscussion) GetURL() string {
11601	if t == nil || t.URL == nil {
11602		return ""
11603	}
11604	return *t.URL
11605}
11606
11607// GetAction returns the Action field if it's non-nil, zero value otherwise.
11608func (t *TeamEvent) GetAction() string {
11609	if t == nil || t.Action == nil {
11610		return ""
11611	}
11612	return *t.Action
11613}
11614
11615// GetChanges returns the Changes field.
11616func (t *TeamEvent) GetChanges() *TeamChange {
11617	if t == nil {
11618		return nil
11619	}
11620	return t.Changes
11621}
11622
11623// GetInstallation returns the Installation field.
11624func (t *TeamEvent) GetInstallation() *Installation {
11625	if t == nil {
11626		return nil
11627	}
11628	return t.Installation
11629}
11630
11631// GetOrg returns the Org field.
11632func (t *TeamEvent) GetOrg() *Organization {
11633	if t == nil {
11634		return nil
11635	}
11636	return t.Org
11637}
11638
11639// GetRepo returns the Repo field.
11640func (t *TeamEvent) GetRepo() *Repository {
11641	if t == nil {
11642		return nil
11643	}
11644	return t.Repo
11645}
11646
11647// GetSender returns the Sender field.
11648func (t *TeamEvent) GetSender() *User {
11649	if t == nil {
11650		return nil
11651	}
11652	return t.Sender
11653}
11654
11655// GetTeam returns the Team field.
11656func (t *TeamEvent) GetTeam() *Team {
11657	if t == nil {
11658		return nil
11659	}
11660	return t.Team
11661}
11662
11663// GetDescription returns the Description field if it's non-nil, zero value otherwise.
11664func (t *TeamLDAPMapping) GetDescription() string {
11665	if t == nil || t.Description == nil {
11666		return ""
11667	}
11668	return *t.Description
11669}
11670
11671// GetID returns the ID field if it's non-nil, zero value otherwise.
11672func (t *TeamLDAPMapping) GetID() int64 {
11673	if t == nil || t.ID == nil {
11674		return 0
11675	}
11676	return *t.ID
11677}
11678
11679// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise.
11680func (t *TeamLDAPMapping) GetLDAPDN() string {
11681	if t == nil || t.LDAPDN == nil {
11682		return ""
11683	}
11684	return *t.LDAPDN
11685}
11686
11687// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise.
11688func (t *TeamLDAPMapping) GetMembersURL() string {
11689	if t == nil || t.MembersURL == nil {
11690		return ""
11691	}
11692	return *t.MembersURL
11693}
11694
11695// GetName returns the Name field if it's non-nil, zero value otherwise.
11696func (t *TeamLDAPMapping) GetName() string {
11697	if t == nil || t.Name == nil {
11698		return ""
11699	}
11700	return *t.Name
11701}
11702
11703// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
11704func (t *TeamLDAPMapping) GetPermission() string {
11705	if t == nil || t.Permission == nil {
11706		return ""
11707	}
11708	return *t.Permission
11709}
11710
11711// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise.
11712func (t *TeamLDAPMapping) GetPrivacy() string {
11713	if t == nil || t.Privacy == nil {
11714		return ""
11715	}
11716	return *t.Privacy
11717}
11718
11719// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise.
11720func (t *TeamLDAPMapping) GetRepositoriesURL() string {
11721	if t == nil || t.RepositoriesURL == nil {
11722		return ""
11723	}
11724	return *t.RepositoriesURL
11725}
11726
11727// GetSlug returns the Slug field if it's non-nil, zero value otherwise.
11728func (t *TeamLDAPMapping) GetSlug() string {
11729	if t == nil || t.Slug == nil {
11730		return ""
11731	}
11732	return *t.Slug
11733}
11734
11735// GetURL returns the URL field if it's non-nil, zero value otherwise.
11736func (t *TeamLDAPMapping) GetURL() string {
11737	if t == nil || t.URL == nil {
11738		return ""
11739	}
11740	return *t.URL
11741}
11742
11743// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
11744func (t *TeamProjectOptions) GetPermission() string {
11745	if t == nil || t.Permission == nil {
11746		return ""
11747	}
11748	return *t.Permission
11749}
11750
11751// GetDescription returns the Description field if it's non-nil, zero value otherwise.
11752func (t *TemplateRepoRequest) GetDescription() string {
11753	if t == nil || t.Description == nil {
11754		return ""
11755	}
11756	return *t.Description
11757}
11758
11759// GetName returns the Name field if it's non-nil, zero value otherwise.
11760func (t *TemplateRepoRequest) GetName() string {
11761	if t == nil || t.Name == nil {
11762		return ""
11763	}
11764	return *t.Name
11765}
11766
11767// GetOwner returns the Owner field if it's non-nil, zero value otherwise.
11768func (t *TemplateRepoRequest) GetOwner() string {
11769	if t == nil || t.Owner == nil {
11770		return ""
11771	}
11772	return *t.Owner
11773}
11774
11775// GetPrivate returns the Private field if it's non-nil, zero value otherwise.
11776func (t *TemplateRepoRequest) GetPrivate() bool {
11777	if t == nil || t.Private == nil {
11778		return false
11779	}
11780	return *t.Private
11781}
11782
11783// GetFragment returns the Fragment field if it's non-nil, zero value otherwise.
11784func (t *TextMatch) GetFragment() string {
11785	if t == nil || t.Fragment == nil {
11786		return ""
11787	}
11788	return *t.Fragment
11789}
11790
11791// GetObjectType returns the ObjectType field if it's non-nil, zero value otherwise.
11792func (t *TextMatch) GetObjectType() string {
11793	if t == nil || t.ObjectType == nil {
11794		return ""
11795	}
11796	return *t.ObjectType
11797}
11798
11799// GetObjectURL returns the ObjectURL field if it's non-nil, zero value otherwise.
11800func (t *TextMatch) GetObjectURL() string {
11801	if t == nil || t.ObjectURL == nil {
11802		return ""
11803	}
11804	return *t.ObjectURL
11805}
11806
11807// GetProperty returns the Property field if it's non-nil, zero value otherwise.
11808func (t *TextMatch) GetProperty() string {
11809	if t == nil || t.Property == nil {
11810		return ""
11811	}
11812	return *t.Property
11813}
11814
11815// GetActor returns the Actor field.
11816func (t *Timeline) GetActor() *User {
11817	if t == nil {
11818		return nil
11819	}
11820	return t.Actor
11821}
11822
11823// GetAssignee returns the Assignee field.
11824func (t *Timeline) GetAssignee() *User {
11825	if t == nil {
11826		return nil
11827	}
11828	return t.Assignee
11829}
11830
11831// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
11832func (t *Timeline) GetCommitID() string {
11833	if t == nil || t.CommitID == nil {
11834		return ""
11835	}
11836	return *t.CommitID
11837}
11838
11839// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise.
11840func (t *Timeline) GetCommitURL() string {
11841	if t == nil || t.CommitURL == nil {
11842		return ""
11843	}
11844	return *t.CommitURL
11845}
11846
11847// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
11848func (t *Timeline) GetCreatedAt() time.Time {
11849	if t == nil || t.CreatedAt == nil {
11850		return time.Time{}
11851	}
11852	return *t.CreatedAt
11853}
11854
11855// GetEvent returns the Event field if it's non-nil, zero value otherwise.
11856func (t *Timeline) GetEvent() string {
11857	if t == nil || t.Event == nil {
11858		return ""
11859	}
11860	return *t.Event
11861}
11862
11863// GetID returns the ID field if it's non-nil, zero value otherwise.
11864func (t *Timeline) GetID() int64 {
11865	if t == nil || t.ID == nil {
11866		return 0
11867	}
11868	return *t.ID
11869}
11870
11871// GetLabel returns the Label field.
11872func (t *Timeline) GetLabel() *Label {
11873	if t == nil {
11874		return nil
11875	}
11876	return t.Label
11877}
11878
11879// GetMilestone returns the Milestone field.
11880func (t *Timeline) GetMilestone() *Milestone {
11881	if t == nil {
11882		return nil
11883	}
11884	return t.Milestone
11885}
11886
11887// GetProjectCard returns the ProjectCard field.
11888func (t *Timeline) GetProjectCard() *ProjectCard {
11889	if t == nil {
11890		return nil
11891	}
11892	return t.ProjectCard
11893}
11894
11895// GetRename returns the Rename field.
11896func (t *Timeline) GetRename() *Rename {
11897	if t == nil {
11898		return nil
11899	}
11900	return t.Rename
11901}
11902
11903// GetSource returns the Source field.
11904func (t *Timeline) GetSource() *Source {
11905	if t == nil {
11906		return nil
11907	}
11908	return t.Source
11909}
11910
11911// GetURL returns the URL field if it's non-nil, zero value otherwise.
11912func (t *Timeline) GetURL() string {
11913	if t == nil || t.URL == nil {
11914		return ""
11915	}
11916	return *t.URL
11917}
11918
11919// GetCount returns the Count field if it's non-nil, zero value otherwise.
11920func (t *TrafficClones) GetCount() int {
11921	if t == nil || t.Count == nil {
11922		return 0
11923	}
11924	return *t.Count
11925}
11926
11927// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
11928func (t *TrafficClones) GetUniques() int {
11929	if t == nil || t.Uniques == nil {
11930		return 0
11931	}
11932	return *t.Uniques
11933}
11934
11935// GetCount returns the Count field if it's non-nil, zero value otherwise.
11936func (t *TrafficData) GetCount() int {
11937	if t == nil || t.Count == nil {
11938		return 0
11939	}
11940	return *t.Count
11941}
11942
11943// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise.
11944func (t *TrafficData) GetTimestamp() Timestamp {
11945	if t == nil || t.Timestamp == nil {
11946		return Timestamp{}
11947	}
11948	return *t.Timestamp
11949}
11950
11951// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
11952func (t *TrafficData) GetUniques() int {
11953	if t == nil || t.Uniques == nil {
11954		return 0
11955	}
11956	return *t.Uniques
11957}
11958
11959// GetCount returns the Count field if it's non-nil, zero value otherwise.
11960func (t *TrafficPath) GetCount() int {
11961	if t == nil || t.Count == nil {
11962		return 0
11963	}
11964	return *t.Count
11965}
11966
11967// GetPath returns the Path field if it's non-nil, zero value otherwise.
11968func (t *TrafficPath) GetPath() string {
11969	if t == nil || t.Path == nil {
11970		return ""
11971	}
11972	return *t.Path
11973}
11974
11975// GetTitle returns the Title field if it's non-nil, zero value otherwise.
11976func (t *TrafficPath) GetTitle() string {
11977	if t == nil || t.Title == nil {
11978		return ""
11979	}
11980	return *t.Title
11981}
11982
11983// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
11984func (t *TrafficPath) GetUniques() int {
11985	if t == nil || t.Uniques == nil {
11986		return 0
11987	}
11988	return *t.Uniques
11989}
11990
11991// GetCount returns the Count field if it's non-nil, zero value otherwise.
11992func (t *TrafficReferrer) GetCount() int {
11993	if t == nil || t.Count == nil {
11994		return 0
11995	}
11996	return *t.Count
11997}
11998
11999// GetReferrer returns the Referrer field if it's non-nil, zero value otherwise.
12000func (t *TrafficReferrer) GetReferrer() string {
12001	if t == nil || t.Referrer == nil {
12002		return ""
12003	}
12004	return *t.Referrer
12005}
12006
12007// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
12008func (t *TrafficReferrer) GetUniques() int {
12009	if t == nil || t.Uniques == nil {
12010		return 0
12011	}
12012	return *t.Uniques
12013}
12014
12015// GetCount returns the Count field if it's non-nil, zero value otherwise.
12016func (t *TrafficViews) GetCount() int {
12017	if t == nil || t.Count == nil {
12018		return 0
12019	}
12020	return *t.Count
12021}
12022
12023// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
12024func (t *TrafficViews) GetUniques() int {
12025	if t == nil || t.Uniques == nil {
12026		return 0
12027	}
12028	return *t.Uniques
12029}
12030
12031// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
12032func (t *Tree) GetSHA() string {
12033	if t == nil || t.SHA == nil {
12034		return ""
12035	}
12036	return *t.SHA
12037}
12038
12039// GetTruncated returns the Truncated field if it's non-nil, zero value otherwise.
12040func (t *Tree) GetTruncated() bool {
12041	if t == nil || t.Truncated == nil {
12042		return false
12043	}
12044	return *t.Truncated
12045}
12046
12047// GetContent returns the Content field if it's non-nil, zero value otherwise.
12048func (t *TreeEntry) GetContent() string {
12049	if t == nil || t.Content == nil {
12050		return ""
12051	}
12052	return *t.Content
12053}
12054
12055// GetMode returns the Mode field if it's non-nil, zero value otherwise.
12056func (t *TreeEntry) GetMode() string {
12057	if t == nil || t.Mode == nil {
12058		return ""
12059	}
12060	return *t.Mode
12061}
12062
12063// GetPath returns the Path field if it's non-nil, zero value otherwise.
12064func (t *TreeEntry) GetPath() string {
12065	if t == nil || t.Path == nil {
12066		return ""
12067	}
12068	return *t.Path
12069}
12070
12071// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
12072func (t *TreeEntry) GetSHA() string {
12073	if t == nil || t.SHA == nil {
12074		return ""
12075	}
12076	return *t.SHA
12077}
12078
12079// GetSize returns the Size field if it's non-nil, zero value otherwise.
12080func (t *TreeEntry) GetSize() int {
12081	if t == nil || t.Size == nil {
12082		return 0
12083	}
12084	return *t.Size
12085}
12086
12087// GetType returns the Type field if it's non-nil, zero value otherwise.
12088func (t *TreeEntry) GetType() string {
12089	if t == nil || t.Type == nil {
12090		return ""
12091	}
12092	return *t.Type
12093}
12094
12095// GetURL returns the URL field if it's non-nil, zero value otherwise.
12096func (t *TreeEntry) GetURL() string {
12097	if t == nil || t.URL == nil {
12098		return ""
12099	}
12100	return *t.URL
12101}
12102
12103// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise.
12104func (u *UpdateCheckRunOptions) GetCompletedAt() Timestamp {
12105	if u == nil || u.CompletedAt == nil {
12106		return Timestamp{}
12107	}
12108	return *u.CompletedAt
12109}
12110
12111// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise.
12112func (u *UpdateCheckRunOptions) GetConclusion() string {
12113	if u == nil || u.Conclusion == nil {
12114		return ""
12115	}
12116	return *u.Conclusion
12117}
12118
12119// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise.
12120func (u *UpdateCheckRunOptions) GetDetailsURL() string {
12121	if u == nil || u.DetailsURL == nil {
12122		return ""
12123	}
12124	return *u.DetailsURL
12125}
12126
12127// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise.
12128func (u *UpdateCheckRunOptions) GetExternalID() string {
12129	if u == nil || u.ExternalID == nil {
12130		return ""
12131	}
12132	return *u.ExternalID
12133}
12134
12135// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise.
12136func (u *UpdateCheckRunOptions) GetHeadBranch() string {
12137	if u == nil || u.HeadBranch == nil {
12138		return ""
12139	}
12140	return *u.HeadBranch
12141}
12142
12143// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise.
12144func (u *UpdateCheckRunOptions) GetHeadSHA() string {
12145	if u == nil || u.HeadSHA == nil {
12146		return ""
12147	}
12148	return *u.HeadSHA
12149}
12150
12151// GetOutput returns the Output field.
12152func (u *UpdateCheckRunOptions) GetOutput() *CheckRunOutput {
12153	if u == nil {
12154		return nil
12155	}
12156	return u.Output
12157}
12158
12159// GetStatus returns the Status field if it's non-nil, zero value otherwise.
12160func (u *UpdateCheckRunOptions) GetStatus() string {
12161	if u == nil || u.Status == nil {
12162		return ""
12163	}
12164	return *u.Status
12165}
12166
12167// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise.
12168func (u *User) GetAvatarURL() string {
12169	if u == nil || u.AvatarURL == nil {
12170		return ""
12171	}
12172	return *u.AvatarURL
12173}
12174
12175// GetBio returns the Bio field if it's non-nil, zero value otherwise.
12176func (u *User) GetBio() string {
12177	if u == nil || u.Bio == nil {
12178		return ""
12179	}
12180	return *u.Bio
12181}
12182
12183// GetBlog returns the Blog field if it's non-nil, zero value otherwise.
12184func (u *User) GetBlog() string {
12185	if u == nil || u.Blog == nil {
12186		return ""
12187	}
12188	return *u.Blog
12189}
12190
12191// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise.
12192func (u *User) GetCollaborators() int {
12193	if u == nil || u.Collaborators == nil {
12194		return 0
12195	}
12196	return *u.Collaborators
12197}
12198
12199// GetCompany returns the Company field if it's non-nil, zero value otherwise.
12200func (u *User) GetCompany() string {
12201	if u == nil || u.Company == nil {
12202		return ""
12203	}
12204	return *u.Company
12205}
12206
12207// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
12208func (u *User) GetCreatedAt() Timestamp {
12209	if u == nil || u.CreatedAt == nil {
12210		return Timestamp{}
12211	}
12212	return *u.CreatedAt
12213}
12214
12215// GetDiskUsage returns the DiskUsage field if it's non-nil, zero value otherwise.
12216func (u *User) GetDiskUsage() int {
12217	if u == nil || u.DiskUsage == nil {
12218		return 0
12219	}
12220	return *u.DiskUsage
12221}
12222
12223// GetEmail returns the Email field if it's non-nil, zero value otherwise.
12224func (u *User) GetEmail() string {
12225	if u == nil || u.Email == nil {
12226		return ""
12227	}
12228	return *u.Email
12229}
12230
12231// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
12232func (u *User) GetEventsURL() string {
12233	if u == nil || u.EventsURL == nil {
12234		return ""
12235	}
12236	return *u.EventsURL
12237}
12238
12239// GetFollowers returns the Followers field if it's non-nil, zero value otherwise.
12240func (u *User) GetFollowers() int {
12241	if u == nil || u.Followers == nil {
12242		return 0
12243	}
12244	return *u.Followers
12245}
12246
12247// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise.
12248func (u *User) GetFollowersURL() string {
12249	if u == nil || u.FollowersURL == nil {
12250		return ""
12251	}
12252	return *u.FollowersURL
12253}
12254
12255// GetFollowing returns the Following field if it's non-nil, zero value otherwise.
12256func (u *User) GetFollowing() int {
12257	if u == nil || u.Following == nil {
12258		return 0
12259	}
12260	return *u.Following
12261}
12262
12263// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise.
12264func (u *User) GetFollowingURL() string {
12265	if u == nil || u.FollowingURL == nil {
12266		return ""
12267	}
12268	return *u.FollowingURL
12269}
12270
12271// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise.
12272func (u *User) GetGistsURL() string {
12273	if u == nil || u.GistsURL == nil {
12274		return ""
12275	}
12276	return *u.GistsURL
12277}
12278
12279// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise.
12280func (u *User) GetGravatarID() string {
12281	if u == nil || u.GravatarID == nil {
12282		return ""
12283	}
12284	return *u.GravatarID
12285}
12286
12287// GetHireable returns the Hireable field if it's non-nil, zero value otherwise.
12288func (u *User) GetHireable() bool {
12289	if u == nil || u.Hireable == nil {
12290		return false
12291	}
12292	return *u.Hireable
12293}
12294
12295// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
12296func (u *User) GetHTMLURL() string {
12297	if u == nil || u.HTMLURL == nil {
12298		return ""
12299	}
12300	return *u.HTMLURL
12301}
12302
12303// GetID returns the ID field if it's non-nil, zero value otherwise.
12304func (u *User) GetID() int64 {
12305	if u == nil || u.ID == nil {
12306		return 0
12307	}
12308	return *u.ID
12309}
12310
12311// GetLdapDn returns the LdapDn field if it's non-nil, zero value otherwise.
12312func (u *User) GetLdapDn() string {
12313	if u == nil || u.LdapDn == nil {
12314		return ""
12315	}
12316	return *u.LdapDn
12317}
12318
12319// GetLocation returns the Location field if it's non-nil, zero value otherwise.
12320func (u *User) GetLocation() string {
12321	if u == nil || u.Location == nil {
12322		return ""
12323	}
12324	return *u.Location
12325}
12326
12327// GetLogin returns the Login field if it's non-nil, zero value otherwise.
12328func (u *User) GetLogin() string {
12329	if u == nil || u.Login == nil {
12330		return ""
12331	}
12332	return *u.Login
12333}
12334
12335// GetName returns the Name field if it's non-nil, zero value otherwise.
12336func (u *User) GetName() string {
12337	if u == nil || u.Name == nil {
12338		return ""
12339	}
12340	return *u.Name
12341}
12342
12343// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
12344func (u *User) GetNodeID() string {
12345	if u == nil || u.NodeID == nil {
12346		return ""
12347	}
12348	return *u.NodeID
12349}
12350
12351// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise.
12352func (u *User) GetOrganizationsURL() string {
12353	if u == nil || u.OrganizationsURL == nil {
12354		return ""
12355	}
12356	return *u.OrganizationsURL
12357}
12358
12359// GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise.
12360func (u *User) GetOwnedPrivateRepos() int {
12361	if u == nil || u.OwnedPrivateRepos == nil {
12362		return 0
12363	}
12364	return *u.OwnedPrivateRepos
12365}
12366
12367// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.
12368func (u *User) GetPermissions() map[string]bool {
12369	if u == nil || u.Permissions == nil {
12370		return map[string]bool{}
12371	}
12372	return *u.Permissions
12373}
12374
12375// GetPlan returns the Plan field.
12376func (u *User) GetPlan() *Plan {
12377	if u == nil {
12378		return nil
12379	}
12380	return u.Plan
12381}
12382
12383// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise.
12384func (u *User) GetPrivateGists() int {
12385	if u == nil || u.PrivateGists == nil {
12386		return 0
12387	}
12388	return *u.PrivateGists
12389}
12390
12391// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise.
12392func (u *User) GetPublicGists() int {
12393	if u == nil || u.PublicGists == nil {
12394		return 0
12395	}
12396	return *u.PublicGists
12397}
12398
12399// GetPublicRepos returns the PublicRepos field if it's non-nil, zero value otherwise.
12400func (u *User) GetPublicRepos() int {
12401	if u == nil || u.PublicRepos == nil {
12402		return 0
12403	}
12404	return *u.PublicRepos
12405}
12406
12407// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise.
12408func (u *User) GetReceivedEventsURL() string {
12409	if u == nil || u.ReceivedEventsURL == nil {
12410		return ""
12411	}
12412	return *u.ReceivedEventsURL
12413}
12414
12415// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise.
12416func (u *User) GetReposURL() string {
12417	if u == nil || u.ReposURL == nil {
12418		return ""
12419	}
12420	return *u.ReposURL
12421}
12422
12423// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise.
12424func (u *User) GetSiteAdmin() bool {
12425	if u == nil || u.SiteAdmin == nil {
12426		return false
12427	}
12428	return *u.SiteAdmin
12429}
12430
12431// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise.
12432func (u *User) GetStarredURL() string {
12433	if u == nil || u.StarredURL == nil {
12434		return ""
12435	}
12436	return *u.StarredURL
12437}
12438
12439// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise.
12440func (u *User) GetSubscriptionsURL() string {
12441	if u == nil || u.SubscriptionsURL == nil {
12442		return ""
12443	}
12444	return *u.SubscriptionsURL
12445}
12446
12447// GetSuspendedAt returns the SuspendedAt field if it's non-nil, zero value otherwise.
12448func (u *User) GetSuspendedAt() Timestamp {
12449	if u == nil || u.SuspendedAt == nil {
12450		return Timestamp{}
12451	}
12452	return *u.SuspendedAt
12453}
12454
12455// GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise.
12456func (u *User) GetTotalPrivateRepos() int {
12457	if u == nil || u.TotalPrivateRepos == nil {
12458		return 0
12459	}
12460	return *u.TotalPrivateRepos
12461}
12462
12463// GetTwoFactorAuthentication returns the TwoFactorAuthentication field if it's non-nil, zero value otherwise.
12464func (u *User) GetTwoFactorAuthentication() bool {
12465	if u == nil || u.TwoFactorAuthentication == nil {
12466		return false
12467	}
12468	return *u.TwoFactorAuthentication
12469}
12470
12471// GetType returns the Type field if it's non-nil, zero value otherwise.
12472func (u *User) GetType() string {
12473	if u == nil || u.Type == nil {
12474		return ""
12475	}
12476	return *u.Type
12477}
12478
12479// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
12480func (u *User) GetUpdatedAt() Timestamp {
12481	if u == nil || u.UpdatedAt == nil {
12482		return Timestamp{}
12483	}
12484	return *u.UpdatedAt
12485}
12486
12487// GetURL returns the URL field if it's non-nil, zero value otherwise.
12488func (u *User) GetURL() string {
12489	if u == nil || u.URL == nil {
12490		return ""
12491	}
12492	return *u.URL
12493}
12494
12495// GetMessage returns the Message field if it's non-nil, zero value otherwise.
12496func (u *UserContext) GetMessage() string {
12497	if u == nil || u.Message == nil {
12498		return ""
12499	}
12500	return *u.Message
12501}
12502
12503// GetOcticon returns the Octicon field if it's non-nil, zero value otherwise.
12504func (u *UserContext) GetOcticon() string {
12505	if u == nil || u.Octicon == nil {
12506		return ""
12507	}
12508	return *u.Octicon
12509}
12510
12511// GetEmail returns the Email field if it's non-nil, zero value otherwise.
12512func (u *UserEmail) GetEmail() string {
12513	if u == nil || u.Email == nil {
12514		return ""
12515	}
12516	return *u.Email
12517}
12518
12519// GetPrimary returns the Primary field if it's non-nil, zero value otherwise.
12520func (u *UserEmail) GetPrimary() bool {
12521	if u == nil || u.Primary == nil {
12522		return false
12523	}
12524	return *u.Primary
12525}
12526
12527// GetVerified returns the Verified field if it's non-nil, zero value otherwise.
12528func (u *UserEmail) GetVerified() bool {
12529	if u == nil || u.Verified == nil {
12530		return false
12531	}
12532	return *u.Verified
12533}
12534
12535// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise.
12536func (u *UserEmail) GetVisibility() string {
12537	if u == nil || u.Visibility == nil {
12538		return ""
12539	}
12540	return *u.Visibility
12541}
12542
12543// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise.
12544func (u *UserLDAPMapping) GetAvatarURL() string {
12545	if u == nil || u.AvatarURL == nil {
12546		return ""
12547	}
12548	return *u.AvatarURL
12549}
12550
12551// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
12552func (u *UserLDAPMapping) GetEventsURL() string {
12553	if u == nil || u.EventsURL == nil {
12554		return ""
12555	}
12556	return *u.EventsURL
12557}
12558
12559// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise.
12560func (u *UserLDAPMapping) GetFollowersURL() string {
12561	if u == nil || u.FollowersURL == nil {
12562		return ""
12563	}
12564	return *u.FollowersURL
12565}
12566
12567// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise.
12568func (u *UserLDAPMapping) GetFollowingURL() string {
12569	if u == nil || u.FollowingURL == nil {
12570		return ""
12571	}
12572	return *u.FollowingURL
12573}
12574
12575// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise.
12576func (u *UserLDAPMapping) GetGistsURL() string {
12577	if u == nil || u.GistsURL == nil {
12578		return ""
12579	}
12580	return *u.GistsURL
12581}
12582
12583// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise.
12584func (u *UserLDAPMapping) GetGravatarID() string {
12585	if u == nil || u.GravatarID == nil {
12586		return ""
12587	}
12588	return *u.GravatarID
12589}
12590
12591// GetID returns the ID field if it's non-nil, zero value otherwise.
12592func (u *UserLDAPMapping) GetID() int64 {
12593	if u == nil || u.ID == nil {
12594		return 0
12595	}
12596	return *u.ID
12597}
12598
12599// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise.
12600func (u *UserLDAPMapping) GetLDAPDN() string {
12601	if u == nil || u.LDAPDN == nil {
12602		return ""
12603	}
12604	return *u.LDAPDN
12605}
12606
12607// GetLogin returns the Login field if it's non-nil, zero value otherwise.
12608func (u *UserLDAPMapping) GetLogin() string {
12609	if u == nil || u.Login == nil {
12610		return ""
12611	}
12612	return *u.Login
12613}
12614
12615// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise.
12616func (u *UserLDAPMapping) GetOrganizationsURL() string {
12617	if u == nil || u.OrganizationsURL == nil {
12618		return ""
12619	}
12620	return *u.OrganizationsURL
12621}
12622
12623// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise.
12624func (u *UserLDAPMapping) GetReceivedEventsURL() string {
12625	if u == nil || u.ReceivedEventsURL == nil {
12626		return ""
12627	}
12628	return *u.ReceivedEventsURL
12629}
12630
12631// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise.
12632func (u *UserLDAPMapping) GetReposURL() string {
12633	if u == nil || u.ReposURL == nil {
12634		return ""
12635	}
12636	return *u.ReposURL
12637}
12638
12639// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise.
12640func (u *UserLDAPMapping) GetSiteAdmin() bool {
12641	if u == nil || u.SiteAdmin == nil {
12642		return false
12643	}
12644	return *u.SiteAdmin
12645}
12646
12647// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise.
12648func (u *UserLDAPMapping) GetStarredURL() string {
12649	if u == nil || u.StarredURL == nil {
12650		return ""
12651	}
12652	return *u.StarredURL
12653}
12654
12655// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise.
12656func (u *UserLDAPMapping) GetSubscriptionsURL() string {
12657	if u == nil || u.SubscriptionsURL == nil {
12658		return ""
12659	}
12660	return *u.SubscriptionsURL
12661}
12662
12663// GetType returns the Type field if it's non-nil, zero value otherwise.
12664func (u *UserLDAPMapping) GetType() string {
12665	if u == nil || u.Type == nil {
12666		return ""
12667	}
12668	return *u.Type
12669}
12670
12671// GetURL returns the URL field if it's non-nil, zero value otherwise.
12672func (u *UserLDAPMapping) GetURL() string {
12673	if u == nil || u.URL == nil {
12674		return ""
12675	}
12676	return *u.URL
12677}
12678
12679// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
12680func (u *UserMigration) GetCreatedAt() string {
12681	if u == nil || u.CreatedAt == nil {
12682		return ""
12683	}
12684	return *u.CreatedAt
12685}
12686
12687// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise.
12688func (u *UserMigration) GetExcludeAttachments() bool {
12689	if u == nil || u.ExcludeAttachments == nil {
12690		return false
12691	}
12692	return *u.ExcludeAttachments
12693}
12694
12695// GetGUID returns the GUID field if it's non-nil, zero value otherwise.
12696func (u *UserMigration) GetGUID() string {
12697	if u == nil || u.GUID == nil {
12698		return ""
12699	}
12700	return *u.GUID
12701}
12702
12703// GetID returns the ID field if it's non-nil, zero value otherwise.
12704func (u *UserMigration) GetID() int64 {
12705	if u == nil || u.ID == nil {
12706		return 0
12707	}
12708	return *u.ID
12709}
12710
12711// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise.
12712func (u *UserMigration) GetLockRepositories() bool {
12713	if u == nil || u.LockRepositories == nil {
12714		return false
12715	}
12716	return *u.LockRepositories
12717}
12718
12719// GetState returns the State field if it's non-nil, zero value otherwise.
12720func (u *UserMigration) GetState() string {
12721	if u == nil || u.State == nil {
12722		return ""
12723	}
12724	return *u.State
12725}
12726
12727// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
12728func (u *UserMigration) GetUpdatedAt() string {
12729	if u == nil || u.UpdatedAt == nil {
12730		return ""
12731	}
12732	return *u.UpdatedAt
12733}
12734
12735// GetURL returns the URL field if it's non-nil, zero value otherwise.
12736func (u *UserMigration) GetURL() string {
12737	if u == nil || u.URL == nil {
12738		return ""
12739	}
12740	return *u.URL
12741}
12742
12743// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
12744func (u *UsersSearchResult) GetIncompleteResults() bool {
12745	if u == nil || u.IncompleteResults == nil {
12746		return false
12747	}
12748	return *u.IncompleteResults
12749}
12750
12751// GetTotal returns the Total field if it's non-nil, zero value otherwise.
12752func (u *UsersSearchResult) GetTotal() int {
12753	if u == nil || u.Total == nil {
12754		return 0
12755	}
12756	return *u.Total
12757}
12758
12759// GetAdminUsers returns the AdminUsers field if it's non-nil, zero value otherwise.
12760func (u *UserStats) GetAdminUsers() int {
12761	if u == nil || u.AdminUsers == nil {
12762		return 0
12763	}
12764	return *u.AdminUsers
12765}
12766
12767// GetSuspendedUsers returns the SuspendedUsers field if it's non-nil, zero value otherwise.
12768func (u *UserStats) GetSuspendedUsers() int {
12769	if u == nil || u.SuspendedUsers == nil {
12770		return 0
12771	}
12772	return *u.SuspendedUsers
12773}
12774
12775// GetTotalUsers returns the TotalUsers field if it's non-nil, zero value otherwise.
12776func (u *UserStats) GetTotalUsers() int {
12777	if u == nil || u.TotalUsers == nil {
12778		return 0
12779	}
12780	return *u.TotalUsers
12781}
12782
12783// GetReason returns the Reason field if it's non-nil, zero value otherwise.
12784func (u *UserSuspendOptions) GetReason() string {
12785	if u == nil || u.Reason == nil {
12786		return ""
12787	}
12788	return *u.Reason
12789}
12790
12791// GetAction returns the Action field if it's non-nil, zero value otherwise.
12792func (w *WatchEvent) GetAction() string {
12793	if w == nil || w.Action == nil {
12794		return ""
12795	}
12796	return *w.Action
12797}
12798
12799// GetInstallation returns the Installation field.
12800func (w *WatchEvent) GetInstallation() *Installation {
12801	if w == nil {
12802		return nil
12803	}
12804	return w.Installation
12805}
12806
12807// GetRepo returns the Repo field.
12808func (w *WatchEvent) GetRepo() *Repository {
12809	if w == nil {
12810		return nil
12811	}
12812	return w.Repo
12813}
12814
12815// GetSender returns the Sender field.
12816func (w *WatchEvent) GetSender() *User {
12817	if w == nil {
12818		return nil
12819	}
12820	return w.Sender
12821}
12822
12823// GetEmail returns the Email field if it's non-nil, zero value otherwise.
12824func (w *WebHookAuthor) GetEmail() string {
12825	if w == nil || w.Email == nil {
12826		return ""
12827	}
12828	return *w.Email
12829}
12830
12831// GetName returns the Name field if it's non-nil, zero value otherwise.
12832func (w *WebHookAuthor) GetName() string {
12833	if w == nil || w.Name == nil {
12834		return ""
12835	}
12836	return *w.Name
12837}
12838
12839// GetUsername returns the Username field if it's non-nil, zero value otherwise.
12840func (w *WebHookAuthor) GetUsername() string {
12841	if w == nil || w.Username == nil {
12842		return ""
12843	}
12844	return *w.Username
12845}
12846
12847// GetAuthor returns the Author field.
12848func (w *WebHookCommit) GetAuthor() *WebHookAuthor {
12849	if w == nil {
12850		return nil
12851	}
12852	return w.Author
12853}
12854
12855// GetCommitter returns the Committer field.
12856func (w *WebHookCommit) GetCommitter() *WebHookAuthor {
12857	if w == nil {
12858		return nil
12859	}
12860	return w.Committer
12861}
12862
12863// GetDistinct returns the Distinct field if it's non-nil, zero value otherwise.
12864func (w *WebHookCommit) GetDistinct() bool {
12865	if w == nil || w.Distinct == nil {
12866		return false
12867	}
12868	return *w.Distinct
12869}
12870
12871// GetID returns the ID field if it's non-nil, zero value otherwise.
12872func (w *WebHookCommit) GetID() string {
12873	if w == nil || w.ID == nil {
12874		return ""
12875	}
12876	return *w.ID
12877}
12878
12879// GetMessage returns the Message field if it's non-nil, zero value otherwise.
12880func (w *WebHookCommit) GetMessage() string {
12881	if w == nil || w.Message == nil {
12882		return ""
12883	}
12884	return *w.Message
12885}
12886
12887// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise.
12888func (w *WebHookCommit) GetTimestamp() time.Time {
12889	if w == nil || w.Timestamp == nil {
12890		return time.Time{}
12891	}
12892	return *w.Timestamp
12893}
12894
12895// GetAfter returns the After field if it's non-nil, zero value otherwise.
12896func (w *WebHookPayload) GetAfter() string {
12897	if w == nil || w.After == nil {
12898		return ""
12899	}
12900	return *w.After
12901}
12902
12903// GetBefore returns the Before field if it's non-nil, zero value otherwise.
12904func (w *WebHookPayload) GetBefore() string {
12905	if w == nil || w.Before == nil {
12906		return ""
12907	}
12908	return *w.Before
12909}
12910
12911// GetCompare returns the Compare field if it's non-nil, zero value otherwise.
12912func (w *WebHookPayload) GetCompare() string {
12913	if w == nil || w.Compare == nil {
12914		return ""
12915	}
12916	return *w.Compare
12917}
12918
12919// GetCreated returns the Created field if it's non-nil, zero value otherwise.
12920func (w *WebHookPayload) GetCreated() bool {
12921	if w == nil || w.Created == nil {
12922		return false
12923	}
12924	return *w.Created
12925}
12926
12927// GetDeleted returns the Deleted field if it's non-nil, zero value otherwise.
12928func (w *WebHookPayload) GetDeleted() bool {
12929	if w == nil || w.Deleted == nil {
12930		return false
12931	}
12932	return *w.Deleted
12933}
12934
12935// GetForced returns the Forced field if it's non-nil, zero value otherwise.
12936func (w *WebHookPayload) GetForced() bool {
12937	if w == nil || w.Forced == nil {
12938		return false
12939	}
12940	return *w.Forced
12941}
12942
12943// GetHeadCommit returns the HeadCommit field.
12944func (w *WebHookPayload) GetHeadCommit() *WebHookCommit {
12945	if w == nil {
12946		return nil
12947	}
12948	return w.HeadCommit
12949}
12950
12951// GetPusher returns the Pusher field.
12952func (w *WebHookPayload) GetPusher() *User {
12953	if w == nil {
12954		return nil
12955	}
12956	return w.Pusher
12957}
12958
12959// GetRef returns the Ref field if it's non-nil, zero value otherwise.
12960func (w *WebHookPayload) GetRef() string {
12961	if w == nil || w.Ref == nil {
12962		return ""
12963	}
12964	return *w.Ref
12965}
12966
12967// GetRepo returns the Repo field.
12968func (w *WebHookPayload) GetRepo() *Repository {
12969	if w == nil {
12970		return nil
12971	}
12972	return w.Repo
12973}
12974
12975// GetSender returns the Sender field.
12976func (w *WebHookPayload) GetSender() *User {
12977	if w == nil {
12978		return nil
12979	}
12980	return w.Sender
12981}
12982
12983// GetTotal returns the Total field if it's non-nil, zero value otherwise.
12984func (w *WeeklyCommitActivity) GetTotal() int {
12985	if w == nil || w.Total == nil {
12986		return 0
12987	}
12988	return *w.Total
12989}
12990
12991// GetWeek returns the Week field if it's non-nil, zero value otherwise.
12992func (w *WeeklyCommitActivity) GetWeek() Timestamp {
12993	if w == nil || w.Week == nil {
12994		return Timestamp{}
12995	}
12996	return *w.Week
12997}
12998
12999// GetAdditions returns the Additions field if it's non-nil, zero value otherwise.
13000func (w *WeeklyStats) GetAdditions() int {
13001	if w == nil || w.Additions == nil {
13002		return 0
13003	}
13004	return *w.Additions
13005}
13006
13007// GetCommits returns the Commits field if it's non-nil, zero value otherwise.
13008func (w *WeeklyStats) GetCommits() int {
13009	if w == nil || w.Commits == nil {
13010		return 0
13011	}
13012	return *w.Commits
13013}
13014
13015// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise.
13016func (w *WeeklyStats) GetDeletions() int {
13017	if w == nil || w.Deletions == nil {
13018		return 0
13019	}
13020	return *w.Deletions
13021}
13022
13023// GetWeek returns the Week field if it's non-nil, zero value otherwise.
13024func (w *WeeklyStats) GetWeek() Timestamp {
13025	if w == nil || w.Week == nil {
13026		return Timestamp{}
13027	}
13028	return *w.Week
13029}
13030