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() time.Time {
121	if a == nil || a.CreatedAt == nil {
122		return time.Time{}
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// GetOwner returns the Owner field.
168func (a *App) GetOwner() *User {
169	if a == nil {
170		return nil
171	}
172	return a.Owner
173}
174
175// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
176func (a *App) GetUpdatedAt() time.Time {
177	if a == nil || a.UpdatedAt == nil {
178		return time.Time{}
179	}
180	return *a.UpdatedAt
181}
182
183// GetApp returns the App field.
184func (a *Authorization) GetApp() *AuthorizationApp {
185	if a == nil {
186		return nil
187	}
188	return a.App
189}
190
191// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
192func (a *Authorization) GetCreatedAt() Timestamp {
193	if a == nil || a.CreatedAt == nil {
194		return Timestamp{}
195	}
196	return *a.CreatedAt
197}
198
199// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise.
200func (a *Authorization) GetFingerprint() string {
201	if a == nil || a.Fingerprint == nil {
202		return ""
203	}
204	return *a.Fingerprint
205}
206
207// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise.
208func (a *Authorization) GetHashedToken() string {
209	if a == nil || a.HashedToken == nil {
210		return ""
211	}
212	return *a.HashedToken
213}
214
215// GetID returns the ID field if it's non-nil, zero value otherwise.
216func (a *Authorization) GetID() int64 {
217	if a == nil || a.ID == nil {
218		return 0
219	}
220	return *a.ID
221}
222
223// GetNote returns the Note field if it's non-nil, zero value otherwise.
224func (a *Authorization) GetNote() string {
225	if a == nil || a.Note == nil {
226		return ""
227	}
228	return *a.Note
229}
230
231// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise.
232func (a *Authorization) GetNoteURL() string {
233	if a == nil || a.NoteURL == nil {
234		return ""
235	}
236	return *a.NoteURL
237}
238
239// GetToken returns the Token field if it's non-nil, zero value otherwise.
240func (a *Authorization) GetToken() string {
241	if a == nil || a.Token == nil {
242		return ""
243	}
244	return *a.Token
245}
246
247// GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise.
248func (a *Authorization) GetTokenLastEight() string {
249	if a == nil || a.TokenLastEight == nil {
250		return ""
251	}
252	return *a.TokenLastEight
253}
254
255// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
256func (a *Authorization) GetUpdatedAt() Timestamp {
257	if a == nil || a.UpdatedAt == nil {
258		return Timestamp{}
259	}
260	return *a.UpdatedAt
261}
262
263// GetURL returns the URL field if it's non-nil, zero value otherwise.
264func (a *Authorization) GetURL() string {
265	if a == nil || a.URL == nil {
266		return ""
267	}
268	return *a.URL
269}
270
271// GetUser returns the User field.
272func (a *Authorization) GetUser() *User {
273	if a == nil {
274		return nil
275	}
276	return a.User
277}
278
279// GetClientID returns the ClientID field if it's non-nil, zero value otherwise.
280func (a *AuthorizationApp) GetClientID() string {
281	if a == nil || a.ClientID == nil {
282		return ""
283	}
284	return *a.ClientID
285}
286
287// GetName returns the Name field if it's non-nil, zero value otherwise.
288func (a *AuthorizationApp) GetName() string {
289	if a == nil || a.Name == nil {
290		return ""
291	}
292	return *a.Name
293}
294
295// GetURL returns the URL field if it's non-nil, zero value otherwise.
296func (a *AuthorizationApp) GetURL() string {
297	if a == nil || a.URL == nil {
298		return ""
299	}
300	return *a.URL
301}
302
303// GetClientID returns the ClientID field if it's non-nil, zero value otherwise.
304func (a *AuthorizationRequest) GetClientID() string {
305	if a == nil || a.ClientID == nil {
306		return ""
307	}
308	return *a.ClientID
309}
310
311// GetClientSecret returns the ClientSecret field if it's non-nil, zero value otherwise.
312func (a *AuthorizationRequest) GetClientSecret() string {
313	if a == nil || a.ClientSecret == nil {
314		return ""
315	}
316	return *a.ClientSecret
317}
318
319// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise.
320func (a *AuthorizationRequest) GetFingerprint() string {
321	if a == nil || a.Fingerprint == nil {
322		return ""
323	}
324	return *a.Fingerprint
325}
326
327// GetNote returns the Note field if it's non-nil, zero value otherwise.
328func (a *AuthorizationRequest) GetNote() string {
329	if a == nil || a.Note == nil {
330		return ""
331	}
332	return *a.Note
333}
334
335// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise.
336func (a *AuthorizationRequest) GetNoteURL() string {
337	if a == nil || a.NoteURL == nil {
338		return ""
339	}
340	return *a.NoteURL
341}
342
343// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise.
344func (a *AuthorizationUpdateRequest) GetFingerprint() string {
345	if a == nil || a.Fingerprint == nil {
346		return ""
347	}
348	return *a.Fingerprint
349}
350
351// GetNote returns the Note field if it's non-nil, zero value otherwise.
352func (a *AuthorizationUpdateRequest) GetNote() string {
353	if a == nil || a.Note == nil {
354		return ""
355	}
356	return *a.Note
357}
358
359// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise.
360func (a *AuthorizationUpdateRequest) GetNoteURL() string {
361	if a == nil || a.NoteURL == nil {
362		return ""
363	}
364	return *a.NoteURL
365}
366
367// GetContent returns the Content field if it's non-nil, zero value otherwise.
368func (b *Blob) GetContent() string {
369	if b == nil || b.Content == nil {
370		return ""
371	}
372	return *b.Content
373}
374
375// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise.
376func (b *Blob) GetEncoding() string {
377	if b == nil || b.Encoding == nil {
378		return ""
379	}
380	return *b.Encoding
381}
382
383// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
384func (b *Blob) GetNodeID() string {
385	if b == nil || b.NodeID == nil {
386		return ""
387	}
388	return *b.NodeID
389}
390
391// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
392func (b *Blob) GetSHA() string {
393	if b == nil || b.SHA == nil {
394		return ""
395	}
396	return *b.SHA
397}
398
399// GetSize returns the Size field if it's non-nil, zero value otherwise.
400func (b *Blob) GetSize() int {
401	if b == nil || b.Size == nil {
402		return 0
403	}
404	return *b.Size
405}
406
407// GetURL returns the URL field if it's non-nil, zero value otherwise.
408func (b *Blob) GetURL() string {
409	if b == nil || b.URL == nil {
410		return ""
411	}
412	return *b.URL
413}
414
415// GetCommit returns the Commit field.
416func (b *Branch) GetCommit() *RepositoryCommit {
417	if b == nil {
418		return nil
419	}
420	return b.Commit
421}
422
423// GetName returns the Name field if it's non-nil, zero value otherwise.
424func (b *Branch) GetName() string {
425	if b == nil || b.Name == nil {
426		return ""
427	}
428	return *b.Name
429}
430
431// GetProtected returns the Protected field if it's non-nil, zero value otherwise.
432func (b *Branch) GetProtected() bool {
433	if b == nil || b.Protected == nil {
434		return false
435	}
436	return *b.Protected
437}
438
439// GetBody returns the Body field if it's non-nil, zero value otherwise.
440func (c *CodeOfConduct) GetBody() string {
441	if c == nil || c.Body == nil {
442		return ""
443	}
444	return *c.Body
445}
446
447// GetKey returns the Key field if it's non-nil, zero value otherwise.
448func (c *CodeOfConduct) GetKey() string {
449	if c == nil || c.Key == nil {
450		return ""
451	}
452	return *c.Key
453}
454
455// GetName returns the Name field if it's non-nil, zero value otherwise.
456func (c *CodeOfConduct) GetName() string {
457	if c == nil || c.Name == nil {
458		return ""
459	}
460	return *c.Name
461}
462
463// GetURL returns the URL field if it's non-nil, zero value otherwise.
464func (c *CodeOfConduct) GetURL() string {
465	if c == nil || c.URL == nil {
466		return ""
467	}
468	return *c.URL
469}
470
471// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
472func (c *CodeResult) GetHTMLURL() string {
473	if c == nil || c.HTMLURL == nil {
474		return ""
475	}
476	return *c.HTMLURL
477}
478
479// GetName returns the Name field if it's non-nil, zero value otherwise.
480func (c *CodeResult) GetName() string {
481	if c == nil || c.Name == nil {
482		return ""
483	}
484	return *c.Name
485}
486
487// GetPath returns the Path field if it's non-nil, zero value otherwise.
488func (c *CodeResult) GetPath() string {
489	if c == nil || c.Path == nil {
490		return ""
491	}
492	return *c.Path
493}
494
495// GetRepository returns the Repository field.
496func (c *CodeResult) GetRepository() *Repository {
497	if c == nil {
498		return nil
499	}
500	return c.Repository
501}
502
503// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
504func (c *CodeResult) GetSHA() string {
505	if c == nil || c.SHA == nil {
506		return ""
507	}
508	return *c.SHA
509}
510
511// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
512func (c *CodeSearchResult) GetIncompleteResults() bool {
513	if c == nil || c.IncompleteResults == nil {
514		return false
515	}
516	return *c.IncompleteResults
517}
518
519// GetTotal returns the Total field if it's non-nil, zero value otherwise.
520func (c *CodeSearchResult) GetTotal() int {
521	if c == nil || c.Total == nil {
522		return 0
523	}
524	return *c.Total
525}
526
527// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise.
528func (c *CombinedStatus) GetCommitURL() string {
529	if c == nil || c.CommitURL == nil {
530		return ""
531	}
532	return *c.CommitURL
533}
534
535// GetName returns the Name field if it's non-nil, zero value otherwise.
536func (c *CombinedStatus) GetName() string {
537	if c == nil || c.Name == nil {
538		return ""
539	}
540	return *c.Name
541}
542
543// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
544func (c *CombinedStatus) GetRepositoryURL() string {
545	if c == nil || c.RepositoryURL == nil {
546		return ""
547	}
548	return *c.RepositoryURL
549}
550
551// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
552func (c *CombinedStatus) GetSHA() string {
553	if c == nil || c.SHA == nil {
554		return ""
555	}
556	return *c.SHA
557}
558
559// GetState returns the State field if it's non-nil, zero value otherwise.
560func (c *CombinedStatus) GetState() string {
561	if c == nil || c.State == nil {
562		return ""
563	}
564	return *c.State
565}
566
567// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise.
568func (c *CombinedStatus) GetTotalCount() int {
569	if c == nil || c.TotalCount == nil {
570		return 0
571	}
572	return *c.TotalCount
573}
574
575// GetTotalCommitComments returns the TotalCommitComments field if it's non-nil, zero value otherwise.
576func (c *CommentStats) GetTotalCommitComments() int {
577	if c == nil || c.TotalCommitComments == nil {
578		return 0
579	}
580	return *c.TotalCommitComments
581}
582
583// GetTotalGistComments returns the TotalGistComments field if it's non-nil, zero value otherwise.
584func (c *CommentStats) GetTotalGistComments() int {
585	if c == nil || c.TotalGistComments == nil {
586		return 0
587	}
588	return *c.TotalGistComments
589}
590
591// GetTotalIssueComments returns the TotalIssueComments field if it's non-nil, zero value otherwise.
592func (c *CommentStats) GetTotalIssueComments() int {
593	if c == nil || c.TotalIssueComments == nil {
594		return 0
595	}
596	return *c.TotalIssueComments
597}
598
599// GetTotalPullRequestComments returns the TotalPullRequestComments field if it's non-nil, zero value otherwise.
600func (c *CommentStats) GetTotalPullRequestComments() int {
601	if c == nil || c.TotalPullRequestComments == nil {
602		return 0
603	}
604	return *c.TotalPullRequestComments
605}
606
607// GetAuthor returns the Author field.
608func (c *Commit) GetAuthor() *CommitAuthor {
609	if c == nil {
610		return nil
611	}
612	return c.Author
613}
614
615// GetCommentCount returns the CommentCount field if it's non-nil, zero value otherwise.
616func (c *Commit) GetCommentCount() int {
617	if c == nil || c.CommentCount == nil {
618		return 0
619	}
620	return *c.CommentCount
621}
622
623// GetCommitter returns the Committer field.
624func (c *Commit) GetCommitter() *CommitAuthor {
625	if c == nil {
626		return nil
627	}
628	return c.Committer
629}
630
631// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
632func (c *Commit) GetHTMLURL() string {
633	if c == nil || c.HTMLURL == nil {
634		return ""
635	}
636	return *c.HTMLURL
637}
638
639// GetMessage returns the Message field if it's non-nil, zero value otherwise.
640func (c *Commit) GetMessage() string {
641	if c == nil || c.Message == nil {
642		return ""
643	}
644	return *c.Message
645}
646
647// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
648func (c *Commit) GetNodeID() string {
649	if c == nil || c.NodeID == nil {
650		return ""
651	}
652	return *c.NodeID
653}
654
655// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
656func (c *Commit) GetSHA() string {
657	if c == nil || c.SHA == nil {
658		return ""
659	}
660	return *c.SHA
661}
662
663// GetStats returns the Stats field.
664func (c *Commit) GetStats() *CommitStats {
665	if c == nil {
666		return nil
667	}
668	return c.Stats
669}
670
671// GetTree returns the Tree field.
672func (c *Commit) GetTree() *Tree {
673	if c == nil {
674		return nil
675	}
676	return c.Tree
677}
678
679// GetURL returns the URL field if it's non-nil, zero value otherwise.
680func (c *Commit) GetURL() string {
681	if c == nil || c.URL == nil {
682		return ""
683	}
684	return *c.URL
685}
686
687// GetVerification returns the Verification field.
688func (c *Commit) GetVerification() *SignatureVerification {
689	if c == nil {
690		return nil
691	}
692	return c.Verification
693}
694
695// GetDate returns the Date field if it's non-nil, zero value otherwise.
696func (c *CommitAuthor) GetDate() time.Time {
697	if c == nil || c.Date == nil {
698		return time.Time{}
699	}
700	return *c.Date
701}
702
703// GetEmail returns the Email field if it's non-nil, zero value otherwise.
704func (c *CommitAuthor) GetEmail() string {
705	if c == nil || c.Email == nil {
706		return ""
707	}
708	return *c.Email
709}
710
711// GetLogin returns the Login field if it's non-nil, zero value otherwise.
712func (c *CommitAuthor) GetLogin() string {
713	if c == nil || c.Login == nil {
714		return ""
715	}
716	return *c.Login
717}
718
719// GetName returns the Name field if it's non-nil, zero value otherwise.
720func (c *CommitAuthor) GetName() string {
721	if c == nil || c.Name == nil {
722		return ""
723	}
724	return *c.Name
725}
726
727// GetAction returns the Action field if it's non-nil, zero value otherwise.
728func (c *CommitCommentEvent) GetAction() string {
729	if c == nil || c.Action == nil {
730		return ""
731	}
732	return *c.Action
733}
734
735// GetComment returns the Comment field.
736func (c *CommitCommentEvent) GetComment() *RepositoryComment {
737	if c == nil {
738		return nil
739	}
740	return c.Comment
741}
742
743// GetInstallation returns the Installation field.
744func (c *CommitCommentEvent) GetInstallation() *Installation {
745	if c == nil {
746		return nil
747	}
748	return c.Installation
749}
750
751// GetRepo returns the Repo field.
752func (c *CommitCommentEvent) GetRepo() *Repository {
753	if c == nil {
754		return nil
755	}
756	return c.Repo
757}
758
759// GetSender returns the Sender field.
760func (c *CommitCommentEvent) GetSender() *User {
761	if c == nil {
762		return nil
763	}
764	return c.Sender
765}
766
767// GetAdditions returns the Additions field if it's non-nil, zero value otherwise.
768func (c *CommitFile) GetAdditions() int {
769	if c == nil || c.Additions == nil {
770		return 0
771	}
772	return *c.Additions
773}
774
775// GetBlobURL returns the BlobURL field if it's non-nil, zero value otherwise.
776func (c *CommitFile) GetBlobURL() string {
777	if c == nil || c.BlobURL == nil {
778		return ""
779	}
780	return *c.BlobURL
781}
782
783// GetChanges returns the Changes field if it's non-nil, zero value otherwise.
784func (c *CommitFile) GetChanges() int {
785	if c == nil || c.Changes == nil {
786		return 0
787	}
788	return *c.Changes
789}
790
791// GetContentsURL returns the ContentsURL field if it's non-nil, zero value otherwise.
792func (c *CommitFile) GetContentsURL() string {
793	if c == nil || c.ContentsURL == nil {
794		return ""
795	}
796	return *c.ContentsURL
797}
798
799// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise.
800func (c *CommitFile) GetDeletions() int {
801	if c == nil || c.Deletions == nil {
802		return 0
803	}
804	return *c.Deletions
805}
806
807// GetFilename returns the Filename field if it's non-nil, zero value otherwise.
808func (c *CommitFile) GetFilename() string {
809	if c == nil || c.Filename == nil {
810		return ""
811	}
812	return *c.Filename
813}
814
815// GetPatch returns the Patch field if it's non-nil, zero value otherwise.
816func (c *CommitFile) GetPatch() string {
817	if c == nil || c.Patch == nil {
818		return ""
819	}
820	return *c.Patch
821}
822
823// GetRawURL returns the RawURL field if it's non-nil, zero value otherwise.
824func (c *CommitFile) GetRawURL() string {
825	if c == nil || c.RawURL == nil {
826		return ""
827	}
828	return *c.RawURL
829}
830
831// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
832func (c *CommitFile) GetSHA() string {
833	if c == nil || c.SHA == nil {
834		return ""
835	}
836	return *c.SHA
837}
838
839// GetStatus returns the Status field if it's non-nil, zero value otherwise.
840func (c *CommitFile) GetStatus() string {
841	if c == nil || c.Status == nil {
842		return ""
843	}
844	return *c.Status
845}
846
847// GetAuthor returns the Author field.
848func (c *CommitResult) GetAuthor() *User {
849	if c == nil {
850		return nil
851	}
852	return c.Author
853}
854
855// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
856func (c *CommitResult) GetCommentsURL() string {
857	if c == nil || c.CommentsURL == nil {
858		return ""
859	}
860	return *c.CommentsURL
861}
862
863// GetCommit returns the Commit field.
864func (c *CommitResult) GetCommit() *Commit {
865	if c == nil {
866		return nil
867	}
868	return c.Commit
869}
870
871// GetCommitter returns the Committer field.
872func (c *CommitResult) GetCommitter() *User {
873	if c == nil {
874		return nil
875	}
876	return c.Committer
877}
878
879// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
880func (c *CommitResult) GetHTMLURL() string {
881	if c == nil || c.HTMLURL == nil {
882		return ""
883	}
884	return *c.HTMLURL
885}
886
887// GetRepository returns the Repository field.
888func (c *CommitResult) GetRepository() *Repository {
889	if c == nil {
890		return nil
891	}
892	return c.Repository
893}
894
895// GetScore returns the Score field.
896func (c *CommitResult) GetScore() *float64 {
897	if c == nil {
898		return nil
899	}
900	return c.Score
901}
902
903// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
904func (c *CommitResult) GetSHA() string {
905	if c == nil || c.SHA == nil {
906		return ""
907	}
908	return *c.SHA
909}
910
911// GetURL returns the URL field if it's non-nil, zero value otherwise.
912func (c *CommitResult) GetURL() string {
913	if c == nil || c.URL == nil {
914		return ""
915	}
916	return *c.URL
917}
918
919// GetAheadBy returns the AheadBy field if it's non-nil, zero value otherwise.
920func (c *CommitsComparison) GetAheadBy() int {
921	if c == nil || c.AheadBy == nil {
922		return 0
923	}
924	return *c.AheadBy
925}
926
927// GetBaseCommit returns the BaseCommit field.
928func (c *CommitsComparison) GetBaseCommit() *RepositoryCommit {
929	if c == nil {
930		return nil
931	}
932	return c.BaseCommit
933}
934
935// GetBehindBy returns the BehindBy field if it's non-nil, zero value otherwise.
936func (c *CommitsComparison) GetBehindBy() int {
937	if c == nil || c.BehindBy == nil {
938		return 0
939	}
940	return *c.BehindBy
941}
942
943// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise.
944func (c *CommitsComparison) GetDiffURL() string {
945	if c == nil || c.DiffURL == nil {
946		return ""
947	}
948	return *c.DiffURL
949}
950
951// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
952func (c *CommitsComparison) GetHTMLURL() string {
953	if c == nil || c.HTMLURL == nil {
954		return ""
955	}
956	return *c.HTMLURL
957}
958
959// GetMergeBaseCommit returns the MergeBaseCommit field.
960func (c *CommitsComparison) GetMergeBaseCommit() *RepositoryCommit {
961	if c == nil {
962		return nil
963	}
964	return c.MergeBaseCommit
965}
966
967// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise.
968func (c *CommitsComparison) GetPatchURL() string {
969	if c == nil || c.PatchURL == nil {
970		return ""
971	}
972	return *c.PatchURL
973}
974
975// GetPermalinkURL returns the PermalinkURL field if it's non-nil, zero value otherwise.
976func (c *CommitsComparison) GetPermalinkURL() string {
977	if c == nil || c.PermalinkURL == nil {
978		return ""
979	}
980	return *c.PermalinkURL
981}
982
983// GetStatus returns the Status field if it's non-nil, zero value otherwise.
984func (c *CommitsComparison) GetStatus() string {
985	if c == nil || c.Status == nil {
986		return ""
987	}
988	return *c.Status
989}
990
991// GetTotalCommits returns the TotalCommits field if it's non-nil, zero value otherwise.
992func (c *CommitsComparison) GetTotalCommits() int {
993	if c == nil || c.TotalCommits == nil {
994		return 0
995	}
996	return *c.TotalCommits
997}
998
999// GetURL returns the URL field if it's non-nil, zero value otherwise.
1000func (c *CommitsComparison) GetURL() string {
1001	if c == nil || c.URL == nil {
1002		return ""
1003	}
1004	return *c.URL
1005}
1006
1007// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
1008func (c *CommitsSearchResult) GetIncompleteResults() bool {
1009	if c == nil || c.IncompleteResults == nil {
1010		return false
1011	}
1012	return *c.IncompleteResults
1013}
1014
1015// GetTotal returns the Total field if it's non-nil, zero value otherwise.
1016func (c *CommitsSearchResult) GetTotal() int {
1017	if c == nil || c.Total == nil {
1018		return 0
1019	}
1020	return *c.Total
1021}
1022
1023// GetAdditions returns the Additions field if it's non-nil, zero value otherwise.
1024func (c *CommitStats) GetAdditions() int {
1025	if c == nil || c.Additions == nil {
1026		return 0
1027	}
1028	return *c.Additions
1029}
1030
1031// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise.
1032func (c *CommitStats) GetDeletions() int {
1033	if c == nil || c.Deletions == nil {
1034		return 0
1035	}
1036	return *c.Deletions
1037}
1038
1039// GetTotal returns the Total field if it's non-nil, zero value otherwise.
1040func (c *CommitStats) GetTotal() int {
1041	if c == nil || c.Total == nil {
1042		return 0
1043	}
1044	return *c.Total
1045}
1046
1047// GetCodeOfConduct returns the CodeOfConduct field.
1048func (c *CommunityHealthFiles) GetCodeOfConduct() *Metric {
1049	if c == nil {
1050		return nil
1051	}
1052	return c.CodeOfConduct
1053}
1054
1055// GetContributing returns the Contributing field.
1056func (c *CommunityHealthFiles) GetContributing() *Metric {
1057	if c == nil {
1058		return nil
1059	}
1060	return c.Contributing
1061}
1062
1063// GetLicense returns the License field.
1064func (c *CommunityHealthFiles) GetLicense() *Metric {
1065	if c == nil {
1066		return nil
1067	}
1068	return c.License
1069}
1070
1071// GetReadme returns the Readme field.
1072func (c *CommunityHealthFiles) GetReadme() *Metric {
1073	if c == nil {
1074		return nil
1075	}
1076	return c.Readme
1077}
1078
1079// GetFiles returns the Files field.
1080func (c *CommunityHealthMetrics) GetFiles() *CommunityHealthFiles {
1081	if c == nil {
1082		return nil
1083	}
1084	return c.Files
1085}
1086
1087// GetHealthPercentage returns the HealthPercentage field if it's non-nil, zero value otherwise.
1088func (c *CommunityHealthMetrics) GetHealthPercentage() int {
1089	if c == nil || c.HealthPercentage == nil {
1090		return 0
1091	}
1092	return *c.HealthPercentage
1093}
1094
1095// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
1096func (c *CommunityHealthMetrics) GetUpdatedAt() time.Time {
1097	if c == nil || c.UpdatedAt == nil {
1098		return time.Time{}
1099	}
1100	return *c.UpdatedAt
1101}
1102
1103// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise.
1104func (c *Contributor) GetAvatarURL() string {
1105	if c == nil || c.AvatarURL == nil {
1106		return ""
1107	}
1108	return *c.AvatarURL
1109}
1110
1111// GetContributions returns the Contributions field if it's non-nil, zero value otherwise.
1112func (c *Contributor) GetContributions() int {
1113	if c == nil || c.Contributions == nil {
1114		return 0
1115	}
1116	return *c.Contributions
1117}
1118
1119// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
1120func (c *Contributor) GetEventsURL() string {
1121	if c == nil || c.EventsURL == nil {
1122		return ""
1123	}
1124	return *c.EventsURL
1125}
1126
1127// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise.
1128func (c *Contributor) GetFollowersURL() string {
1129	if c == nil || c.FollowersURL == nil {
1130		return ""
1131	}
1132	return *c.FollowersURL
1133}
1134
1135// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise.
1136func (c *Contributor) GetFollowingURL() string {
1137	if c == nil || c.FollowingURL == nil {
1138		return ""
1139	}
1140	return *c.FollowingURL
1141}
1142
1143// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise.
1144func (c *Contributor) GetGistsURL() string {
1145	if c == nil || c.GistsURL == nil {
1146		return ""
1147	}
1148	return *c.GistsURL
1149}
1150
1151// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise.
1152func (c *Contributor) GetGravatarID() string {
1153	if c == nil || c.GravatarID == nil {
1154		return ""
1155	}
1156	return *c.GravatarID
1157}
1158
1159// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
1160func (c *Contributor) GetHTMLURL() string {
1161	if c == nil || c.HTMLURL == nil {
1162		return ""
1163	}
1164	return *c.HTMLURL
1165}
1166
1167// GetID returns the ID field if it's non-nil, zero value otherwise.
1168func (c *Contributor) GetID() int64 {
1169	if c == nil || c.ID == nil {
1170		return 0
1171	}
1172	return *c.ID
1173}
1174
1175// GetLogin returns the Login field if it's non-nil, zero value otherwise.
1176func (c *Contributor) GetLogin() string {
1177	if c == nil || c.Login == nil {
1178		return ""
1179	}
1180	return *c.Login
1181}
1182
1183// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise.
1184func (c *Contributor) GetOrganizationsURL() string {
1185	if c == nil || c.OrganizationsURL == nil {
1186		return ""
1187	}
1188	return *c.OrganizationsURL
1189}
1190
1191// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise.
1192func (c *Contributor) GetReceivedEventsURL() string {
1193	if c == nil || c.ReceivedEventsURL == nil {
1194		return ""
1195	}
1196	return *c.ReceivedEventsURL
1197}
1198
1199// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise.
1200func (c *Contributor) GetReposURL() string {
1201	if c == nil || c.ReposURL == nil {
1202		return ""
1203	}
1204	return *c.ReposURL
1205}
1206
1207// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise.
1208func (c *Contributor) GetSiteAdmin() bool {
1209	if c == nil || c.SiteAdmin == nil {
1210		return false
1211	}
1212	return *c.SiteAdmin
1213}
1214
1215// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise.
1216func (c *Contributor) GetStarredURL() string {
1217	if c == nil || c.StarredURL == nil {
1218		return ""
1219	}
1220	return *c.StarredURL
1221}
1222
1223// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise.
1224func (c *Contributor) GetSubscriptionsURL() string {
1225	if c == nil || c.SubscriptionsURL == nil {
1226		return ""
1227	}
1228	return *c.SubscriptionsURL
1229}
1230
1231// GetType returns the Type field if it's non-nil, zero value otherwise.
1232func (c *Contributor) GetType() string {
1233	if c == nil || c.Type == nil {
1234		return ""
1235	}
1236	return *c.Type
1237}
1238
1239// GetURL returns the URL field if it's non-nil, zero value otherwise.
1240func (c *Contributor) GetURL() string {
1241	if c == nil || c.URL == nil {
1242		return ""
1243	}
1244	return *c.URL
1245}
1246
1247// GetAuthor returns the Author field.
1248func (c *ContributorStats) GetAuthor() *Contributor {
1249	if c == nil {
1250		return nil
1251	}
1252	return c.Author
1253}
1254
1255// GetTotal returns the Total field if it's non-nil, zero value otherwise.
1256func (c *ContributorStats) GetTotal() int {
1257	if c == nil || c.Total == nil {
1258		return 0
1259	}
1260	return *c.Total
1261}
1262
1263// GetDescription returns the Description field if it's non-nil, zero value otherwise.
1264func (c *CreateEvent) GetDescription() string {
1265	if c == nil || c.Description == nil {
1266		return ""
1267	}
1268	return *c.Description
1269}
1270
1271// GetInstallation returns the Installation field.
1272func (c *CreateEvent) GetInstallation() *Installation {
1273	if c == nil {
1274		return nil
1275	}
1276	return c.Installation
1277}
1278
1279// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise.
1280func (c *CreateEvent) GetMasterBranch() string {
1281	if c == nil || c.MasterBranch == nil {
1282		return ""
1283	}
1284	return *c.MasterBranch
1285}
1286
1287// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise.
1288func (c *CreateEvent) GetPusherType() string {
1289	if c == nil || c.PusherType == nil {
1290		return ""
1291	}
1292	return *c.PusherType
1293}
1294
1295// GetRef returns the Ref field if it's non-nil, zero value otherwise.
1296func (c *CreateEvent) GetRef() string {
1297	if c == nil || c.Ref == nil {
1298		return ""
1299	}
1300	return *c.Ref
1301}
1302
1303// GetRefType returns the RefType field if it's non-nil, zero value otherwise.
1304func (c *CreateEvent) GetRefType() string {
1305	if c == nil || c.RefType == nil {
1306		return ""
1307	}
1308	return *c.RefType
1309}
1310
1311// GetRepo returns the Repo field.
1312func (c *CreateEvent) GetRepo() *Repository {
1313	if c == nil {
1314		return nil
1315	}
1316	return c.Repo
1317}
1318
1319// GetSender returns the Sender field.
1320func (c *CreateEvent) GetSender() *User {
1321	if c == nil {
1322		return nil
1323	}
1324	return c.Sender
1325}
1326
1327// GetInstallation returns the Installation field.
1328func (d *DeleteEvent) GetInstallation() *Installation {
1329	if d == nil {
1330		return nil
1331	}
1332	return d.Installation
1333}
1334
1335// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise.
1336func (d *DeleteEvent) GetPusherType() string {
1337	if d == nil || d.PusherType == nil {
1338		return ""
1339	}
1340	return *d.PusherType
1341}
1342
1343// GetRef returns the Ref field if it's non-nil, zero value otherwise.
1344func (d *DeleteEvent) GetRef() string {
1345	if d == nil || d.Ref == nil {
1346		return ""
1347	}
1348	return *d.Ref
1349}
1350
1351// GetRefType returns the RefType field if it's non-nil, zero value otherwise.
1352func (d *DeleteEvent) GetRefType() string {
1353	if d == nil || d.RefType == nil {
1354		return ""
1355	}
1356	return *d.RefType
1357}
1358
1359// GetRepo returns the Repo field.
1360func (d *DeleteEvent) GetRepo() *Repository {
1361	if d == nil {
1362		return nil
1363	}
1364	return d.Repo
1365}
1366
1367// GetSender returns the Sender field.
1368func (d *DeleteEvent) GetSender() *User {
1369	if d == nil {
1370		return nil
1371	}
1372	return d.Sender
1373}
1374
1375// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
1376func (d *Deployment) GetCreatedAt() Timestamp {
1377	if d == nil || d.CreatedAt == nil {
1378		return Timestamp{}
1379	}
1380	return *d.CreatedAt
1381}
1382
1383// GetCreator returns the Creator field.
1384func (d *Deployment) GetCreator() *User {
1385	if d == nil {
1386		return nil
1387	}
1388	return d.Creator
1389}
1390
1391// GetDescription returns the Description field if it's non-nil, zero value otherwise.
1392func (d *Deployment) GetDescription() string {
1393	if d == nil || d.Description == nil {
1394		return ""
1395	}
1396	return *d.Description
1397}
1398
1399// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise.
1400func (d *Deployment) GetEnvironment() string {
1401	if d == nil || d.Environment == nil {
1402		return ""
1403	}
1404	return *d.Environment
1405}
1406
1407// GetID returns the ID field if it's non-nil, zero value otherwise.
1408func (d *Deployment) GetID() int64 {
1409	if d == nil || d.ID == nil {
1410		return 0
1411	}
1412	return *d.ID
1413}
1414
1415// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
1416func (d *Deployment) GetNodeID() string {
1417	if d == nil || d.NodeID == nil {
1418		return ""
1419	}
1420	return *d.NodeID
1421}
1422
1423// GetRef returns the Ref field if it's non-nil, zero value otherwise.
1424func (d *Deployment) GetRef() string {
1425	if d == nil || d.Ref == nil {
1426		return ""
1427	}
1428	return *d.Ref
1429}
1430
1431// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
1432func (d *Deployment) GetRepositoryURL() string {
1433	if d == nil || d.RepositoryURL == nil {
1434		return ""
1435	}
1436	return *d.RepositoryURL
1437}
1438
1439// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
1440func (d *Deployment) GetSHA() string {
1441	if d == nil || d.SHA == nil {
1442		return ""
1443	}
1444	return *d.SHA
1445}
1446
1447// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise.
1448func (d *Deployment) GetStatusesURL() string {
1449	if d == nil || d.StatusesURL == nil {
1450		return ""
1451	}
1452	return *d.StatusesURL
1453}
1454
1455// GetTask returns the Task field if it's non-nil, zero value otherwise.
1456func (d *Deployment) GetTask() string {
1457	if d == nil || d.Task == nil {
1458		return ""
1459	}
1460	return *d.Task
1461}
1462
1463// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
1464func (d *Deployment) GetUpdatedAt() Timestamp {
1465	if d == nil || d.UpdatedAt == nil {
1466		return Timestamp{}
1467	}
1468	return *d.UpdatedAt
1469}
1470
1471// GetURL returns the URL field if it's non-nil, zero value otherwise.
1472func (d *Deployment) GetURL() string {
1473	if d == nil || d.URL == nil {
1474		return ""
1475	}
1476	return *d.URL
1477}
1478
1479// GetDeployment returns the Deployment field.
1480func (d *DeploymentEvent) GetDeployment() *Deployment {
1481	if d == nil {
1482		return nil
1483	}
1484	return d.Deployment
1485}
1486
1487// GetInstallation returns the Installation field.
1488func (d *DeploymentEvent) GetInstallation() *Installation {
1489	if d == nil {
1490		return nil
1491	}
1492	return d.Installation
1493}
1494
1495// GetRepo returns the Repo field.
1496func (d *DeploymentEvent) GetRepo() *Repository {
1497	if d == nil {
1498		return nil
1499	}
1500	return d.Repo
1501}
1502
1503// GetSender returns the Sender field.
1504func (d *DeploymentEvent) GetSender() *User {
1505	if d == nil {
1506		return nil
1507	}
1508	return d.Sender
1509}
1510
1511// GetAutoMerge returns the AutoMerge field if it's non-nil, zero value otherwise.
1512func (d *DeploymentRequest) GetAutoMerge() bool {
1513	if d == nil || d.AutoMerge == nil {
1514		return false
1515	}
1516	return *d.AutoMerge
1517}
1518
1519// GetDescription returns the Description field if it's non-nil, zero value otherwise.
1520func (d *DeploymentRequest) GetDescription() string {
1521	if d == nil || d.Description == nil {
1522		return ""
1523	}
1524	return *d.Description
1525}
1526
1527// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise.
1528func (d *DeploymentRequest) GetEnvironment() string {
1529	if d == nil || d.Environment == nil {
1530		return ""
1531	}
1532	return *d.Environment
1533}
1534
1535// GetPayload returns the Payload field if it's non-nil, zero value otherwise.
1536func (d *DeploymentRequest) GetPayload() string {
1537	if d == nil || d.Payload == nil {
1538		return ""
1539	}
1540	return *d.Payload
1541}
1542
1543// GetProductionEnvironment returns the ProductionEnvironment field if it's non-nil, zero value otherwise.
1544func (d *DeploymentRequest) GetProductionEnvironment() bool {
1545	if d == nil || d.ProductionEnvironment == nil {
1546		return false
1547	}
1548	return *d.ProductionEnvironment
1549}
1550
1551// GetRef returns the Ref field if it's non-nil, zero value otherwise.
1552func (d *DeploymentRequest) GetRef() string {
1553	if d == nil || d.Ref == nil {
1554		return ""
1555	}
1556	return *d.Ref
1557}
1558
1559// GetRequiredContexts returns the RequiredContexts field if it's non-nil, zero value otherwise.
1560func (d *DeploymentRequest) GetRequiredContexts() []string {
1561	if d == nil || d.RequiredContexts == nil {
1562		return nil
1563	}
1564	return *d.RequiredContexts
1565}
1566
1567// GetTask returns the Task field if it's non-nil, zero value otherwise.
1568func (d *DeploymentRequest) GetTask() string {
1569	if d == nil || d.Task == nil {
1570		return ""
1571	}
1572	return *d.Task
1573}
1574
1575// GetTransientEnvironment returns the TransientEnvironment field if it's non-nil, zero value otherwise.
1576func (d *DeploymentRequest) GetTransientEnvironment() bool {
1577	if d == nil || d.TransientEnvironment == nil {
1578		return false
1579	}
1580	return *d.TransientEnvironment
1581}
1582
1583// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
1584func (d *DeploymentStatus) GetCreatedAt() Timestamp {
1585	if d == nil || d.CreatedAt == nil {
1586		return Timestamp{}
1587	}
1588	return *d.CreatedAt
1589}
1590
1591// GetCreator returns the Creator field.
1592func (d *DeploymentStatus) GetCreator() *User {
1593	if d == nil {
1594		return nil
1595	}
1596	return d.Creator
1597}
1598
1599// GetDeploymentURL returns the DeploymentURL field if it's non-nil, zero value otherwise.
1600func (d *DeploymentStatus) GetDeploymentURL() string {
1601	if d == nil || d.DeploymentURL == nil {
1602		return ""
1603	}
1604	return *d.DeploymentURL
1605}
1606
1607// GetDescription returns the Description field if it's non-nil, zero value otherwise.
1608func (d *DeploymentStatus) GetDescription() string {
1609	if d == nil || d.Description == nil {
1610		return ""
1611	}
1612	return *d.Description
1613}
1614
1615// GetID returns the ID field if it's non-nil, zero value otherwise.
1616func (d *DeploymentStatus) GetID() int64 {
1617	if d == nil || d.ID == nil {
1618		return 0
1619	}
1620	return *d.ID
1621}
1622
1623// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
1624func (d *DeploymentStatus) GetNodeID() string {
1625	if d == nil || d.NodeID == nil {
1626		return ""
1627	}
1628	return *d.NodeID
1629}
1630
1631// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
1632func (d *DeploymentStatus) GetRepositoryURL() string {
1633	if d == nil || d.RepositoryURL == nil {
1634		return ""
1635	}
1636	return *d.RepositoryURL
1637}
1638
1639// GetState returns the State field if it's non-nil, zero value otherwise.
1640func (d *DeploymentStatus) GetState() string {
1641	if d == nil || d.State == nil {
1642		return ""
1643	}
1644	return *d.State
1645}
1646
1647// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise.
1648func (d *DeploymentStatus) GetTargetURL() string {
1649	if d == nil || d.TargetURL == nil {
1650		return ""
1651	}
1652	return *d.TargetURL
1653}
1654
1655// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
1656func (d *DeploymentStatus) GetUpdatedAt() Timestamp {
1657	if d == nil || d.UpdatedAt == nil {
1658		return Timestamp{}
1659	}
1660	return *d.UpdatedAt
1661}
1662
1663// GetDeployment returns the Deployment field.
1664func (d *DeploymentStatusEvent) GetDeployment() *Deployment {
1665	if d == nil {
1666		return nil
1667	}
1668	return d.Deployment
1669}
1670
1671// GetDeploymentStatus returns the DeploymentStatus field.
1672func (d *DeploymentStatusEvent) GetDeploymentStatus() *DeploymentStatus {
1673	if d == nil {
1674		return nil
1675	}
1676	return d.DeploymentStatus
1677}
1678
1679// GetInstallation returns the Installation field.
1680func (d *DeploymentStatusEvent) GetInstallation() *Installation {
1681	if d == nil {
1682		return nil
1683	}
1684	return d.Installation
1685}
1686
1687// GetRepo returns the Repo field.
1688func (d *DeploymentStatusEvent) GetRepo() *Repository {
1689	if d == nil {
1690		return nil
1691	}
1692	return d.Repo
1693}
1694
1695// GetSender returns the Sender field.
1696func (d *DeploymentStatusEvent) GetSender() *User {
1697	if d == nil {
1698		return nil
1699	}
1700	return d.Sender
1701}
1702
1703// GetAutoInactive returns the AutoInactive field if it's non-nil, zero value otherwise.
1704func (d *DeploymentStatusRequest) GetAutoInactive() bool {
1705	if d == nil || d.AutoInactive == nil {
1706		return false
1707	}
1708	return *d.AutoInactive
1709}
1710
1711// GetDescription returns the Description field if it's non-nil, zero value otherwise.
1712func (d *DeploymentStatusRequest) GetDescription() string {
1713	if d == nil || d.Description == nil {
1714		return ""
1715	}
1716	return *d.Description
1717}
1718
1719// GetEnvironmentURL returns the EnvironmentURL field if it's non-nil, zero value otherwise.
1720func (d *DeploymentStatusRequest) GetEnvironmentURL() string {
1721	if d == nil || d.EnvironmentURL == nil {
1722		return ""
1723	}
1724	return *d.EnvironmentURL
1725}
1726
1727// GetLogURL returns the LogURL field if it's non-nil, zero value otherwise.
1728func (d *DeploymentStatusRequest) GetLogURL() string {
1729	if d == nil || d.LogURL == nil {
1730		return ""
1731	}
1732	return *d.LogURL
1733}
1734
1735// GetState returns the State field if it's non-nil, zero value otherwise.
1736func (d *DeploymentStatusRequest) GetState() string {
1737	if d == nil || d.State == nil {
1738		return ""
1739	}
1740	return *d.State
1741}
1742
1743// GetBody returns the Body field if it's non-nil, zero value otherwise.
1744func (d *DraftReviewComment) GetBody() string {
1745	if d == nil || d.Body == nil {
1746		return ""
1747	}
1748	return *d.Body
1749}
1750
1751// GetPath returns the Path field if it's non-nil, zero value otherwise.
1752func (d *DraftReviewComment) GetPath() string {
1753	if d == nil || d.Path == nil {
1754		return ""
1755	}
1756	return *d.Path
1757}
1758
1759// GetPosition returns the Position field if it's non-nil, zero value otherwise.
1760func (d *DraftReviewComment) GetPosition() int {
1761	if d == nil || d.Position == nil {
1762		return 0
1763	}
1764	return *d.Position
1765}
1766
1767// GetActor returns the Actor field.
1768func (e *Event) GetActor() *User {
1769	if e == nil {
1770		return nil
1771	}
1772	return e.Actor
1773}
1774
1775// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
1776func (e *Event) GetCreatedAt() time.Time {
1777	if e == nil || e.CreatedAt == nil {
1778		return time.Time{}
1779	}
1780	return *e.CreatedAt
1781}
1782
1783// GetID returns the ID field if it's non-nil, zero value otherwise.
1784func (e *Event) GetID() string {
1785	if e == nil || e.ID == nil {
1786		return ""
1787	}
1788	return *e.ID
1789}
1790
1791// GetOrg returns the Org field.
1792func (e *Event) GetOrg() *Organization {
1793	if e == nil {
1794		return nil
1795	}
1796	return e.Org
1797}
1798
1799// GetPublic returns the Public field if it's non-nil, zero value otherwise.
1800func (e *Event) GetPublic() bool {
1801	if e == nil || e.Public == nil {
1802		return false
1803	}
1804	return *e.Public
1805}
1806
1807// GetRawPayload returns the RawPayload field if it's non-nil, zero value otherwise.
1808func (e *Event) GetRawPayload() json.RawMessage {
1809	if e == nil || e.RawPayload == nil {
1810		return json.RawMessage{}
1811	}
1812	return *e.RawPayload
1813}
1814
1815// GetRepo returns the Repo field.
1816func (e *Event) GetRepo() *Repository {
1817	if e == nil {
1818		return nil
1819	}
1820	return e.Repo
1821}
1822
1823// GetType returns the Type field if it's non-nil, zero value otherwise.
1824func (e *Event) GetType() string {
1825	if e == nil || e.Type == nil {
1826		return ""
1827	}
1828	return *e.Type
1829}
1830
1831// GetHRef returns the HRef field if it's non-nil, zero value otherwise.
1832func (f *FeedLink) GetHRef() string {
1833	if f == nil || f.HRef == nil {
1834		return ""
1835	}
1836	return *f.HRef
1837}
1838
1839// GetType returns the Type field if it's non-nil, zero value otherwise.
1840func (f *FeedLink) GetType() string {
1841	if f == nil || f.Type == nil {
1842		return ""
1843	}
1844	return *f.Type
1845}
1846
1847// GetCurrentUserActorURL returns the CurrentUserActorURL field if it's non-nil, zero value otherwise.
1848func (f *Feeds) GetCurrentUserActorURL() string {
1849	if f == nil || f.CurrentUserActorURL == nil {
1850		return ""
1851	}
1852	return *f.CurrentUserActorURL
1853}
1854
1855// GetCurrentUserOrganizationURL returns the CurrentUserOrganizationURL field if it's non-nil, zero value otherwise.
1856func (f *Feeds) GetCurrentUserOrganizationURL() string {
1857	if f == nil || f.CurrentUserOrganizationURL == nil {
1858		return ""
1859	}
1860	return *f.CurrentUserOrganizationURL
1861}
1862
1863// GetCurrentUserPublicURL returns the CurrentUserPublicURL field if it's non-nil, zero value otherwise.
1864func (f *Feeds) GetCurrentUserPublicURL() string {
1865	if f == nil || f.CurrentUserPublicURL == nil {
1866		return ""
1867	}
1868	return *f.CurrentUserPublicURL
1869}
1870
1871// GetCurrentUserURL returns the CurrentUserURL field if it's non-nil, zero value otherwise.
1872func (f *Feeds) GetCurrentUserURL() string {
1873	if f == nil || f.CurrentUserURL == nil {
1874		return ""
1875	}
1876	return *f.CurrentUserURL
1877}
1878
1879// GetTimelineURL returns the TimelineURL field if it's non-nil, zero value otherwise.
1880func (f *Feeds) GetTimelineURL() string {
1881	if f == nil || f.TimelineURL == nil {
1882		return ""
1883	}
1884	return *f.TimelineURL
1885}
1886
1887// GetUserURL returns the UserURL field if it's non-nil, zero value otherwise.
1888func (f *Feeds) GetUserURL() string {
1889	if f == nil || f.UserURL == nil {
1890		return ""
1891	}
1892	return *f.UserURL
1893}
1894
1895// GetForkee returns the Forkee field.
1896func (f *ForkEvent) GetForkee() *Repository {
1897	if f == nil {
1898		return nil
1899	}
1900	return f.Forkee
1901}
1902
1903// GetInstallation returns the Installation field.
1904func (f *ForkEvent) GetInstallation() *Installation {
1905	if f == nil {
1906		return nil
1907	}
1908	return f.Installation
1909}
1910
1911// GetRepo returns the Repo field.
1912func (f *ForkEvent) GetRepo() *Repository {
1913	if f == nil {
1914		return nil
1915	}
1916	return f.Repo
1917}
1918
1919// GetSender returns the Sender field.
1920func (f *ForkEvent) GetSender() *User {
1921	if f == nil {
1922		return nil
1923	}
1924	return f.Sender
1925}
1926
1927// GetComments returns the Comments field if it's non-nil, zero value otherwise.
1928func (g *Gist) GetComments() int {
1929	if g == nil || g.Comments == nil {
1930		return 0
1931	}
1932	return *g.Comments
1933}
1934
1935// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
1936func (g *Gist) GetCreatedAt() time.Time {
1937	if g == nil || g.CreatedAt == nil {
1938		return time.Time{}
1939	}
1940	return *g.CreatedAt
1941}
1942
1943// GetDescription returns the Description field if it's non-nil, zero value otherwise.
1944func (g *Gist) GetDescription() string {
1945	if g == nil || g.Description == nil {
1946		return ""
1947	}
1948	return *g.Description
1949}
1950
1951// GetGitPullURL returns the GitPullURL field if it's non-nil, zero value otherwise.
1952func (g *Gist) GetGitPullURL() string {
1953	if g == nil || g.GitPullURL == nil {
1954		return ""
1955	}
1956	return *g.GitPullURL
1957}
1958
1959// GetGitPushURL returns the GitPushURL field if it's non-nil, zero value otherwise.
1960func (g *Gist) GetGitPushURL() string {
1961	if g == nil || g.GitPushURL == nil {
1962		return ""
1963	}
1964	return *g.GitPushURL
1965}
1966
1967// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
1968func (g *Gist) GetHTMLURL() string {
1969	if g == nil || g.HTMLURL == nil {
1970		return ""
1971	}
1972	return *g.HTMLURL
1973}
1974
1975// GetID returns the ID field if it's non-nil, zero value otherwise.
1976func (g *Gist) GetID() string {
1977	if g == nil || g.ID == nil {
1978		return ""
1979	}
1980	return *g.ID
1981}
1982
1983// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
1984func (g *Gist) GetNodeID() string {
1985	if g == nil || g.NodeID == nil {
1986		return ""
1987	}
1988	return *g.NodeID
1989}
1990
1991// GetOwner returns the Owner field.
1992func (g *Gist) GetOwner() *User {
1993	if g == nil {
1994		return nil
1995	}
1996	return g.Owner
1997}
1998
1999// GetPublic returns the Public field if it's non-nil, zero value otherwise.
2000func (g *Gist) GetPublic() bool {
2001	if g == nil || g.Public == nil {
2002		return false
2003	}
2004	return *g.Public
2005}
2006
2007// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
2008func (g *Gist) GetUpdatedAt() time.Time {
2009	if g == nil || g.UpdatedAt == nil {
2010		return time.Time{}
2011	}
2012	return *g.UpdatedAt
2013}
2014
2015// GetBody returns the Body field if it's non-nil, zero value otherwise.
2016func (g *GistComment) GetBody() string {
2017	if g == nil || g.Body == nil {
2018		return ""
2019	}
2020	return *g.Body
2021}
2022
2023// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2024func (g *GistComment) GetCreatedAt() time.Time {
2025	if g == nil || g.CreatedAt == nil {
2026		return time.Time{}
2027	}
2028	return *g.CreatedAt
2029}
2030
2031// GetID returns the ID field if it's non-nil, zero value otherwise.
2032func (g *GistComment) GetID() int64 {
2033	if g == nil || g.ID == nil {
2034		return 0
2035	}
2036	return *g.ID
2037}
2038
2039// GetURL returns the URL field if it's non-nil, zero value otherwise.
2040func (g *GistComment) GetURL() string {
2041	if g == nil || g.URL == nil {
2042		return ""
2043	}
2044	return *g.URL
2045}
2046
2047// GetUser returns the User field.
2048func (g *GistComment) GetUser() *User {
2049	if g == nil {
2050		return nil
2051	}
2052	return g.User
2053}
2054
2055// GetChangeStatus returns the ChangeStatus field.
2056func (g *GistCommit) GetChangeStatus() *CommitStats {
2057	if g == nil {
2058		return nil
2059	}
2060	return g.ChangeStatus
2061}
2062
2063// GetCommittedAt returns the CommittedAt field if it's non-nil, zero value otherwise.
2064func (g *GistCommit) GetCommittedAt() Timestamp {
2065	if g == nil || g.CommittedAt == nil {
2066		return Timestamp{}
2067	}
2068	return *g.CommittedAt
2069}
2070
2071// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
2072func (g *GistCommit) GetNodeID() string {
2073	if g == nil || g.NodeID == nil {
2074		return ""
2075	}
2076	return *g.NodeID
2077}
2078
2079// GetURL returns the URL field if it's non-nil, zero value otherwise.
2080func (g *GistCommit) GetURL() string {
2081	if g == nil || g.URL == nil {
2082		return ""
2083	}
2084	return *g.URL
2085}
2086
2087// GetUser returns the User field.
2088func (g *GistCommit) GetUser() *User {
2089	if g == nil {
2090		return nil
2091	}
2092	return g.User
2093}
2094
2095// GetVersion returns the Version field if it's non-nil, zero value otherwise.
2096func (g *GistCommit) GetVersion() string {
2097	if g == nil || g.Version == nil {
2098		return ""
2099	}
2100	return *g.Version
2101}
2102
2103// GetContent returns the Content field if it's non-nil, zero value otherwise.
2104func (g *GistFile) GetContent() string {
2105	if g == nil || g.Content == nil {
2106		return ""
2107	}
2108	return *g.Content
2109}
2110
2111// GetFilename returns the Filename field if it's non-nil, zero value otherwise.
2112func (g *GistFile) GetFilename() string {
2113	if g == nil || g.Filename == nil {
2114		return ""
2115	}
2116	return *g.Filename
2117}
2118
2119// GetLanguage returns the Language field if it's non-nil, zero value otherwise.
2120func (g *GistFile) GetLanguage() string {
2121	if g == nil || g.Language == nil {
2122		return ""
2123	}
2124	return *g.Language
2125}
2126
2127// GetRawURL returns the RawURL field if it's non-nil, zero value otherwise.
2128func (g *GistFile) GetRawURL() string {
2129	if g == nil || g.RawURL == nil {
2130		return ""
2131	}
2132	return *g.RawURL
2133}
2134
2135// GetSize returns the Size field if it's non-nil, zero value otherwise.
2136func (g *GistFile) GetSize() int {
2137	if g == nil || g.Size == nil {
2138		return 0
2139	}
2140	return *g.Size
2141}
2142
2143// GetType returns the Type field if it's non-nil, zero value otherwise.
2144func (g *GistFile) GetType() string {
2145	if g == nil || g.Type == nil {
2146		return ""
2147	}
2148	return *g.Type
2149}
2150
2151// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2152func (g *GistFork) GetCreatedAt() Timestamp {
2153	if g == nil || g.CreatedAt == nil {
2154		return Timestamp{}
2155	}
2156	return *g.CreatedAt
2157}
2158
2159// GetID returns the ID field if it's non-nil, zero value otherwise.
2160func (g *GistFork) GetID() string {
2161	if g == nil || g.ID == nil {
2162		return ""
2163	}
2164	return *g.ID
2165}
2166
2167// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
2168func (g *GistFork) GetNodeID() string {
2169	if g == nil || g.NodeID == nil {
2170		return ""
2171	}
2172	return *g.NodeID
2173}
2174
2175// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
2176func (g *GistFork) GetUpdatedAt() Timestamp {
2177	if g == nil || g.UpdatedAt == nil {
2178		return Timestamp{}
2179	}
2180	return *g.UpdatedAt
2181}
2182
2183// GetURL returns the URL field if it's non-nil, zero value otherwise.
2184func (g *GistFork) GetURL() string {
2185	if g == nil || g.URL == nil {
2186		return ""
2187	}
2188	return *g.URL
2189}
2190
2191// GetUser returns the User field.
2192func (g *GistFork) GetUser() *User {
2193	if g == nil {
2194		return nil
2195	}
2196	return g.User
2197}
2198
2199// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise.
2200func (g *GistStats) GetPrivateGists() int {
2201	if g == nil || g.PrivateGists == nil {
2202		return 0
2203	}
2204	return *g.PrivateGists
2205}
2206
2207// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise.
2208func (g *GistStats) GetPublicGists() int {
2209	if g == nil || g.PublicGists == nil {
2210		return 0
2211	}
2212	return *g.PublicGists
2213}
2214
2215// GetTotalGists returns the TotalGists field if it's non-nil, zero value otherwise.
2216func (g *GistStats) GetTotalGists() int {
2217	if g == nil || g.TotalGists == nil {
2218		return 0
2219	}
2220	return *g.TotalGists
2221}
2222
2223// GetName returns the Name field if it's non-nil, zero value otherwise.
2224func (g *Gitignore) GetName() string {
2225	if g == nil || g.Name == nil {
2226		return ""
2227	}
2228	return *g.Name
2229}
2230
2231// GetSource returns the Source field if it's non-nil, zero value otherwise.
2232func (g *Gitignore) GetSource() string {
2233	if g == nil || g.Source == nil {
2234		return ""
2235	}
2236	return *g.Source
2237}
2238
2239// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
2240func (g *GitObject) GetSHA() string {
2241	if g == nil || g.SHA == nil {
2242		return ""
2243	}
2244	return *g.SHA
2245}
2246
2247// GetType returns the Type field if it's non-nil, zero value otherwise.
2248func (g *GitObject) GetType() string {
2249	if g == nil || g.Type == nil {
2250		return ""
2251	}
2252	return *g.Type
2253}
2254
2255// GetURL returns the URL field if it's non-nil, zero value otherwise.
2256func (g *GitObject) GetURL() string {
2257	if g == nil || g.URL == nil {
2258		return ""
2259	}
2260	return *g.URL
2261}
2262
2263// GetInstallation returns the Installation field.
2264func (g *GollumEvent) GetInstallation() *Installation {
2265	if g == nil {
2266		return nil
2267	}
2268	return g.Installation
2269}
2270
2271// GetRepo returns the Repo field.
2272func (g *GollumEvent) GetRepo() *Repository {
2273	if g == nil {
2274		return nil
2275	}
2276	return g.Repo
2277}
2278
2279// GetSender returns the Sender field.
2280func (g *GollumEvent) GetSender() *User {
2281	if g == nil {
2282		return nil
2283	}
2284	return g.Sender
2285}
2286
2287// GetEmail returns the Email field if it's non-nil, zero value otherwise.
2288func (g *GPGEmail) GetEmail() string {
2289	if g == nil || g.Email == nil {
2290		return ""
2291	}
2292	return *g.Email
2293}
2294
2295// GetVerified returns the Verified field if it's non-nil, zero value otherwise.
2296func (g *GPGEmail) GetVerified() bool {
2297	if g == nil || g.Verified == nil {
2298		return false
2299	}
2300	return *g.Verified
2301}
2302
2303// GetCanCertify returns the CanCertify field if it's non-nil, zero value otherwise.
2304func (g *GPGKey) GetCanCertify() bool {
2305	if g == nil || g.CanCertify == nil {
2306		return false
2307	}
2308	return *g.CanCertify
2309}
2310
2311// GetCanEncryptComms returns the CanEncryptComms field if it's non-nil, zero value otherwise.
2312func (g *GPGKey) GetCanEncryptComms() bool {
2313	if g == nil || g.CanEncryptComms == nil {
2314		return false
2315	}
2316	return *g.CanEncryptComms
2317}
2318
2319// GetCanEncryptStorage returns the CanEncryptStorage field if it's non-nil, zero value otherwise.
2320func (g *GPGKey) GetCanEncryptStorage() bool {
2321	if g == nil || g.CanEncryptStorage == nil {
2322		return false
2323	}
2324	return *g.CanEncryptStorage
2325}
2326
2327// GetCanSign returns the CanSign field if it's non-nil, zero value otherwise.
2328func (g *GPGKey) GetCanSign() bool {
2329	if g == nil || g.CanSign == nil {
2330		return false
2331	}
2332	return *g.CanSign
2333}
2334
2335// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2336func (g *GPGKey) GetCreatedAt() time.Time {
2337	if g == nil || g.CreatedAt == nil {
2338		return time.Time{}
2339	}
2340	return *g.CreatedAt
2341}
2342
2343// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise.
2344func (g *GPGKey) GetExpiresAt() time.Time {
2345	if g == nil || g.ExpiresAt == nil {
2346		return time.Time{}
2347	}
2348	return *g.ExpiresAt
2349}
2350
2351// GetID returns the ID field if it's non-nil, zero value otherwise.
2352func (g *GPGKey) GetID() int64 {
2353	if g == nil || g.ID == nil {
2354		return 0
2355	}
2356	return *g.ID
2357}
2358
2359// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise.
2360func (g *GPGKey) GetKeyID() string {
2361	if g == nil || g.KeyID == nil {
2362		return ""
2363	}
2364	return *g.KeyID
2365}
2366
2367// GetPrimaryKeyID returns the PrimaryKeyID field if it's non-nil, zero value otherwise.
2368func (g *GPGKey) GetPrimaryKeyID() int64 {
2369	if g == nil || g.PrimaryKeyID == nil {
2370		return 0
2371	}
2372	return *g.PrimaryKeyID
2373}
2374
2375// GetPublicKey returns the PublicKey field if it's non-nil, zero value otherwise.
2376func (g *GPGKey) GetPublicKey() string {
2377	if g == nil || g.PublicKey == nil {
2378		return ""
2379	}
2380	return *g.PublicKey
2381}
2382
2383// GetApp returns the App field.
2384func (g *Grant) GetApp() *AuthorizationApp {
2385	if g == nil {
2386		return nil
2387	}
2388	return g.App
2389}
2390
2391// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2392func (g *Grant) GetCreatedAt() Timestamp {
2393	if g == nil || g.CreatedAt == nil {
2394		return Timestamp{}
2395	}
2396	return *g.CreatedAt
2397}
2398
2399// GetID returns the ID field if it's non-nil, zero value otherwise.
2400func (g *Grant) GetID() int64 {
2401	if g == nil || g.ID == nil {
2402		return 0
2403	}
2404	return *g.ID
2405}
2406
2407// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
2408func (g *Grant) GetUpdatedAt() Timestamp {
2409	if g == nil || g.UpdatedAt == nil {
2410		return Timestamp{}
2411	}
2412	return *g.UpdatedAt
2413}
2414
2415// GetURL returns the URL field if it's non-nil, zero value otherwise.
2416func (g *Grant) GetURL() string {
2417	if g == nil || g.URL == nil {
2418		return ""
2419	}
2420	return *g.URL
2421}
2422
2423// GetActive returns the Active field if it's non-nil, zero value otherwise.
2424func (h *Hook) GetActive() bool {
2425	if h == nil || h.Active == nil {
2426		return false
2427	}
2428	return *h.Active
2429}
2430
2431// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2432func (h *Hook) GetCreatedAt() time.Time {
2433	if h == nil || h.CreatedAt == nil {
2434		return time.Time{}
2435	}
2436	return *h.CreatedAt
2437}
2438
2439// GetID returns the ID field if it's non-nil, zero value otherwise.
2440func (h *Hook) GetID() int64 {
2441	if h == nil || h.ID == nil {
2442		return 0
2443	}
2444	return *h.ID
2445}
2446
2447// GetName returns the Name field if it's non-nil, zero value otherwise.
2448func (h *Hook) GetName() string {
2449	if h == nil || h.Name == nil {
2450		return ""
2451	}
2452	return *h.Name
2453}
2454
2455// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
2456func (h *Hook) GetUpdatedAt() time.Time {
2457	if h == nil || h.UpdatedAt == nil {
2458		return time.Time{}
2459	}
2460	return *h.UpdatedAt
2461}
2462
2463// GetURL returns the URL field if it's non-nil, zero value otherwise.
2464func (h *Hook) GetURL() string {
2465	if h == nil || h.URL == nil {
2466		return ""
2467	}
2468	return *h.URL
2469}
2470
2471// GetActiveHooks returns the ActiveHooks field if it's non-nil, zero value otherwise.
2472func (h *HookStats) GetActiveHooks() int {
2473	if h == nil || h.ActiveHooks == nil {
2474		return 0
2475	}
2476	return *h.ActiveHooks
2477}
2478
2479// GetInactiveHooks returns the InactiveHooks field if it's non-nil, zero value otherwise.
2480func (h *HookStats) GetInactiveHooks() int {
2481	if h == nil || h.InactiveHooks == nil {
2482		return 0
2483	}
2484	return *h.InactiveHooks
2485}
2486
2487// GetTotalHooks returns the TotalHooks field if it's non-nil, zero value otherwise.
2488func (h *HookStats) GetTotalHooks() int {
2489	if h == nil || h.TotalHooks == nil {
2490		return 0
2491	}
2492	return *h.TotalHooks
2493}
2494
2495// GetAuthorsCount returns the AuthorsCount field if it's non-nil, zero value otherwise.
2496func (i *Import) GetAuthorsCount() int {
2497	if i == nil || i.AuthorsCount == nil {
2498		return 0
2499	}
2500	return *i.AuthorsCount
2501}
2502
2503// GetAuthorsURL returns the AuthorsURL field if it's non-nil, zero value otherwise.
2504func (i *Import) GetAuthorsURL() string {
2505	if i == nil || i.AuthorsURL == nil {
2506		return ""
2507	}
2508	return *i.AuthorsURL
2509}
2510
2511// GetCommitCount returns the CommitCount field if it's non-nil, zero value otherwise.
2512func (i *Import) GetCommitCount() int {
2513	if i == nil || i.CommitCount == nil {
2514		return 0
2515	}
2516	return *i.CommitCount
2517}
2518
2519// GetFailedStep returns the FailedStep field if it's non-nil, zero value otherwise.
2520func (i *Import) GetFailedStep() string {
2521	if i == nil || i.FailedStep == nil {
2522		return ""
2523	}
2524	return *i.FailedStep
2525}
2526
2527// GetHasLargeFiles returns the HasLargeFiles field if it's non-nil, zero value otherwise.
2528func (i *Import) GetHasLargeFiles() bool {
2529	if i == nil || i.HasLargeFiles == nil {
2530		return false
2531	}
2532	return *i.HasLargeFiles
2533}
2534
2535// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
2536func (i *Import) GetHTMLURL() string {
2537	if i == nil || i.HTMLURL == nil {
2538		return ""
2539	}
2540	return *i.HTMLURL
2541}
2542
2543// GetHumanName returns the HumanName field if it's non-nil, zero value otherwise.
2544func (i *Import) GetHumanName() string {
2545	if i == nil || i.HumanName == nil {
2546		return ""
2547	}
2548	return *i.HumanName
2549}
2550
2551// GetLargeFilesCount returns the LargeFilesCount field if it's non-nil, zero value otherwise.
2552func (i *Import) GetLargeFilesCount() int {
2553	if i == nil || i.LargeFilesCount == nil {
2554		return 0
2555	}
2556	return *i.LargeFilesCount
2557}
2558
2559// GetLargeFilesSize returns the LargeFilesSize field if it's non-nil, zero value otherwise.
2560func (i *Import) GetLargeFilesSize() int {
2561	if i == nil || i.LargeFilesSize == nil {
2562		return 0
2563	}
2564	return *i.LargeFilesSize
2565}
2566
2567// GetMessage returns the Message field if it's non-nil, zero value otherwise.
2568func (i *Import) GetMessage() string {
2569	if i == nil || i.Message == nil {
2570		return ""
2571	}
2572	return *i.Message
2573}
2574
2575// GetPercent returns the Percent field if it's non-nil, zero value otherwise.
2576func (i *Import) GetPercent() int {
2577	if i == nil || i.Percent == nil {
2578		return 0
2579	}
2580	return *i.Percent
2581}
2582
2583// GetPushPercent returns the PushPercent field if it's non-nil, zero value otherwise.
2584func (i *Import) GetPushPercent() int {
2585	if i == nil || i.PushPercent == nil {
2586		return 0
2587	}
2588	return *i.PushPercent
2589}
2590
2591// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
2592func (i *Import) GetRepositoryURL() string {
2593	if i == nil || i.RepositoryURL == nil {
2594		return ""
2595	}
2596	return *i.RepositoryURL
2597}
2598
2599// GetStatus returns the Status field if it's non-nil, zero value otherwise.
2600func (i *Import) GetStatus() string {
2601	if i == nil || i.Status == nil {
2602		return ""
2603	}
2604	return *i.Status
2605}
2606
2607// GetStatusText returns the StatusText field if it's non-nil, zero value otherwise.
2608func (i *Import) GetStatusText() string {
2609	if i == nil || i.StatusText == nil {
2610		return ""
2611	}
2612	return *i.StatusText
2613}
2614
2615// GetTFVCProject returns the TFVCProject field if it's non-nil, zero value otherwise.
2616func (i *Import) GetTFVCProject() string {
2617	if i == nil || i.TFVCProject == nil {
2618		return ""
2619	}
2620	return *i.TFVCProject
2621}
2622
2623// GetURL returns the URL field if it's non-nil, zero value otherwise.
2624func (i *Import) GetURL() string {
2625	if i == nil || i.URL == nil {
2626		return ""
2627	}
2628	return *i.URL
2629}
2630
2631// GetUseLFS returns the UseLFS field if it's non-nil, zero value otherwise.
2632func (i *Import) GetUseLFS() string {
2633	if i == nil || i.UseLFS == nil {
2634		return ""
2635	}
2636	return *i.UseLFS
2637}
2638
2639// GetVCS returns the VCS field if it's non-nil, zero value otherwise.
2640func (i *Import) GetVCS() string {
2641	if i == nil || i.VCS == nil {
2642		return ""
2643	}
2644	return *i.VCS
2645}
2646
2647// GetVCSPassword returns the VCSPassword field if it's non-nil, zero value otherwise.
2648func (i *Import) GetVCSPassword() string {
2649	if i == nil || i.VCSPassword == nil {
2650		return ""
2651	}
2652	return *i.VCSPassword
2653}
2654
2655// GetVCSURL returns the VCSURL field if it's non-nil, zero value otherwise.
2656func (i *Import) GetVCSURL() string {
2657	if i == nil || i.VCSURL == nil {
2658		return ""
2659	}
2660	return *i.VCSURL
2661}
2662
2663// GetVCSUsername returns the VCSUsername field if it's non-nil, zero value otherwise.
2664func (i *Import) GetVCSUsername() string {
2665	if i == nil || i.VCSUsername == nil {
2666		return ""
2667	}
2668	return *i.VCSUsername
2669}
2670
2671// GetAccessTokensURL returns the AccessTokensURL field if it's non-nil, zero value otherwise.
2672func (i *Installation) GetAccessTokensURL() string {
2673	if i == nil || i.AccessTokensURL == nil {
2674		return ""
2675	}
2676	return *i.AccessTokensURL
2677}
2678
2679// GetAccount returns the Account field.
2680func (i *Installation) GetAccount() *User {
2681	if i == nil {
2682		return nil
2683	}
2684	return i.Account
2685}
2686
2687// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
2688func (i *Installation) GetHTMLURL() string {
2689	if i == nil || i.HTMLURL == nil {
2690		return ""
2691	}
2692	return *i.HTMLURL
2693}
2694
2695// GetID returns the ID field if it's non-nil, zero value otherwise.
2696func (i *Installation) GetID() int64 {
2697	if i == nil || i.ID == nil {
2698		return 0
2699	}
2700	return *i.ID
2701}
2702
2703// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise.
2704func (i *Installation) GetRepositoriesURL() string {
2705	if i == nil || i.RepositoriesURL == nil {
2706		return ""
2707	}
2708	return *i.RepositoriesURL
2709}
2710
2711// GetAction returns the Action field if it's non-nil, zero value otherwise.
2712func (i *InstallationEvent) GetAction() string {
2713	if i == nil || i.Action == nil {
2714		return ""
2715	}
2716	return *i.Action
2717}
2718
2719// GetInstallation returns the Installation field.
2720func (i *InstallationEvent) GetInstallation() *Installation {
2721	if i == nil {
2722		return nil
2723	}
2724	return i.Installation
2725}
2726
2727// GetSender returns the Sender field.
2728func (i *InstallationEvent) GetSender() *User {
2729	if i == nil {
2730		return nil
2731	}
2732	return i.Sender
2733}
2734
2735// GetAction returns the Action field if it's non-nil, zero value otherwise.
2736func (i *InstallationRepositoriesEvent) GetAction() string {
2737	if i == nil || i.Action == nil {
2738		return ""
2739	}
2740	return *i.Action
2741}
2742
2743// GetInstallation returns the Installation field.
2744func (i *InstallationRepositoriesEvent) GetInstallation() *Installation {
2745	if i == nil {
2746		return nil
2747	}
2748	return i.Installation
2749}
2750
2751// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise.
2752func (i *InstallationRepositoriesEvent) GetRepositorySelection() string {
2753	if i == nil || i.RepositorySelection == nil {
2754		return ""
2755	}
2756	return *i.RepositorySelection
2757}
2758
2759// GetSender returns the Sender field.
2760func (i *InstallationRepositoriesEvent) GetSender() *User {
2761	if i == nil {
2762		return nil
2763	}
2764	return i.Sender
2765}
2766
2767// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise.
2768func (i *InstallationToken) GetExpiresAt() time.Time {
2769	if i == nil || i.ExpiresAt == nil {
2770		return time.Time{}
2771	}
2772	return *i.ExpiresAt
2773}
2774
2775// GetToken returns the Token field if it's non-nil, zero value otherwise.
2776func (i *InstallationToken) GetToken() string {
2777	if i == nil || i.Token == nil {
2778		return ""
2779	}
2780	return *i.Token
2781}
2782
2783// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2784func (i *Invitation) GetCreatedAt() time.Time {
2785	if i == nil || i.CreatedAt == nil {
2786		return time.Time{}
2787	}
2788	return *i.CreatedAt
2789}
2790
2791// GetEmail returns the Email field if it's non-nil, zero value otherwise.
2792func (i *Invitation) GetEmail() string {
2793	if i == nil || i.Email == nil {
2794		return ""
2795	}
2796	return *i.Email
2797}
2798
2799// GetID returns the ID field if it's non-nil, zero value otherwise.
2800func (i *Invitation) GetID() int64 {
2801	if i == nil || i.ID == nil {
2802		return 0
2803	}
2804	return *i.ID
2805}
2806
2807// GetInviter returns the Inviter field.
2808func (i *Invitation) GetInviter() *User {
2809	if i == nil {
2810		return nil
2811	}
2812	return i.Inviter
2813}
2814
2815// GetLogin returns the Login field if it's non-nil, zero value otherwise.
2816func (i *Invitation) GetLogin() string {
2817	if i == nil || i.Login == nil {
2818		return ""
2819	}
2820	return *i.Login
2821}
2822
2823// GetRole returns the Role field if it's non-nil, zero value otherwise.
2824func (i *Invitation) GetRole() string {
2825	if i == nil || i.Role == nil {
2826		return ""
2827	}
2828	return *i.Role
2829}
2830
2831// GetAssignee returns the Assignee field.
2832func (i *Issue) GetAssignee() *User {
2833	if i == nil {
2834		return nil
2835	}
2836	return i.Assignee
2837}
2838
2839// GetBody returns the Body field if it's non-nil, zero value otherwise.
2840func (i *Issue) GetBody() string {
2841	if i == nil || i.Body == nil {
2842		return ""
2843	}
2844	return *i.Body
2845}
2846
2847// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise.
2848func (i *Issue) GetClosedAt() time.Time {
2849	if i == nil || i.ClosedAt == nil {
2850		return time.Time{}
2851	}
2852	return *i.ClosedAt
2853}
2854
2855// GetClosedBy returns the ClosedBy field.
2856func (i *Issue) GetClosedBy() *User {
2857	if i == nil {
2858		return nil
2859	}
2860	return i.ClosedBy
2861}
2862
2863// GetComments returns the Comments field if it's non-nil, zero value otherwise.
2864func (i *Issue) GetComments() int {
2865	if i == nil || i.Comments == nil {
2866		return 0
2867	}
2868	return *i.Comments
2869}
2870
2871// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
2872func (i *Issue) GetCommentsURL() string {
2873	if i == nil || i.CommentsURL == nil {
2874		return ""
2875	}
2876	return *i.CommentsURL
2877}
2878
2879// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
2880func (i *Issue) GetCreatedAt() time.Time {
2881	if i == nil || i.CreatedAt == nil {
2882		return time.Time{}
2883	}
2884	return *i.CreatedAt
2885}
2886
2887// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
2888func (i *Issue) GetEventsURL() string {
2889	if i == nil || i.EventsURL == nil {
2890		return ""
2891	}
2892	return *i.EventsURL
2893}
2894
2895// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
2896func (i *Issue) GetHTMLURL() string {
2897	if i == nil || i.HTMLURL == nil {
2898		return ""
2899	}
2900	return *i.HTMLURL
2901}
2902
2903// GetID returns the ID field if it's non-nil, zero value otherwise.
2904func (i *Issue) GetID() int64 {
2905	if i == nil || i.ID == nil {
2906		return 0
2907	}
2908	return *i.ID
2909}
2910
2911// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise.
2912func (i *Issue) GetLabelsURL() string {
2913	if i == nil || i.LabelsURL == nil {
2914		return ""
2915	}
2916	return *i.LabelsURL
2917}
2918
2919// GetLocked returns the Locked field if it's non-nil, zero value otherwise.
2920func (i *Issue) GetLocked() bool {
2921	if i == nil || i.Locked == nil {
2922		return false
2923	}
2924	return *i.Locked
2925}
2926
2927// GetMilestone returns the Milestone field.
2928func (i *Issue) GetMilestone() *Milestone {
2929	if i == nil {
2930		return nil
2931	}
2932	return i.Milestone
2933}
2934
2935// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
2936func (i *Issue) GetNodeID() string {
2937	if i == nil || i.NodeID == nil {
2938		return ""
2939	}
2940	return *i.NodeID
2941}
2942
2943// GetNumber returns the Number field if it's non-nil, zero value otherwise.
2944func (i *Issue) GetNumber() int {
2945	if i == nil || i.Number == nil {
2946		return 0
2947	}
2948	return *i.Number
2949}
2950
2951// GetPullRequestLinks returns the PullRequestLinks field.
2952func (i *Issue) GetPullRequestLinks() *PullRequestLinks {
2953	if i == nil {
2954		return nil
2955	}
2956	return i.PullRequestLinks
2957}
2958
2959// GetReactions returns the Reactions field.
2960func (i *Issue) GetReactions() *Reactions {
2961	if i == nil {
2962		return nil
2963	}
2964	return i.Reactions
2965}
2966
2967// GetRepository returns the Repository field.
2968func (i *Issue) GetRepository() *Repository {
2969	if i == nil {
2970		return nil
2971	}
2972	return i.Repository
2973}
2974
2975// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
2976func (i *Issue) GetRepositoryURL() string {
2977	if i == nil || i.RepositoryURL == nil {
2978		return ""
2979	}
2980	return *i.RepositoryURL
2981}
2982
2983// GetState returns the State field if it's non-nil, zero value otherwise.
2984func (i *Issue) GetState() string {
2985	if i == nil || i.State == nil {
2986		return ""
2987	}
2988	return *i.State
2989}
2990
2991// GetTitle returns the Title field if it's non-nil, zero value otherwise.
2992func (i *Issue) GetTitle() string {
2993	if i == nil || i.Title == nil {
2994		return ""
2995	}
2996	return *i.Title
2997}
2998
2999// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
3000func (i *Issue) GetUpdatedAt() time.Time {
3001	if i == nil || i.UpdatedAt == nil {
3002		return time.Time{}
3003	}
3004	return *i.UpdatedAt
3005}
3006
3007// GetURL returns the URL field if it's non-nil, zero value otherwise.
3008func (i *Issue) GetURL() string {
3009	if i == nil || i.URL == nil {
3010		return ""
3011	}
3012	return *i.URL
3013}
3014
3015// GetUser returns the User field.
3016func (i *Issue) GetUser() *User {
3017	if i == nil {
3018		return nil
3019	}
3020	return i.User
3021}
3022
3023// GetBody returns the Body field if it's non-nil, zero value otherwise.
3024func (i *IssueComment) GetBody() string {
3025	if i == nil || i.Body == nil {
3026		return ""
3027	}
3028	return *i.Body
3029}
3030
3031// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
3032func (i *IssueComment) GetCreatedAt() time.Time {
3033	if i == nil || i.CreatedAt == nil {
3034		return time.Time{}
3035	}
3036	return *i.CreatedAt
3037}
3038
3039// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
3040func (i *IssueComment) GetHTMLURL() string {
3041	if i == nil || i.HTMLURL == nil {
3042		return ""
3043	}
3044	return *i.HTMLURL
3045}
3046
3047// GetID returns the ID field if it's non-nil, zero value otherwise.
3048func (i *IssueComment) GetID() int64 {
3049	if i == nil || i.ID == nil {
3050		return 0
3051	}
3052	return *i.ID
3053}
3054
3055// GetIssueURL returns the IssueURL field if it's non-nil, zero value otherwise.
3056func (i *IssueComment) GetIssueURL() string {
3057	if i == nil || i.IssueURL == nil {
3058		return ""
3059	}
3060	return *i.IssueURL
3061}
3062
3063// GetReactions returns the Reactions field.
3064func (i *IssueComment) GetReactions() *Reactions {
3065	if i == nil {
3066		return nil
3067	}
3068	return i.Reactions
3069}
3070
3071// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
3072func (i *IssueComment) GetUpdatedAt() time.Time {
3073	if i == nil || i.UpdatedAt == nil {
3074		return time.Time{}
3075	}
3076	return *i.UpdatedAt
3077}
3078
3079// GetURL returns the URL field if it's non-nil, zero value otherwise.
3080func (i *IssueComment) GetURL() string {
3081	if i == nil || i.URL == nil {
3082		return ""
3083	}
3084	return *i.URL
3085}
3086
3087// GetUser returns the User field.
3088func (i *IssueComment) GetUser() *User {
3089	if i == nil {
3090		return nil
3091	}
3092	return i.User
3093}
3094
3095// GetAction returns the Action field if it's non-nil, zero value otherwise.
3096func (i *IssueCommentEvent) GetAction() string {
3097	if i == nil || i.Action == nil {
3098		return ""
3099	}
3100	return *i.Action
3101}
3102
3103// GetChanges returns the Changes field.
3104func (i *IssueCommentEvent) GetChanges() *EditChange {
3105	if i == nil {
3106		return nil
3107	}
3108	return i.Changes
3109}
3110
3111// GetComment returns the Comment field.
3112func (i *IssueCommentEvent) GetComment() *IssueComment {
3113	if i == nil {
3114		return nil
3115	}
3116	return i.Comment
3117}
3118
3119// GetInstallation returns the Installation field.
3120func (i *IssueCommentEvent) GetInstallation() *Installation {
3121	if i == nil {
3122		return nil
3123	}
3124	return i.Installation
3125}
3126
3127// GetIssue returns the Issue field.
3128func (i *IssueCommentEvent) GetIssue() *Issue {
3129	if i == nil {
3130		return nil
3131	}
3132	return i.Issue
3133}
3134
3135// GetRepo returns the Repo field.
3136func (i *IssueCommentEvent) GetRepo() *Repository {
3137	if i == nil {
3138		return nil
3139	}
3140	return i.Repo
3141}
3142
3143// GetSender returns the Sender field.
3144func (i *IssueCommentEvent) GetSender() *User {
3145	if i == nil {
3146		return nil
3147	}
3148	return i.Sender
3149}
3150
3151// GetActor returns the Actor field.
3152func (i *IssueEvent) GetActor() *User {
3153	if i == nil {
3154		return nil
3155	}
3156	return i.Actor
3157}
3158
3159// GetAssignee returns the Assignee field.
3160func (i *IssueEvent) GetAssignee() *User {
3161	if i == nil {
3162		return nil
3163	}
3164	return i.Assignee
3165}
3166
3167// GetAssigner returns the Assigner field.
3168func (i *IssueEvent) GetAssigner() *User {
3169	if i == nil {
3170		return nil
3171	}
3172	return i.Assigner
3173}
3174
3175// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
3176func (i *IssueEvent) GetCommitID() string {
3177	if i == nil || i.CommitID == nil {
3178		return ""
3179	}
3180	return *i.CommitID
3181}
3182
3183// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
3184func (i *IssueEvent) GetCreatedAt() time.Time {
3185	if i == nil || i.CreatedAt == nil {
3186		return time.Time{}
3187	}
3188	return *i.CreatedAt
3189}
3190
3191// GetEvent returns the Event field if it's non-nil, zero value otherwise.
3192func (i *IssueEvent) GetEvent() string {
3193	if i == nil || i.Event == nil {
3194		return ""
3195	}
3196	return *i.Event
3197}
3198
3199// GetID returns the ID field if it's non-nil, zero value otherwise.
3200func (i *IssueEvent) GetID() int64 {
3201	if i == nil || i.ID == nil {
3202		return 0
3203	}
3204	return *i.ID
3205}
3206
3207// GetIssue returns the Issue field.
3208func (i *IssueEvent) GetIssue() *Issue {
3209	if i == nil {
3210		return nil
3211	}
3212	return i.Issue
3213}
3214
3215// GetLabel returns the Label field.
3216func (i *IssueEvent) GetLabel() *Label {
3217	if i == nil {
3218		return nil
3219	}
3220	return i.Label
3221}
3222
3223// GetMilestone returns the Milestone field.
3224func (i *IssueEvent) GetMilestone() *Milestone {
3225	if i == nil {
3226		return nil
3227	}
3228	return i.Milestone
3229}
3230
3231// GetRename returns the Rename field.
3232func (i *IssueEvent) GetRename() *Rename {
3233	if i == nil {
3234		return nil
3235	}
3236	return i.Rename
3237}
3238
3239// GetURL returns the URL field if it's non-nil, zero value otherwise.
3240func (i *IssueEvent) GetURL() string {
3241	if i == nil || i.URL == nil {
3242		return ""
3243	}
3244	return *i.URL
3245}
3246
3247// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise.
3248func (i *IssueRequest) GetAssignee() string {
3249	if i == nil || i.Assignee == nil {
3250		return ""
3251	}
3252	return *i.Assignee
3253}
3254
3255// GetAssignees returns the Assignees field if it's non-nil, zero value otherwise.
3256func (i *IssueRequest) GetAssignees() []string {
3257	if i == nil || i.Assignees == nil {
3258		return nil
3259	}
3260	return *i.Assignees
3261}
3262
3263// GetBody returns the Body field if it's non-nil, zero value otherwise.
3264func (i *IssueRequest) GetBody() string {
3265	if i == nil || i.Body == nil {
3266		return ""
3267	}
3268	return *i.Body
3269}
3270
3271// GetLabels returns the Labels field if it's non-nil, zero value otherwise.
3272func (i *IssueRequest) GetLabels() []string {
3273	if i == nil || i.Labels == nil {
3274		return nil
3275	}
3276	return *i.Labels
3277}
3278
3279// GetMilestone returns the Milestone field if it's non-nil, zero value otherwise.
3280func (i *IssueRequest) GetMilestone() int {
3281	if i == nil || i.Milestone == nil {
3282		return 0
3283	}
3284	return *i.Milestone
3285}
3286
3287// GetState returns the State field if it's non-nil, zero value otherwise.
3288func (i *IssueRequest) GetState() string {
3289	if i == nil || i.State == nil {
3290		return ""
3291	}
3292	return *i.State
3293}
3294
3295// GetTitle returns the Title field if it's non-nil, zero value otherwise.
3296func (i *IssueRequest) GetTitle() string {
3297	if i == nil || i.Title == nil {
3298		return ""
3299	}
3300	return *i.Title
3301}
3302
3303// GetAction returns the Action field if it's non-nil, zero value otherwise.
3304func (i *IssuesEvent) GetAction() string {
3305	if i == nil || i.Action == nil {
3306		return ""
3307	}
3308	return *i.Action
3309}
3310
3311// GetAssignee returns the Assignee field.
3312func (i *IssuesEvent) GetAssignee() *User {
3313	if i == nil {
3314		return nil
3315	}
3316	return i.Assignee
3317}
3318
3319// GetChanges returns the Changes field.
3320func (i *IssuesEvent) GetChanges() *EditChange {
3321	if i == nil {
3322		return nil
3323	}
3324	return i.Changes
3325}
3326
3327// GetInstallation returns the Installation field.
3328func (i *IssuesEvent) GetInstallation() *Installation {
3329	if i == nil {
3330		return nil
3331	}
3332	return i.Installation
3333}
3334
3335// GetIssue returns the Issue field.
3336func (i *IssuesEvent) GetIssue() *Issue {
3337	if i == nil {
3338		return nil
3339	}
3340	return i.Issue
3341}
3342
3343// GetLabel returns the Label field.
3344func (i *IssuesEvent) GetLabel() *Label {
3345	if i == nil {
3346		return nil
3347	}
3348	return i.Label
3349}
3350
3351// GetRepo returns the Repo field.
3352func (i *IssuesEvent) GetRepo() *Repository {
3353	if i == nil {
3354		return nil
3355	}
3356	return i.Repo
3357}
3358
3359// GetSender returns the Sender field.
3360func (i *IssuesEvent) GetSender() *User {
3361	if i == nil {
3362		return nil
3363	}
3364	return i.Sender
3365}
3366
3367// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
3368func (i *IssuesSearchResult) GetIncompleteResults() bool {
3369	if i == nil || i.IncompleteResults == nil {
3370		return false
3371	}
3372	return *i.IncompleteResults
3373}
3374
3375// GetTotal returns the Total field if it's non-nil, zero value otherwise.
3376func (i *IssuesSearchResult) GetTotal() int {
3377	if i == nil || i.Total == nil {
3378		return 0
3379	}
3380	return *i.Total
3381}
3382
3383// GetClosedIssues returns the ClosedIssues field if it's non-nil, zero value otherwise.
3384func (i *IssueStats) GetClosedIssues() int {
3385	if i == nil || i.ClosedIssues == nil {
3386		return 0
3387	}
3388	return *i.ClosedIssues
3389}
3390
3391// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise.
3392func (i *IssueStats) GetOpenIssues() int {
3393	if i == nil || i.OpenIssues == nil {
3394		return 0
3395	}
3396	return *i.OpenIssues
3397}
3398
3399// GetTotalIssues returns the TotalIssues field if it's non-nil, zero value otherwise.
3400func (i *IssueStats) GetTotalIssues() int {
3401	if i == nil || i.TotalIssues == nil {
3402		return 0
3403	}
3404	return *i.TotalIssues
3405}
3406
3407// GetID returns the ID field if it's non-nil, zero value otherwise.
3408func (k *Key) GetID() int64 {
3409	if k == nil || k.ID == nil {
3410		return 0
3411	}
3412	return *k.ID
3413}
3414
3415// GetKey returns the Key field if it's non-nil, zero value otherwise.
3416func (k *Key) GetKey() string {
3417	if k == nil || k.Key == nil {
3418		return ""
3419	}
3420	return *k.Key
3421}
3422
3423// GetReadOnly returns the ReadOnly field if it's non-nil, zero value otherwise.
3424func (k *Key) GetReadOnly() bool {
3425	if k == nil || k.ReadOnly == nil {
3426		return false
3427	}
3428	return *k.ReadOnly
3429}
3430
3431// GetTitle returns the Title field if it's non-nil, zero value otherwise.
3432func (k *Key) GetTitle() string {
3433	if k == nil || k.Title == nil {
3434		return ""
3435	}
3436	return *k.Title
3437}
3438
3439// GetURL returns the URL field if it's non-nil, zero value otherwise.
3440func (k *Key) GetURL() string {
3441	if k == nil || k.URL == nil {
3442		return ""
3443	}
3444	return *k.URL
3445}
3446
3447// GetColor returns the Color field if it's non-nil, zero value otherwise.
3448func (l *Label) GetColor() string {
3449	if l == nil || l.Color == nil {
3450		return ""
3451	}
3452	return *l.Color
3453}
3454
3455// GetID returns the ID field if it's non-nil, zero value otherwise.
3456func (l *Label) GetID() int64 {
3457	if l == nil || l.ID == nil {
3458		return 0
3459	}
3460	return *l.ID
3461}
3462
3463// GetName returns the Name field if it's non-nil, zero value otherwise.
3464func (l *Label) GetName() string {
3465	if l == nil || l.Name == nil {
3466		return ""
3467	}
3468	return *l.Name
3469}
3470
3471// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
3472func (l *Label) GetNodeID() string {
3473	if l == nil || l.NodeID == nil {
3474		return ""
3475	}
3476	return *l.NodeID
3477}
3478
3479// GetURL returns the URL field if it's non-nil, zero value otherwise.
3480func (l *Label) GetURL() string {
3481	if l == nil || l.URL == nil {
3482		return ""
3483	}
3484	return *l.URL
3485}
3486
3487// GetAction returns the Action field if it's non-nil, zero value otherwise.
3488func (l *LabelEvent) GetAction() string {
3489	if l == nil || l.Action == nil {
3490		return ""
3491	}
3492	return *l.Action
3493}
3494
3495// GetChanges returns the Changes field.
3496func (l *LabelEvent) GetChanges() *EditChange {
3497	if l == nil {
3498		return nil
3499	}
3500	return l.Changes
3501}
3502
3503// GetInstallation returns the Installation field.
3504func (l *LabelEvent) GetInstallation() *Installation {
3505	if l == nil {
3506		return nil
3507	}
3508	return l.Installation
3509}
3510
3511// GetLabel returns the Label field.
3512func (l *LabelEvent) GetLabel() *Label {
3513	if l == nil {
3514		return nil
3515	}
3516	return l.Label
3517}
3518
3519// GetOrg returns the Org field.
3520func (l *LabelEvent) GetOrg() *Organization {
3521	if l == nil {
3522		return nil
3523	}
3524	return l.Org
3525}
3526
3527// GetRepo returns the Repo field.
3528func (l *LabelEvent) GetRepo() *Repository {
3529	if l == nil {
3530		return nil
3531	}
3532	return l.Repo
3533}
3534
3535// GetOID returns the OID field if it's non-nil, zero value otherwise.
3536func (l *LargeFile) GetOID() string {
3537	if l == nil || l.OID == nil {
3538		return ""
3539	}
3540	return *l.OID
3541}
3542
3543// GetPath returns the Path field if it's non-nil, zero value otherwise.
3544func (l *LargeFile) GetPath() string {
3545	if l == nil || l.Path == nil {
3546		return ""
3547	}
3548	return *l.Path
3549}
3550
3551// GetRefName returns the RefName field if it's non-nil, zero value otherwise.
3552func (l *LargeFile) GetRefName() string {
3553	if l == nil || l.RefName == nil {
3554		return ""
3555	}
3556	return *l.RefName
3557}
3558
3559// GetSize returns the Size field if it's non-nil, zero value otherwise.
3560func (l *LargeFile) GetSize() int {
3561	if l == nil || l.Size == nil {
3562		return 0
3563	}
3564	return *l.Size
3565}
3566
3567// GetBody returns the Body field if it's non-nil, zero value otherwise.
3568func (l *License) GetBody() string {
3569	if l == nil || l.Body == nil {
3570		return ""
3571	}
3572	return *l.Body
3573}
3574
3575// GetConditions returns the Conditions field if it's non-nil, zero value otherwise.
3576func (l *License) GetConditions() []string {
3577	if l == nil || l.Conditions == nil {
3578		return nil
3579	}
3580	return *l.Conditions
3581}
3582
3583// GetDescription returns the Description field if it's non-nil, zero value otherwise.
3584func (l *License) GetDescription() string {
3585	if l == nil || l.Description == nil {
3586		return ""
3587	}
3588	return *l.Description
3589}
3590
3591// GetFeatured returns the Featured field if it's non-nil, zero value otherwise.
3592func (l *License) GetFeatured() bool {
3593	if l == nil || l.Featured == nil {
3594		return false
3595	}
3596	return *l.Featured
3597}
3598
3599// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
3600func (l *License) GetHTMLURL() string {
3601	if l == nil || l.HTMLURL == nil {
3602		return ""
3603	}
3604	return *l.HTMLURL
3605}
3606
3607// GetImplementation returns the Implementation field if it's non-nil, zero value otherwise.
3608func (l *License) GetImplementation() string {
3609	if l == nil || l.Implementation == nil {
3610		return ""
3611	}
3612	return *l.Implementation
3613}
3614
3615// GetKey returns the Key field if it's non-nil, zero value otherwise.
3616func (l *License) GetKey() string {
3617	if l == nil || l.Key == nil {
3618		return ""
3619	}
3620	return *l.Key
3621}
3622
3623// GetLimitations returns the Limitations field if it's non-nil, zero value otherwise.
3624func (l *License) GetLimitations() []string {
3625	if l == nil || l.Limitations == nil {
3626		return nil
3627	}
3628	return *l.Limitations
3629}
3630
3631// GetName returns the Name field if it's non-nil, zero value otherwise.
3632func (l *License) GetName() string {
3633	if l == nil || l.Name == nil {
3634		return ""
3635	}
3636	return *l.Name
3637}
3638
3639// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.
3640func (l *License) GetPermissions() []string {
3641	if l == nil || l.Permissions == nil {
3642		return nil
3643	}
3644	return *l.Permissions
3645}
3646
3647// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise.
3648func (l *License) GetSPDXID() string {
3649	if l == nil || l.SPDXID == nil {
3650		return ""
3651	}
3652	return *l.SPDXID
3653}
3654
3655// GetURL returns the URL field if it's non-nil, zero value otherwise.
3656func (l *License) GetURL() string {
3657	if l == nil || l.URL == nil {
3658		return ""
3659	}
3660	return *l.URL
3661}
3662
3663// GetAccountsURL returns the AccountsURL field if it's non-nil, zero value otherwise.
3664func (m *MarketplacePlan) GetAccountsURL() string {
3665	if m == nil || m.AccountsURL == nil {
3666		return ""
3667	}
3668	return *m.AccountsURL
3669}
3670
3671// GetBullets returns the Bullets field if it's non-nil, zero value otherwise.
3672func (m *MarketplacePlan) GetBullets() []string {
3673	if m == nil || m.Bullets == nil {
3674		return nil
3675	}
3676	return *m.Bullets
3677}
3678
3679// GetDescription returns the Description field if it's non-nil, zero value otherwise.
3680func (m *MarketplacePlan) GetDescription() string {
3681	if m == nil || m.Description == nil {
3682		return ""
3683	}
3684	return *m.Description
3685}
3686
3687// GetID returns the ID field if it's non-nil, zero value otherwise.
3688func (m *MarketplacePlan) GetID() int64 {
3689	if m == nil || m.ID == nil {
3690		return 0
3691	}
3692	return *m.ID
3693}
3694
3695// GetMonthlyPriceInCents returns the MonthlyPriceInCents field if it's non-nil, zero value otherwise.
3696func (m *MarketplacePlan) GetMonthlyPriceInCents() int {
3697	if m == nil || m.MonthlyPriceInCents == nil {
3698		return 0
3699	}
3700	return *m.MonthlyPriceInCents
3701}
3702
3703// GetName returns the Name field if it's non-nil, zero value otherwise.
3704func (m *MarketplacePlan) GetName() string {
3705	if m == nil || m.Name == nil {
3706		return ""
3707	}
3708	return *m.Name
3709}
3710
3711// GetPriceModel returns the PriceModel field if it's non-nil, zero value otherwise.
3712func (m *MarketplacePlan) GetPriceModel() string {
3713	if m == nil || m.PriceModel == nil {
3714		return ""
3715	}
3716	return *m.PriceModel
3717}
3718
3719// GetUnitName returns the UnitName field if it's non-nil, zero value otherwise.
3720func (m *MarketplacePlan) GetUnitName() string {
3721	if m == nil || m.UnitName == nil {
3722		return ""
3723	}
3724	return *m.UnitName
3725}
3726
3727// GetURL returns the URL field if it's non-nil, zero value otherwise.
3728func (m *MarketplacePlan) GetURL() string {
3729	if m == nil || m.URL == nil {
3730		return ""
3731	}
3732	return *m.URL
3733}
3734
3735// GetYearlyPriceInCents returns the YearlyPriceInCents field if it's non-nil, zero value otherwise.
3736func (m *MarketplacePlan) GetYearlyPriceInCents() int {
3737	if m == nil || m.YearlyPriceInCents == nil {
3738		return 0
3739	}
3740	return *m.YearlyPriceInCents
3741}
3742
3743// GetEmail returns the Email field if it's non-nil, zero value otherwise.
3744func (m *MarketplacePlanAccount) GetEmail() string {
3745	if m == nil || m.Email == nil {
3746		return ""
3747	}
3748	return *m.Email
3749}
3750
3751// GetID returns the ID field if it's non-nil, zero value otherwise.
3752func (m *MarketplacePlanAccount) GetID() int64 {
3753	if m == nil || m.ID == nil {
3754		return 0
3755	}
3756	return *m.ID
3757}
3758
3759// GetLogin returns the Login field if it's non-nil, zero value otherwise.
3760func (m *MarketplacePlanAccount) GetLogin() string {
3761	if m == nil || m.Login == nil {
3762		return ""
3763	}
3764	return *m.Login
3765}
3766
3767// GetMarketplacePurchase returns the MarketplacePurchase field.
3768func (m *MarketplacePlanAccount) GetMarketplacePurchase() *MarketplacePurchase {
3769	if m == nil {
3770		return nil
3771	}
3772	return m.MarketplacePurchase
3773}
3774
3775// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise.
3776func (m *MarketplacePlanAccount) GetOrganizationBillingEmail() string {
3777	if m == nil || m.OrganizationBillingEmail == nil {
3778		return ""
3779	}
3780	return *m.OrganizationBillingEmail
3781}
3782
3783// GetType returns the Type field if it's non-nil, zero value otherwise.
3784func (m *MarketplacePlanAccount) GetType() string {
3785	if m == nil || m.Type == nil {
3786		return ""
3787	}
3788	return *m.Type
3789}
3790
3791// GetURL returns the URL field if it's non-nil, zero value otherwise.
3792func (m *MarketplacePlanAccount) GetURL() string {
3793	if m == nil || m.URL == nil {
3794		return ""
3795	}
3796	return *m.URL
3797}
3798
3799// GetAccount returns the Account field.
3800func (m *MarketplacePurchase) GetAccount() *MarketplacePlanAccount {
3801	if m == nil {
3802		return nil
3803	}
3804	return m.Account
3805}
3806
3807// GetBillingCycle returns the BillingCycle field if it's non-nil, zero value otherwise.
3808func (m *MarketplacePurchase) GetBillingCycle() string {
3809	if m == nil || m.BillingCycle == nil {
3810		return ""
3811	}
3812	return *m.BillingCycle
3813}
3814
3815// GetNextBillingDate returns the NextBillingDate field if it's non-nil, zero value otherwise.
3816func (m *MarketplacePurchase) GetNextBillingDate() string {
3817	if m == nil || m.NextBillingDate == nil {
3818		return ""
3819	}
3820	return *m.NextBillingDate
3821}
3822
3823// GetPlan returns the Plan field.
3824func (m *MarketplacePurchase) GetPlan() *MarketplacePlan {
3825	if m == nil {
3826		return nil
3827	}
3828	return m.Plan
3829}
3830
3831// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise.
3832func (m *MarketplacePurchase) GetUnitCount() int {
3833	if m == nil || m.UnitCount == nil {
3834		return 0
3835	}
3836	return *m.UnitCount
3837}
3838
3839// GetAction returns the Action field if it's non-nil, zero value otherwise.
3840func (m *MarketplacePurchaseEvent) GetAction() string {
3841	if m == nil || m.Action == nil {
3842		return ""
3843	}
3844	return *m.Action
3845}
3846
3847// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise.
3848func (m *MarketplacePurchaseEvent) GetEffectiveDate() Timestamp {
3849	if m == nil || m.EffectiveDate == nil {
3850		return Timestamp{}
3851	}
3852	return *m.EffectiveDate
3853}
3854
3855// GetInstallation returns the Installation field.
3856func (m *MarketplacePurchaseEvent) GetInstallation() *Installation {
3857	if m == nil {
3858		return nil
3859	}
3860	return m.Installation
3861}
3862
3863// GetMarketplacePurchase returns the MarketplacePurchase field.
3864func (m *MarketplacePurchaseEvent) GetMarketplacePurchase() *MarketplacePurchase {
3865	if m == nil {
3866		return nil
3867	}
3868	return m.MarketplacePurchase
3869}
3870
3871// GetPreviousMarketplacePurchase returns the PreviousMarketplacePurchase field.
3872func (m *MarketplacePurchaseEvent) GetPreviousMarketplacePurchase() *MarketplacePurchase {
3873	if m == nil {
3874		return nil
3875	}
3876	return m.PreviousMarketplacePurchase
3877}
3878
3879// GetSender returns the Sender field.
3880func (m *MarketplacePurchaseEvent) GetSender() *User {
3881	if m == nil {
3882		return nil
3883	}
3884	return m.Sender
3885}
3886
3887// GetText returns the Text field if it's non-nil, zero value otherwise.
3888func (m *Match) GetText() string {
3889	if m == nil || m.Text == nil {
3890		return ""
3891	}
3892	return *m.Text
3893}
3894
3895// GetAction returns the Action field if it's non-nil, zero value otherwise.
3896func (m *MemberEvent) GetAction() string {
3897	if m == nil || m.Action == nil {
3898		return ""
3899	}
3900	return *m.Action
3901}
3902
3903// GetInstallation returns the Installation field.
3904func (m *MemberEvent) GetInstallation() *Installation {
3905	if m == nil {
3906		return nil
3907	}
3908	return m.Installation
3909}
3910
3911// GetMember returns the Member field.
3912func (m *MemberEvent) GetMember() *User {
3913	if m == nil {
3914		return nil
3915	}
3916	return m.Member
3917}
3918
3919// GetRepo returns the Repo field.
3920func (m *MemberEvent) GetRepo() *Repository {
3921	if m == nil {
3922		return nil
3923	}
3924	return m.Repo
3925}
3926
3927// GetSender returns the Sender field.
3928func (m *MemberEvent) GetSender() *User {
3929	if m == nil {
3930		return nil
3931	}
3932	return m.Sender
3933}
3934
3935// GetOrganization returns the Organization field.
3936func (m *Membership) GetOrganization() *Organization {
3937	if m == nil {
3938		return nil
3939	}
3940	return m.Organization
3941}
3942
3943// GetOrganizationURL returns the OrganizationURL field if it's non-nil, zero value otherwise.
3944func (m *Membership) GetOrganizationURL() string {
3945	if m == nil || m.OrganizationURL == nil {
3946		return ""
3947	}
3948	return *m.OrganizationURL
3949}
3950
3951// GetRole returns the Role field if it's non-nil, zero value otherwise.
3952func (m *Membership) GetRole() string {
3953	if m == nil || m.Role == nil {
3954		return ""
3955	}
3956	return *m.Role
3957}
3958
3959// GetState returns the State field if it's non-nil, zero value otherwise.
3960func (m *Membership) GetState() string {
3961	if m == nil || m.State == nil {
3962		return ""
3963	}
3964	return *m.State
3965}
3966
3967// GetURL returns the URL field if it's non-nil, zero value otherwise.
3968func (m *Membership) GetURL() string {
3969	if m == nil || m.URL == nil {
3970		return ""
3971	}
3972	return *m.URL
3973}
3974
3975// GetUser returns the User field.
3976func (m *Membership) GetUser() *User {
3977	if m == nil {
3978		return nil
3979	}
3980	return m.User
3981}
3982
3983// GetAction returns the Action field if it's non-nil, zero value otherwise.
3984func (m *MembershipEvent) GetAction() string {
3985	if m == nil || m.Action == nil {
3986		return ""
3987	}
3988	return *m.Action
3989}
3990
3991// GetInstallation returns the Installation field.
3992func (m *MembershipEvent) GetInstallation() *Installation {
3993	if m == nil {
3994		return nil
3995	}
3996	return m.Installation
3997}
3998
3999// GetMember returns the Member field.
4000func (m *MembershipEvent) GetMember() *User {
4001	if m == nil {
4002		return nil
4003	}
4004	return m.Member
4005}
4006
4007// GetOrg returns the Org field.
4008func (m *MembershipEvent) GetOrg() *Organization {
4009	if m == nil {
4010		return nil
4011	}
4012	return m.Org
4013}
4014
4015// GetScope returns the Scope field if it's non-nil, zero value otherwise.
4016func (m *MembershipEvent) GetScope() string {
4017	if m == nil || m.Scope == nil {
4018		return ""
4019	}
4020	return *m.Scope
4021}
4022
4023// GetSender returns the Sender field.
4024func (m *MembershipEvent) GetSender() *User {
4025	if m == nil {
4026		return nil
4027	}
4028	return m.Sender
4029}
4030
4031// GetTeam returns the Team field.
4032func (m *MembershipEvent) GetTeam() *Team {
4033	if m == nil {
4034		return nil
4035	}
4036	return m.Team
4037}
4038
4039// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
4040func (m *Metric) GetHTMLURL() string {
4041	if m == nil || m.HTMLURL == nil {
4042		return ""
4043	}
4044	return *m.HTMLURL
4045}
4046
4047// GetKey returns the Key field if it's non-nil, zero value otherwise.
4048func (m *Metric) GetKey() string {
4049	if m == nil || m.Key == nil {
4050		return ""
4051	}
4052	return *m.Key
4053}
4054
4055// GetName returns the Name field if it's non-nil, zero value otherwise.
4056func (m *Metric) GetName() string {
4057	if m == nil || m.Name == nil {
4058		return ""
4059	}
4060	return *m.Name
4061}
4062
4063// GetURL returns the URL field if it's non-nil, zero value otherwise.
4064func (m *Metric) GetURL() string {
4065	if m == nil || m.URL == nil {
4066		return ""
4067	}
4068	return *m.URL
4069}
4070
4071// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
4072func (m *Migration) GetCreatedAt() string {
4073	if m == nil || m.CreatedAt == nil {
4074		return ""
4075	}
4076	return *m.CreatedAt
4077}
4078
4079// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise.
4080func (m *Migration) GetExcludeAttachments() bool {
4081	if m == nil || m.ExcludeAttachments == nil {
4082		return false
4083	}
4084	return *m.ExcludeAttachments
4085}
4086
4087// GetGUID returns the GUID field if it's non-nil, zero value otherwise.
4088func (m *Migration) GetGUID() string {
4089	if m == nil || m.GUID == nil {
4090		return ""
4091	}
4092	return *m.GUID
4093}
4094
4095// GetID returns the ID field if it's non-nil, zero value otherwise.
4096func (m *Migration) GetID() int64 {
4097	if m == nil || m.ID == nil {
4098		return 0
4099	}
4100	return *m.ID
4101}
4102
4103// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise.
4104func (m *Migration) GetLockRepositories() bool {
4105	if m == nil || m.LockRepositories == nil {
4106		return false
4107	}
4108	return *m.LockRepositories
4109}
4110
4111// GetState returns the State field if it's non-nil, zero value otherwise.
4112func (m *Migration) GetState() string {
4113	if m == nil || m.State == nil {
4114		return ""
4115	}
4116	return *m.State
4117}
4118
4119// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
4120func (m *Migration) GetUpdatedAt() string {
4121	if m == nil || m.UpdatedAt == nil {
4122		return ""
4123	}
4124	return *m.UpdatedAt
4125}
4126
4127// GetURL returns the URL field if it's non-nil, zero value otherwise.
4128func (m *Migration) GetURL() string {
4129	if m == nil || m.URL == nil {
4130		return ""
4131	}
4132	return *m.URL
4133}
4134
4135// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise.
4136func (m *Milestone) GetClosedAt() time.Time {
4137	if m == nil || m.ClosedAt == nil {
4138		return time.Time{}
4139	}
4140	return *m.ClosedAt
4141}
4142
4143// GetClosedIssues returns the ClosedIssues field if it's non-nil, zero value otherwise.
4144func (m *Milestone) GetClosedIssues() int {
4145	if m == nil || m.ClosedIssues == nil {
4146		return 0
4147	}
4148	return *m.ClosedIssues
4149}
4150
4151// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
4152func (m *Milestone) GetCreatedAt() time.Time {
4153	if m == nil || m.CreatedAt == nil {
4154		return time.Time{}
4155	}
4156	return *m.CreatedAt
4157}
4158
4159// GetCreator returns the Creator field.
4160func (m *Milestone) GetCreator() *User {
4161	if m == nil {
4162		return nil
4163	}
4164	return m.Creator
4165}
4166
4167// GetDescription returns the Description field if it's non-nil, zero value otherwise.
4168func (m *Milestone) GetDescription() string {
4169	if m == nil || m.Description == nil {
4170		return ""
4171	}
4172	return *m.Description
4173}
4174
4175// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise.
4176func (m *Milestone) GetDueOn() time.Time {
4177	if m == nil || m.DueOn == nil {
4178		return time.Time{}
4179	}
4180	return *m.DueOn
4181}
4182
4183// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
4184func (m *Milestone) GetHTMLURL() string {
4185	if m == nil || m.HTMLURL == nil {
4186		return ""
4187	}
4188	return *m.HTMLURL
4189}
4190
4191// GetID returns the ID field if it's non-nil, zero value otherwise.
4192func (m *Milestone) GetID() int64 {
4193	if m == nil || m.ID == nil {
4194		return 0
4195	}
4196	return *m.ID
4197}
4198
4199// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise.
4200func (m *Milestone) GetLabelsURL() string {
4201	if m == nil || m.LabelsURL == nil {
4202		return ""
4203	}
4204	return *m.LabelsURL
4205}
4206
4207// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
4208func (m *Milestone) GetNodeID() string {
4209	if m == nil || m.NodeID == nil {
4210		return ""
4211	}
4212	return *m.NodeID
4213}
4214
4215// GetNumber returns the Number field if it's non-nil, zero value otherwise.
4216func (m *Milestone) GetNumber() int {
4217	if m == nil || m.Number == nil {
4218		return 0
4219	}
4220	return *m.Number
4221}
4222
4223// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise.
4224func (m *Milestone) GetOpenIssues() int {
4225	if m == nil || m.OpenIssues == nil {
4226		return 0
4227	}
4228	return *m.OpenIssues
4229}
4230
4231// GetState returns the State field if it's non-nil, zero value otherwise.
4232func (m *Milestone) GetState() string {
4233	if m == nil || m.State == nil {
4234		return ""
4235	}
4236	return *m.State
4237}
4238
4239// GetTitle returns the Title field if it's non-nil, zero value otherwise.
4240func (m *Milestone) GetTitle() string {
4241	if m == nil || m.Title == nil {
4242		return ""
4243	}
4244	return *m.Title
4245}
4246
4247// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
4248func (m *Milestone) GetUpdatedAt() time.Time {
4249	if m == nil || m.UpdatedAt == nil {
4250		return time.Time{}
4251	}
4252	return *m.UpdatedAt
4253}
4254
4255// GetURL returns the URL field if it's non-nil, zero value otherwise.
4256func (m *Milestone) GetURL() string {
4257	if m == nil || m.URL == nil {
4258		return ""
4259	}
4260	return *m.URL
4261}
4262
4263// GetAction returns the Action field if it's non-nil, zero value otherwise.
4264func (m *MilestoneEvent) GetAction() string {
4265	if m == nil || m.Action == nil {
4266		return ""
4267	}
4268	return *m.Action
4269}
4270
4271// GetChanges returns the Changes field.
4272func (m *MilestoneEvent) GetChanges() *EditChange {
4273	if m == nil {
4274		return nil
4275	}
4276	return m.Changes
4277}
4278
4279// GetInstallation returns the Installation field.
4280func (m *MilestoneEvent) GetInstallation() *Installation {
4281	if m == nil {
4282		return nil
4283	}
4284	return m.Installation
4285}
4286
4287// GetMilestone returns the Milestone field.
4288func (m *MilestoneEvent) GetMilestone() *Milestone {
4289	if m == nil {
4290		return nil
4291	}
4292	return m.Milestone
4293}
4294
4295// GetOrg returns the Org field.
4296func (m *MilestoneEvent) GetOrg() *Organization {
4297	if m == nil {
4298		return nil
4299	}
4300	return m.Org
4301}
4302
4303// GetRepo returns the Repo field.
4304func (m *MilestoneEvent) GetRepo() *Repository {
4305	if m == nil {
4306		return nil
4307	}
4308	return m.Repo
4309}
4310
4311// GetSender returns the Sender field.
4312func (m *MilestoneEvent) GetSender() *User {
4313	if m == nil {
4314		return nil
4315	}
4316	return m.Sender
4317}
4318
4319// GetClosedMilestones returns the ClosedMilestones field if it's non-nil, zero value otherwise.
4320func (m *MilestoneStats) GetClosedMilestones() int {
4321	if m == nil || m.ClosedMilestones == nil {
4322		return 0
4323	}
4324	return *m.ClosedMilestones
4325}
4326
4327// GetOpenMilestones returns the OpenMilestones field if it's non-nil, zero value otherwise.
4328func (m *MilestoneStats) GetOpenMilestones() int {
4329	if m == nil || m.OpenMilestones == nil {
4330		return 0
4331	}
4332	return *m.OpenMilestones
4333}
4334
4335// GetTotalMilestones returns the TotalMilestones field if it's non-nil, zero value otherwise.
4336func (m *MilestoneStats) GetTotalMilestones() int {
4337	if m == nil || m.TotalMilestones == nil {
4338		return 0
4339	}
4340	return *m.TotalMilestones
4341}
4342
4343// GetBase returns the Base field if it's non-nil, zero value otherwise.
4344func (n *NewPullRequest) GetBase() string {
4345	if n == nil || n.Base == nil {
4346		return ""
4347	}
4348	return *n.Base
4349}
4350
4351// GetBody returns the Body field if it's non-nil, zero value otherwise.
4352func (n *NewPullRequest) GetBody() string {
4353	if n == nil || n.Body == nil {
4354		return ""
4355	}
4356	return *n.Body
4357}
4358
4359// GetHead returns the Head field if it's non-nil, zero value otherwise.
4360func (n *NewPullRequest) GetHead() string {
4361	if n == nil || n.Head == nil {
4362		return ""
4363	}
4364	return *n.Head
4365}
4366
4367// GetIssue returns the Issue field if it's non-nil, zero value otherwise.
4368func (n *NewPullRequest) GetIssue() int {
4369	if n == nil || n.Issue == nil {
4370		return 0
4371	}
4372	return *n.Issue
4373}
4374
4375// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise.
4376func (n *NewPullRequest) GetMaintainerCanModify() bool {
4377	if n == nil || n.MaintainerCanModify == nil {
4378		return false
4379	}
4380	return *n.MaintainerCanModify
4381}
4382
4383// GetTitle returns the Title field if it's non-nil, zero value otherwise.
4384func (n *NewPullRequest) GetTitle() string {
4385	if n == nil || n.Title == nil {
4386		return ""
4387	}
4388	return *n.Title
4389}
4390
4391// GetDescription returns the Description field if it's non-nil, zero value otherwise.
4392func (n *NewTeam) GetDescription() string {
4393	if n == nil || n.Description == nil {
4394		return ""
4395	}
4396	return *n.Description
4397}
4398
4399// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise.
4400func (n *NewTeam) GetLDAPDN() string {
4401	if n == nil || n.LDAPDN == nil {
4402		return ""
4403	}
4404	return *n.LDAPDN
4405}
4406
4407// GetParentTeamID returns the ParentTeamID field if it's non-nil, zero value otherwise.
4408func (n *NewTeam) GetParentTeamID() int64 {
4409	if n == nil || n.ParentTeamID == nil {
4410		return 0
4411	}
4412	return *n.ParentTeamID
4413}
4414
4415// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
4416func (n *NewTeam) GetPermission() string {
4417	if n == nil || n.Permission == nil {
4418		return ""
4419	}
4420	return *n.Permission
4421}
4422
4423// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise.
4424func (n *NewTeam) GetPrivacy() string {
4425	if n == nil || n.Privacy == nil {
4426		return ""
4427	}
4428	return *n.Privacy
4429}
4430
4431// GetID returns the ID field if it's non-nil, zero value otherwise.
4432func (n *Notification) GetID() string {
4433	if n == nil || n.ID == nil {
4434		return ""
4435	}
4436	return *n.ID
4437}
4438
4439// GetLastReadAt returns the LastReadAt field if it's non-nil, zero value otherwise.
4440func (n *Notification) GetLastReadAt() time.Time {
4441	if n == nil || n.LastReadAt == nil {
4442		return time.Time{}
4443	}
4444	return *n.LastReadAt
4445}
4446
4447// GetReason returns the Reason field if it's non-nil, zero value otherwise.
4448func (n *Notification) GetReason() string {
4449	if n == nil || n.Reason == nil {
4450		return ""
4451	}
4452	return *n.Reason
4453}
4454
4455// GetRepository returns the Repository field.
4456func (n *Notification) GetRepository() *Repository {
4457	if n == nil {
4458		return nil
4459	}
4460	return n.Repository
4461}
4462
4463// GetSubject returns the Subject field.
4464func (n *Notification) GetSubject() *NotificationSubject {
4465	if n == nil {
4466		return nil
4467	}
4468	return n.Subject
4469}
4470
4471// GetUnread returns the Unread field if it's non-nil, zero value otherwise.
4472func (n *Notification) GetUnread() bool {
4473	if n == nil || n.Unread == nil {
4474		return false
4475	}
4476	return *n.Unread
4477}
4478
4479// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
4480func (n *Notification) GetUpdatedAt() time.Time {
4481	if n == nil || n.UpdatedAt == nil {
4482		return time.Time{}
4483	}
4484	return *n.UpdatedAt
4485}
4486
4487// GetURL returns the URL field if it's non-nil, zero value otherwise.
4488func (n *Notification) GetURL() string {
4489	if n == nil || n.URL == nil {
4490		return ""
4491	}
4492	return *n.URL
4493}
4494
4495// GetLatestCommentURL returns the LatestCommentURL field if it's non-nil, zero value otherwise.
4496func (n *NotificationSubject) GetLatestCommentURL() string {
4497	if n == nil || n.LatestCommentURL == nil {
4498		return ""
4499	}
4500	return *n.LatestCommentURL
4501}
4502
4503// GetTitle returns the Title field if it's non-nil, zero value otherwise.
4504func (n *NotificationSubject) GetTitle() string {
4505	if n == nil || n.Title == nil {
4506		return ""
4507	}
4508	return *n.Title
4509}
4510
4511// GetType returns the Type field if it's non-nil, zero value otherwise.
4512func (n *NotificationSubject) GetType() string {
4513	if n == nil || n.Type == nil {
4514		return ""
4515	}
4516	return *n.Type
4517}
4518
4519// GetURL returns the URL field if it's non-nil, zero value otherwise.
4520func (n *NotificationSubject) GetURL() string {
4521	if n == nil || n.URL == nil {
4522		return ""
4523	}
4524	return *n.URL
4525}
4526
4527// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise.
4528func (o *Organization) GetAvatarURL() string {
4529	if o == nil || o.AvatarURL == nil {
4530		return ""
4531	}
4532	return *o.AvatarURL
4533}
4534
4535// GetBillingEmail returns the BillingEmail field if it's non-nil, zero value otherwise.
4536func (o *Organization) GetBillingEmail() string {
4537	if o == nil || o.BillingEmail == nil {
4538		return ""
4539	}
4540	return *o.BillingEmail
4541}
4542
4543// GetBlog returns the Blog field if it's non-nil, zero value otherwise.
4544func (o *Organization) GetBlog() string {
4545	if o == nil || o.Blog == nil {
4546		return ""
4547	}
4548	return *o.Blog
4549}
4550
4551// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise.
4552func (o *Organization) GetCollaborators() int {
4553	if o == nil || o.Collaborators == nil {
4554		return 0
4555	}
4556	return *o.Collaborators
4557}
4558
4559// GetCompany returns the Company field if it's non-nil, zero value otherwise.
4560func (o *Organization) GetCompany() string {
4561	if o == nil || o.Company == nil {
4562		return ""
4563	}
4564	return *o.Company
4565}
4566
4567// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
4568func (o *Organization) GetCreatedAt() time.Time {
4569	if o == nil || o.CreatedAt == nil {
4570		return time.Time{}
4571	}
4572	return *o.CreatedAt
4573}
4574
4575// GetDescription returns the Description field if it's non-nil, zero value otherwise.
4576func (o *Organization) GetDescription() string {
4577	if o == nil || o.Description == nil {
4578		return ""
4579	}
4580	return *o.Description
4581}
4582
4583// GetDiskUsage returns the DiskUsage field if it's non-nil, zero value otherwise.
4584func (o *Organization) GetDiskUsage() int {
4585	if o == nil || o.DiskUsage == nil {
4586		return 0
4587	}
4588	return *o.DiskUsage
4589}
4590
4591// GetEmail returns the Email field if it's non-nil, zero value otherwise.
4592func (o *Organization) GetEmail() string {
4593	if o == nil || o.Email == nil {
4594		return ""
4595	}
4596	return *o.Email
4597}
4598
4599// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
4600func (o *Organization) GetEventsURL() string {
4601	if o == nil || o.EventsURL == nil {
4602		return ""
4603	}
4604	return *o.EventsURL
4605}
4606
4607// GetFollowers returns the Followers field if it's non-nil, zero value otherwise.
4608func (o *Organization) GetFollowers() int {
4609	if o == nil || o.Followers == nil {
4610		return 0
4611	}
4612	return *o.Followers
4613}
4614
4615// GetFollowing returns the Following field if it's non-nil, zero value otherwise.
4616func (o *Organization) GetFollowing() int {
4617	if o == nil || o.Following == nil {
4618		return 0
4619	}
4620	return *o.Following
4621}
4622
4623// GetHooksURL returns the HooksURL field if it's non-nil, zero value otherwise.
4624func (o *Organization) GetHooksURL() string {
4625	if o == nil || o.HooksURL == nil {
4626		return ""
4627	}
4628	return *o.HooksURL
4629}
4630
4631// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
4632func (o *Organization) GetHTMLURL() string {
4633	if o == nil || o.HTMLURL == nil {
4634		return ""
4635	}
4636	return *o.HTMLURL
4637}
4638
4639// GetID returns the ID field if it's non-nil, zero value otherwise.
4640func (o *Organization) GetID() int64 {
4641	if o == nil || o.ID == nil {
4642		return 0
4643	}
4644	return *o.ID
4645}
4646
4647// GetIssuesURL returns the IssuesURL field if it's non-nil, zero value otherwise.
4648func (o *Organization) GetIssuesURL() string {
4649	if o == nil || o.IssuesURL == nil {
4650		return ""
4651	}
4652	return *o.IssuesURL
4653}
4654
4655// GetLocation returns the Location field if it's non-nil, zero value otherwise.
4656func (o *Organization) GetLocation() string {
4657	if o == nil || o.Location == nil {
4658		return ""
4659	}
4660	return *o.Location
4661}
4662
4663// GetLogin returns the Login field if it's non-nil, zero value otherwise.
4664func (o *Organization) GetLogin() string {
4665	if o == nil || o.Login == nil {
4666		return ""
4667	}
4668	return *o.Login
4669}
4670
4671// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise.
4672func (o *Organization) GetMembersURL() string {
4673	if o == nil || o.MembersURL == nil {
4674		return ""
4675	}
4676	return *o.MembersURL
4677}
4678
4679// GetName returns the Name field if it's non-nil, zero value otherwise.
4680func (o *Organization) GetName() string {
4681	if o == nil || o.Name == nil {
4682		return ""
4683	}
4684	return *o.Name
4685}
4686
4687// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
4688func (o *Organization) GetNodeID() string {
4689	if o == nil || o.NodeID == nil {
4690		return ""
4691	}
4692	return *o.NodeID
4693}
4694
4695// GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise.
4696func (o *Organization) GetOwnedPrivateRepos() int {
4697	if o == nil || o.OwnedPrivateRepos == nil {
4698		return 0
4699	}
4700	return *o.OwnedPrivateRepos
4701}
4702
4703// GetPlan returns the Plan field.
4704func (o *Organization) GetPlan() *Plan {
4705	if o == nil {
4706		return nil
4707	}
4708	return o.Plan
4709}
4710
4711// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise.
4712func (o *Organization) GetPrivateGists() int {
4713	if o == nil || o.PrivateGists == nil {
4714		return 0
4715	}
4716	return *o.PrivateGists
4717}
4718
4719// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise.
4720func (o *Organization) GetPublicGists() int {
4721	if o == nil || o.PublicGists == nil {
4722		return 0
4723	}
4724	return *o.PublicGists
4725}
4726
4727// GetPublicMembersURL returns the PublicMembersURL field if it's non-nil, zero value otherwise.
4728func (o *Organization) GetPublicMembersURL() string {
4729	if o == nil || o.PublicMembersURL == nil {
4730		return ""
4731	}
4732	return *o.PublicMembersURL
4733}
4734
4735// GetPublicRepos returns the PublicRepos field if it's non-nil, zero value otherwise.
4736func (o *Organization) GetPublicRepos() int {
4737	if o == nil || o.PublicRepos == nil {
4738		return 0
4739	}
4740	return *o.PublicRepos
4741}
4742
4743// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise.
4744func (o *Organization) GetReposURL() string {
4745	if o == nil || o.ReposURL == nil {
4746		return ""
4747	}
4748	return *o.ReposURL
4749}
4750
4751// GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise.
4752func (o *Organization) GetTotalPrivateRepos() int {
4753	if o == nil || o.TotalPrivateRepos == nil {
4754		return 0
4755	}
4756	return *o.TotalPrivateRepos
4757}
4758
4759// GetType returns the Type field if it's non-nil, zero value otherwise.
4760func (o *Organization) GetType() string {
4761	if o == nil || o.Type == nil {
4762		return ""
4763	}
4764	return *o.Type
4765}
4766
4767// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
4768func (o *Organization) GetUpdatedAt() time.Time {
4769	if o == nil || o.UpdatedAt == nil {
4770		return time.Time{}
4771	}
4772	return *o.UpdatedAt
4773}
4774
4775// GetURL returns the URL field if it's non-nil, zero value otherwise.
4776func (o *Organization) GetURL() string {
4777	if o == nil || o.URL == nil {
4778		return ""
4779	}
4780	return *o.URL
4781}
4782
4783// GetAction returns the Action field if it's non-nil, zero value otherwise.
4784func (o *OrganizationEvent) GetAction() string {
4785	if o == nil || o.Action == nil {
4786		return ""
4787	}
4788	return *o.Action
4789}
4790
4791// GetInstallation returns the Installation field.
4792func (o *OrganizationEvent) GetInstallation() *Installation {
4793	if o == nil {
4794		return nil
4795	}
4796	return o.Installation
4797}
4798
4799// GetInvitation returns the Invitation field.
4800func (o *OrganizationEvent) GetInvitation() *Invitation {
4801	if o == nil {
4802		return nil
4803	}
4804	return o.Invitation
4805}
4806
4807// GetMembership returns the Membership field.
4808func (o *OrganizationEvent) GetMembership() *Membership {
4809	if o == nil {
4810		return nil
4811	}
4812	return o.Membership
4813}
4814
4815// GetOrganization returns the Organization field.
4816func (o *OrganizationEvent) GetOrganization() *Organization {
4817	if o == nil {
4818		return nil
4819	}
4820	return o.Organization
4821}
4822
4823// GetSender returns the Sender field.
4824func (o *OrganizationEvent) GetSender() *User {
4825	if o == nil {
4826		return nil
4827	}
4828	return o.Sender
4829}
4830
4831// GetAction returns the Action field if it's non-nil, zero value otherwise.
4832func (o *OrgBlockEvent) GetAction() string {
4833	if o == nil || o.Action == nil {
4834		return ""
4835	}
4836	return *o.Action
4837}
4838
4839// GetBlockedUser returns the BlockedUser field.
4840func (o *OrgBlockEvent) GetBlockedUser() *User {
4841	if o == nil {
4842		return nil
4843	}
4844	return o.BlockedUser
4845}
4846
4847// GetInstallation returns the Installation field.
4848func (o *OrgBlockEvent) GetInstallation() *Installation {
4849	if o == nil {
4850		return nil
4851	}
4852	return o.Installation
4853}
4854
4855// GetOrganization returns the Organization field.
4856func (o *OrgBlockEvent) GetOrganization() *Organization {
4857	if o == nil {
4858		return nil
4859	}
4860	return o.Organization
4861}
4862
4863// GetSender returns the Sender field.
4864func (o *OrgBlockEvent) GetSender() *User {
4865	if o == nil {
4866		return nil
4867	}
4868	return o.Sender
4869}
4870
4871// GetDisabledOrgs returns the DisabledOrgs field if it's non-nil, zero value otherwise.
4872func (o *OrgStats) GetDisabledOrgs() int {
4873	if o == nil || o.DisabledOrgs == nil {
4874		return 0
4875	}
4876	return *o.DisabledOrgs
4877}
4878
4879// GetTotalOrgs returns the TotalOrgs field if it's non-nil, zero value otherwise.
4880func (o *OrgStats) GetTotalOrgs() int {
4881	if o == nil || o.TotalOrgs == nil {
4882		return 0
4883	}
4884	return *o.TotalOrgs
4885}
4886
4887// GetTotalTeamMembers returns the TotalTeamMembers field if it's non-nil, zero value otherwise.
4888func (o *OrgStats) GetTotalTeamMembers() int {
4889	if o == nil || o.TotalTeamMembers == nil {
4890		return 0
4891	}
4892	return *o.TotalTeamMembers
4893}
4894
4895// GetTotalTeams returns the TotalTeams field if it's non-nil, zero value otherwise.
4896func (o *OrgStats) GetTotalTeams() int {
4897	if o == nil || o.TotalTeams == nil {
4898		return 0
4899	}
4900	return *o.TotalTeams
4901}
4902
4903// GetAction returns the Action field if it's non-nil, zero value otherwise.
4904func (p *Page) GetAction() string {
4905	if p == nil || p.Action == nil {
4906		return ""
4907	}
4908	return *p.Action
4909}
4910
4911// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
4912func (p *Page) GetHTMLURL() string {
4913	if p == nil || p.HTMLURL == nil {
4914		return ""
4915	}
4916	return *p.HTMLURL
4917}
4918
4919// GetPageName returns the PageName field if it's non-nil, zero value otherwise.
4920func (p *Page) GetPageName() string {
4921	if p == nil || p.PageName == nil {
4922		return ""
4923	}
4924	return *p.PageName
4925}
4926
4927// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
4928func (p *Page) GetSHA() string {
4929	if p == nil || p.SHA == nil {
4930		return ""
4931	}
4932	return *p.SHA
4933}
4934
4935// GetSummary returns the Summary field if it's non-nil, zero value otherwise.
4936func (p *Page) GetSummary() string {
4937	if p == nil || p.Summary == nil {
4938		return ""
4939	}
4940	return *p.Summary
4941}
4942
4943// GetTitle returns the Title field if it's non-nil, zero value otherwise.
4944func (p *Page) GetTitle() string {
4945	if p == nil || p.Title == nil {
4946		return ""
4947	}
4948	return *p.Title
4949}
4950
4951// GetBuild returns the Build field.
4952func (p *PageBuildEvent) GetBuild() *PagesBuild {
4953	if p == nil {
4954		return nil
4955	}
4956	return p.Build
4957}
4958
4959// GetID returns the ID field if it's non-nil, zero value otherwise.
4960func (p *PageBuildEvent) GetID() int64 {
4961	if p == nil || p.ID == nil {
4962		return 0
4963	}
4964	return *p.ID
4965}
4966
4967// GetInstallation returns the Installation field.
4968func (p *PageBuildEvent) GetInstallation() *Installation {
4969	if p == nil {
4970		return nil
4971	}
4972	return p.Installation
4973}
4974
4975// GetRepo returns the Repo field.
4976func (p *PageBuildEvent) GetRepo() *Repository {
4977	if p == nil {
4978		return nil
4979	}
4980	return p.Repo
4981}
4982
4983// GetSender returns the Sender field.
4984func (p *PageBuildEvent) GetSender() *User {
4985	if p == nil {
4986		return nil
4987	}
4988	return p.Sender
4989}
4990
4991// GetCNAME returns the CNAME field if it's non-nil, zero value otherwise.
4992func (p *Pages) GetCNAME() string {
4993	if p == nil || p.CNAME == nil {
4994		return ""
4995	}
4996	return *p.CNAME
4997}
4998
4999// GetCustom404 returns the Custom404 field if it's non-nil, zero value otherwise.
5000func (p *Pages) GetCustom404() bool {
5001	if p == nil || p.Custom404 == nil {
5002		return false
5003	}
5004	return *p.Custom404
5005}
5006
5007// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
5008func (p *Pages) GetHTMLURL() string {
5009	if p == nil || p.HTMLURL == nil {
5010		return ""
5011	}
5012	return *p.HTMLURL
5013}
5014
5015// GetStatus returns the Status field if it's non-nil, zero value otherwise.
5016func (p *Pages) GetStatus() string {
5017	if p == nil || p.Status == nil {
5018		return ""
5019	}
5020	return *p.Status
5021}
5022
5023// GetURL returns the URL field if it's non-nil, zero value otherwise.
5024func (p *Pages) GetURL() string {
5025	if p == nil || p.URL == nil {
5026		return ""
5027	}
5028	return *p.URL
5029}
5030
5031// GetCommit returns the Commit field if it's non-nil, zero value otherwise.
5032func (p *PagesBuild) GetCommit() string {
5033	if p == nil || p.Commit == nil {
5034		return ""
5035	}
5036	return *p.Commit
5037}
5038
5039// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
5040func (p *PagesBuild) GetCreatedAt() Timestamp {
5041	if p == nil || p.CreatedAt == nil {
5042		return Timestamp{}
5043	}
5044	return *p.CreatedAt
5045}
5046
5047// GetDuration returns the Duration field if it's non-nil, zero value otherwise.
5048func (p *PagesBuild) GetDuration() int {
5049	if p == nil || p.Duration == nil {
5050		return 0
5051	}
5052	return *p.Duration
5053}
5054
5055// GetError returns the Error field.
5056func (p *PagesBuild) GetError() *PagesError {
5057	if p == nil {
5058		return nil
5059	}
5060	return p.Error
5061}
5062
5063// GetPusher returns the Pusher field.
5064func (p *PagesBuild) GetPusher() *User {
5065	if p == nil {
5066		return nil
5067	}
5068	return p.Pusher
5069}
5070
5071// GetStatus returns the Status field if it's non-nil, zero value otherwise.
5072func (p *PagesBuild) GetStatus() string {
5073	if p == nil || p.Status == nil {
5074		return ""
5075	}
5076	return *p.Status
5077}
5078
5079// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
5080func (p *PagesBuild) GetUpdatedAt() Timestamp {
5081	if p == nil || p.UpdatedAt == nil {
5082		return Timestamp{}
5083	}
5084	return *p.UpdatedAt
5085}
5086
5087// GetURL returns the URL field if it's non-nil, zero value otherwise.
5088func (p *PagesBuild) GetURL() string {
5089	if p == nil || p.URL == nil {
5090		return ""
5091	}
5092	return *p.URL
5093}
5094
5095// GetMessage returns the Message field if it's non-nil, zero value otherwise.
5096func (p *PagesError) GetMessage() string {
5097	if p == nil || p.Message == nil {
5098		return ""
5099	}
5100	return *p.Message
5101}
5102
5103// GetTotalPages returns the TotalPages field if it's non-nil, zero value otherwise.
5104func (p *PageStats) GetTotalPages() int {
5105	if p == nil || p.TotalPages == nil {
5106		return 0
5107	}
5108	return *p.TotalPages
5109}
5110
5111// GetHook returns the Hook field.
5112func (p *PingEvent) GetHook() *Hook {
5113	if p == nil {
5114		return nil
5115	}
5116	return p.Hook
5117}
5118
5119// GetHookID returns the HookID field if it's non-nil, zero value otherwise.
5120func (p *PingEvent) GetHookID() int64 {
5121	if p == nil || p.HookID == nil {
5122		return 0
5123	}
5124	return *p.HookID
5125}
5126
5127// GetInstallation returns the Installation field.
5128func (p *PingEvent) GetInstallation() *Installation {
5129	if p == nil {
5130		return nil
5131	}
5132	return p.Installation
5133}
5134
5135// GetZen returns the Zen field if it's non-nil, zero value otherwise.
5136func (p *PingEvent) GetZen() string {
5137	if p == nil || p.Zen == nil {
5138		return ""
5139	}
5140	return *p.Zen
5141}
5142
5143// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise.
5144func (p *Plan) GetCollaborators() int {
5145	if p == nil || p.Collaborators == nil {
5146		return 0
5147	}
5148	return *p.Collaborators
5149}
5150
5151// GetName returns the Name field if it's non-nil, zero value otherwise.
5152func (p *Plan) GetName() string {
5153	if p == nil || p.Name == nil {
5154		return ""
5155	}
5156	return *p.Name
5157}
5158
5159// GetPrivateRepos returns the PrivateRepos field if it's non-nil, zero value otherwise.
5160func (p *Plan) GetPrivateRepos() int {
5161	if p == nil || p.PrivateRepos == nil {
5162		return 0
5163	}
5164	return *p.PrivateRepos
5165}
5166
5167// GetSpace returns the Space field if it's non-nil, zero value otherwise.
5168func (p *Plan) GetSpace() int {
5169	if p == nil || p.Space == nil {
5170		return 0
5171	}
5172	return *p.Space
5173}
5174
5175// GetBody returns the Body field if it's non-nil, zero value otherwise.
5176func (p *Project) GetBody() string {
5177	if p == nil || p.Body == nil {
5178		return ""
5179	}
5180	return *p.Body
5181}
5182
5183// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
5184func (p *Project) GetCreatedAt() Timestamp {
5185	if p == nil || p.CreatedAt == nil {
5186		return Timestamp{}
5187	}
5188	return *p.CreatedAt
5189}
5190
5191// GetCreator returns the Creator field.
5192func (p *Project) GetCreator() *User {
5193	if p == nil {
5194		return nil
5195	}
5196	return p.Creator
5197}
5198
5199// GetID returns the ID field if it's non-nil, zero value otherwise.
5200func (p *Project) GetID() int64 {
5201	if p == nil || p.ID == nil {
5202		return 0
5203	}
5204	return *p.ID
5205}
5206
5207// GetName returns the Name field if it's non-nil, zero value otherwise.
5208func (p *Project) GetName() string {
5209	if p == nil || p.Name == nil {
5210		return ""
5211	}
5212	return *p.Name
5213}
5214
5215// GetNumber returns the Number field if it's non-nil, zero value otherwise.
5216func (p *Project) GetNumber() int {
5217	if p == nil || p.Number == nil {
5218		return 0
5219	}
5220	return *p.Number
5221}
5222
5223// GetOwnerURL returns the OwnerURL field if it's non-nil, zero value otherwise.
5224func (p *Project) GetOwnerURL() string {
5225	if p == nil || p.OwnerURL == nil {
5226		return ""
5227	}
5228	return *p.OwnerURL
5229}
5230
5231// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
5232func (p *Project) GetUpdatedAt() Timestamp {
5233	if p == nil || p.UpdatedAt == nil {
5234		return Timestamp{}
5235	}
5236	return *p.UpdatedAt
5237}
5238
5239// GetURL returns the URL field if it's non-nil, zero value otherwise.
5240func (p *Project) GetURL() string {
5241	if p == nil || p.URL == nil {
5242		return ""
5243	}
5244	return *p.URL
5245}
5246
5247// GetColumnID returns the ColumnID field if it's non-nil, zero value otherwise.
5248func (p *ProjectCard) GetColumnID() int64 {
5249	if p == nil || p.ColumnID == nil {
5250		return 0
5251	}
5252	return *p.ColumnID
5253}
5254
5255// GetColumnURL returns the ColumnURL field if it's non-nil, zero value otherwise.
5256func (p *ProjectCard) GetColumnURL() string {
5257	if p == nil || p.ColumnURL == nil {
5258		return ""
5259	}
5260	return *p.ColumnURL
5261}
5262
5263// GetContentURL returns the ContentURL field if it's non-nil, zero value otherwise.
5264func (p *ProjectCard) GetContentURL() string {
5265	if p == nil || p.ContentURL == nil {
5266		return ""
5267	}
5268	return *p.ContentURL
5269}
5270
5271// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
5272func (p *ProjectCard) GetCreatedAt() Timestamp {
5273	if p == nil || p.CreatedAt == nil {
5274		return Timestamp{}
5275	}
5276	return *p.CreatedAt
5277}
5278
5279// GetCreator returns the Creator field.
5280func (p *ProjectCard) GetCreator() *User {
5281	if p == nil {
5282		return nil
5283	}
5284	return p.Creator
5285}
5286
5287// GetID returns the ID field if it's non-nil, zero value otherwise.
5288func (p *ProjectCard) GetID() int64 {
5289	if p == nil || p.ID == nil {
5290		return 0
5291	}
5292	return *p.ID
5293}
5294
5295// GetNote returns the Note field if it's non-nil, zero value otherwise.
5296func (p *ProjectCard) GetNote() string {
5297	if p == nil || p.Note == nil {
5298		return ""
5299	}
5300	return *p.Note
5301}
5302
5303// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
5304func (p *ProjectCard) GetUpdatedAt() Timestamp {
5305	if p == nil || p.UpdatedAt == nil {
5306		return Timestamp{}
5307	}
5308	return *p.UpdatedAt
5309}
5310
5311// GetURL returns the URL field if it's non-nil, zero value otherwise.
5312func (p *ProjectCard) GetURL() string {
5313	if p == nil || p.URL == nil {
5314		return ""
5315	}
5316	return *p.URL
5317}
5318
5319// GetAction returns the Action field if it's non-nil, zero value otherwise.
5320func (p *ProjectCardEvent) GetAction() string {
5321	if p == nil || p.Action == nil {
5322		return ""
5323	}
5324	return *p.Action
5325}
5326
5327// GetAfterID returns the AfterID field if it's non-nil, zero value otherwise.
5328func (p *ProjectCardEvent) GetAfterID() int64 {
5329	if p == nil || p.AfterID == nil {
5330		return 0
5331	}
5332	return *p.AfterID
5333}
5334
5335// GetChanges returns the Changes field.
5336func (p *ProjectCardEvent) GetChanges() *ProjectCardChange {
5337	if p == nil {
5338		return nil
5339	}
5340	return p.Changes
5341}
5342
5343// GetInstallation returns the Installation field.
5344func (p *ProjectCardEvent) GetInstallation() *Installation {
5345	if p == nil {
5346		return nil
5347	}
5348	return p.Installation
5349}
5350
5351// GetOrg returns the Org field.
5352func (p *ProjectCardEvent) GetOrg() *Organization {
5353	if p == nil {
5354		return nil
5355	}
5356	return p.Org
5357}
5358
5359// GetProjectCard returns the ProjectCard field.
5360func (p *ProjectCardEvent) GetProjectCard() *ProjectCard {
5361	if p == nil {
5362		return nil
5363	}
5364	return p.ProjectCard
5365}
5366
5367// GetRepo returns the Repo field.
5368func (p *ProjectCardEvent) GetRepo() *Repository {
5369	if p == nil {
5370		return nil
5371	}
5372	return p.Repo
5373}
5374
5375// GetSender returns the Sender field.
5376func (p *ProjectCardEvent) GetSender() *User {
5377	if p == nil {
5378		return nil
5379	}
5380	return p.Sender
5381}
5382
5383// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
5384func (p *ProjectColumn) GetCreatedAt() Timestamp {
5385	if p == nil || p.CreatedAt == nil {
5386		return Timestamp{}
5387	}
5388	return *p.CreatedAt
5389}
5390
5391// GetID returns the ID field if it's non-nil, zero value otherwise.
5392func (p *ProjectColumn) GetID() int64 {
5393	if p == nil || p.ID == nil {
5394		return 0
5395	}
5396	return *p.ID
5397}
5398
5399// GetName returns the Name field if it's non-nil, zero value otherwise.
5400func (p *ProjectColumn) GetName() string {
5401	if p == nil || p.Name == nil {
5402		return ""
5403	}
5404	return *p.Name
5405}
5406
5407// GetProjectURL returns the ProjectURL field if it's non-nil, zero value otherwise.
5408func (p *ProjectColumn) GetProjectURL() string {
5409	if p == nil || p.ProjectURL == nil {
5410		return ""
5411	}
5412	return *p.ProjectURL
5413}
5414
5415// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
5416func (p *ProjectColumn) GetUpdatedAt() Timestamp {
5417	if p == nil || p.UpdatedAt == nil {
5418		return Timestamp{}
5419	}
5420	return *p.UpdatedAt
5421}
5422
5423// GetAction returns the Action field if it's non-nil, zero value otherwise.
5424func (p *ProjectColumnEvent) GetAction() string {
5425	if p == nil || p.Action == nil {
5426		return ""
5427	}
5428	return *p.Action
5429}
5430
5431// GetAfterID returns the AfterID field if it's non-nil, zero value otherwise.
5432func (p *ProjectColumnEvent) GetAfterID() int64 {
5433	if p == nil || p.AfterID == nil {
5434		return 0
5435	}
5436	return *p.AfterID
5437}
5438
5439// GetChanges returns the Changes field.
5440func (p *ProjectColumnEvent) GetChanges() *ProjectColumnChange {
5441	if p == nil {
5442		return nil
5443	}
5444	return p.Changes
5445}
5446
5447// GetInstallation returns the Installation field.
5448func (p *ProjectColumnEvent) GetInstallation() *Installation {
5449	if p == nil {
5450		return nil
5451	}
5452	return p.Installation
5453}
5454
5455// GetOrg returns the Org field.
5456func (p *ProjectColumnEvent) GetOrg() *Organization {
5457	if p == nil {
5458		return nil
5459	}
5460	return p.Org
5461}
5462
5463// GetProjectColumn returns the ProjectColumn field.
5464func (p *ProjectColumnEvent) GetProjectColumn() *ProjectColumn {
5465	if p == nil {
5466		return nil
5467	}
5468	return p.ProjectColumn
5469}
5470
5471// GetRepo returns the Repo field.
5472func (p *ProjectColumnEvent) GetRepo() *Repository {
5473	if p == nil {
5474		return nil
5475	}
5476	return p.Repo
5477}
5478
5479// GetSender returns the Sender field.
5480func (p *ProjectColumnEvent) GetSender() *User {
5481	if p == nil {
5482		return nil
5483	}
5484	return p.Sender
5485}
5486
5487// GetAction returns the Action field if it's non-nil, zero value otherwise.
5488func (p *ProjectEvent) GetAction() string {
5489	if p == nil || p.Action == nil {
5490		return ""
5491	}
5492	return *p.Action
5493}
5494
5495// GetChanges returns the Changes field.
5496func (p *ProjectEvent) GetChanges() *ProjectChange {
5497	if p == nil {
5498		return nil
5499	}
5500	return p.Changes
5501}
5502
5503// GetInstallation returns the Installation field.
5504func (p *ProjectEvent) GetInstallation() *Installation {
5505	if p == nil {
5506		return nil
5507	}
5508	return p.Installation
5509}
5510
5511// GetOrg returns the Org field.
5512func (p *ProjectEvent) GetOrg() *Organization {
5513	if p == nil {
5514		return nil
5515	}
5516	return p.Org
5517}
5518
5519// GetProject returns the Project field.
5520func (p *ProjectEvent) GetProject() *Project {
5521	if p == nil {
5522		return nil
5523	}
5524	return p.Project
5525}
5526
5527// GetRepo returns the Repo field.
5528func (p *ProjectEvent) GetRepo() *Repository {
5529	if p == nil {
5530		return nil
5531	}
5532	return p.Repo
5533}
5534
5535// GetSender returns the Sender field.
5536func (p *ProjectEvent) GetSender() *User {
5537	if p == nil {
5538		return nil
5539	}
5540	return p.Sender
5541}
5542
5543// GetEnforceAdmins returns the EnforceAdmins field.
5544func (p *Protection) GetEnforceAdmins() *AdminEnforcement {
5545	if p == nil {
5546		return nil
5547	}
5548	return p.EnforceAdmins
5549}
5550
5551// GetRequiredPullRequestReviews returns the RequiredPullRequestReviews field.
5552func (p *Protection) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcement {
5553	if p == nil {
5554		return nil
5555	}
5556	return p.RequiredPullRequestReviews
5557}
5558
5559// GetRequiredStatusChecks returns the RequiredStatusChecks field.
5560func (p *Protection) GetRequiredStatusChecks() *RequiredStatusChecks {
5561	if p == nil {
5562		return nil
5563	}
5564	return p.RequiredStatusChecks
5565}
5566
5567// GetRestrictions returns the Restrictions field.
5568func (p *Protection) GetRestrictions() *BranchRestrictions {
5569	if p == nil {
5570		return nil
5571	}
5572	return p.Restrictions
5573}
5574
5575// GetRequiredPullRequestReviews returns the RequiredPullRequestReviews field.
5576func (p *ProtectionRequest) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcementRequest {
5577	if p == nil {
5578		return nil
5579	}
5580	return p.RequiredPullRequestReviews
5581}
5582
5583// GetRequiredStatusChecks returns the RequiredStatusChecks field.
5584func (p *ProtectionRequest) GetRequiredStatusChecks() *RequiredStatusChecks {
5585	if p == nil {
5586		return nil
5587	}
5588	return p.RequiredStatusChecks
5589}
5590
5591// GetRestrictions returns the Restrictions field.
5592func (p *ProtectionRequest) GetRestrictions() *BranchRestrictionsRequest {
5593	if p == nil {
5594		return nil
5595	}
5596	return p.Restrictions
5597}
5598
5599// GetInstallation returns the Installation field.
5600func (p *PublicEvent) GetInstallation() *Installation {
5601	if p == nil {
5602		return nil
5603	}
5604	return p.Installation
5605}
5606
5607// GetRepo returns the Repo field.
5608func (p *PublicEvent) GetRepo() *Repository {
5609	if p == nil {
5610		return nil
5611	}
5612	return p.Repo
5613}
5614
5615// GetSender returns the Sender field.
5616func (p *PublicEvent) GetSender() *User {
5617	if p == nil {
5618		return nil
5619	}
5620	return p.Sender
5621}
5622
5623// GetAdditions returns the Additions field if it's non-nil, zero value otherwise.
5624func (p *PullRequest) GetAdditions() int {
5625	if p == nil || p.Additions == nil {
5626		return 0
5627	}
5628	return *p.Additions
5629}
5630
5631// GetAssignee returns the Assignee field.
5632func (p *PullRequest) GetAssignee() *User {
5633	if p == nil {
5634		return nil
5635	}
5636	return p.Assignee
5637}
5638
5639// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise.
5640func (p *PullRequest) GetAuthorAssociation() string {
5641	if p == nil || p.AuthorAssociation == nil {
5642		return ""
5643	}
5644	return *p.AuthorAssociation
5645}
5646
5647// GetBase returns the Base field.
5648func (p *PullRequest) GetBase() *PullRequestBranch {
5649	if p == nil {
5650		return nil
5651	}
5652	return p.Base
5653}
5654
5655// GetBody returns the Body field if it's non-nil, zero value otherwise.
5656func (p *PullRequest) GetBody() string {
5657	if p == nil || p.Body == nil {
5658		return ""
5659	}
5660	return *p.Body
5661}
5662
5663// GetChangedFiles returns the ChangedFiles field if it's non-nil, zero value otherwise.
5664func (p *PullRequest) GetChangedFiles() int {
5665	if p == nil || p.ChangedFiles == nil {
5666		return 0
5667	}
5668	return *p.ChangedFiles
5669}
5670
5671// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise.
5672func (p *PullRequest) GetClosedAt() time.Time {
5673	if p == nil || p.ClosedAt == nil {
5674		return time.Time{}
5675	}
5676	return *p.ClosedAt
5677}
5678
5679// GetComments returns the Comments field if it's non-nil, zero value otherwise.
5680func (p *PullRequest) GetComments() int {
5681	if p == nil || p.Comments == nil {
5682		return 0
5683	}
5684	return *p.Comments
5685}
5686
5687// GetCommits returns the Commits field if it's non-nil, zero value otherwise.
5688func (p *PullRequest) GetCommits() int {
5689	if p == nil || p.Commits == nil {
5690		return 0
5691	}
5692	return *p.Commits
5693}
5694
5695// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
5696func (p *PullRequest) GetCreatedAt() time.Time {
5697	if p == nil || p.CreatedAt == nil {
5698		return time.Time{}
5699	}
5700	return *p.CreatedAt
5701}
5702
5703// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise.
5704func (p *PullRequest) GetDeletions() int {
5705	if p == nil || p.Deletions == nil {
5706		return 0
5707	}
5708	return *p.Deletions
5709}
5710
5711// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise.
5712func (p *PullRequest) GetDiffURL() string {
5713	if p == nil || p.DiffURL == nil {
5714		return ""
5715	}
5716	return *p.DiffURL
5717}
5718
5719// GetHead returns the Head field.
5720func (p *PullRequest) GetHead() *PullRequestBranch {
5721	if p == nil {
5722		return nil
5723	}
5724	return p.Head
5725}
5726
5727// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
5728func (p *PullRequest) GetHTMLURL() string {
5729	if p == nil || p.HTMLURL == nil {
5730		return ""
5731	}
5732	return *p.HTMLURL
5733}
5734
5735// GetID returns the ID field if it's non-nil, zero value otherwise.
5736func (p *PullRequest) GetID() int64 {
5737	if p == nil || p.ID == nil {
5738		return 0
5739	}
5740	return *p.ID
5741}
5742
5743// GetIssueURL returns the IssueURL field if it's non-nil, zero value otherwise.
5744func (p *PullRequest) GetIssueURL() string {
5745	if p == nil || p.IssueURL == nil {
5746		return ""
5747	}
5748	return *p.IssueURL
5749}
5750
5751// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise.
5752func (p *PullRequest) GetMaintainerCanModify() bool {
5753	if p == nil || p.MaintainerCanModify == nil {
5754		return false
5755	}
5756	return *p.MaintainerCanModify
5757}
5758
5759// GetMergeable returns the Mergeable field if it's non-nil, zero value otherwise.
5760func (p *PullRequest) GetMergeable() bool {
5761	if p == nil || p.Mergeable == nil {
5762		return false
5763	}
5764	return *p.Mergeable
5765}
5766
5767// GetMergeableState returns the MergeableState field if it's non-nil, zero value otherwise.
5768func (p *PullRequest) GetMergeableState() string {
5769	if p == nil || p.MergeableState == nil {
5770		return ""
5771	}
5772	return *p.MergeableState
5773}
5774
5775// GetMergeCommitSHA returns the MergeCommitSHA field if it's non-nil, zero value otherwise.
5776func (p *PullRequest) GetMergeCommitSHA() string {
5777	if p == nil || p.MergeCommitSHA == nil {
5778		return ""
5779	}
5780	return *p.MergeCommitSHA
5781}
5782
5783// GetMerged returns the Merged field if it's non-nil, zero value otherwise.
5784func (p *PullRequest) GetMerged() bool {
5785	if p == nil || p.Merged == nil {
5786		return false
5787	}
5788	return *p.Merged
5789}
5790
5791// GetMergedAt returns the MergedAt field if it's non-nil, zero value otherwise.
5792func (p *PullRequest) GetMergedAt() time.Time {
5793	if p == nil || p.MergedAt == nil {
5794		return time.Time{}
5795	}
5796	return *p.MergedAt
5797}
5798
5799// GetMergedBy returns the MergedBy field.
5800func (p *PullRequest) GetMergedBy() *User {
5801	if p == nil {
5802		return nil
5803	}
5804	return p.MergedBy
5805}
5806
5807// GetMilestone returns the Milestone field.
5808func (p *PullRequest) GetMilestone() *Milestone {
5809	if p == nil {
5810		return nil
5811	}
5812	return p.Milestone
5813}
5814
5815// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
5816func (p *PullRequest) GetNodeID() string {
5817	if p == nil || p.NodeID == nil {
5818		return ""
5819	}
5820	return *p.NodeID
5821}
5822
5823// GetNumber returns the Number field if it's non-nil, zero value otherwise.
5824func (p *PullRequest) GetNumber() int {
5825	if p == nil || p.Number == nil {
5826		return 0
5827	}
5828	return *p.Number
5829}
5830
5831// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise.
5832func (p *PullRequest) GetPatchURL() string {
5833	if p == nil || p.PatchURL == nil {
5834		return ""
5835	}
5836	return *p.PatchURL
5837}
5838
5839// GetReviewCommentsURL returns the ReviewCommentsURL field if it's non-nil, zero value otherwise.
5840func (p *PullRequest) GetReviewCommentsURL() string {
5841	if p == nil || p.ReviewCommentsURL == nil {
5842		return ""
5843	}
5844	return *p.ReviewCommentsURL
5845}
5846
5847// GetReviewCommentURL returns the ReviewCommentURL field if it's non-nil, zero value otherwise.
5848func (p *PullRequest) GetReviewCommentURL() string {
5849	if p == nil || p.ReviewCommentURL == nil {
5850		return ""
5851	}
5852	return *p.ReviewCommentURL
5853}
5854
5855// GetState returns the State field if it's non-nil, zero value otherwise.
5856func (p *PullRequest) GetState() string {
5857	if p == nil || p.State == nil {
5858		return ""
5859	}
5860	return *p.State
5861}
5862
5863// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise.
5864func (p *PullRequest) GetStatusesURL() string {
5865	if p == nil || p.StatusesURL == nil {
5866		return ""
5867	}
5868	return *p.StatusesURL
5869}
5870
5871// GetTitle returns the Title field if it's non-nil, zero value otherwise.
5872func (p *PullRequest) GetTitle() string {
5873	if p == nil || p.Title == nil {
5874		return ""
5875	}
5876	return *p.Title
5877}
5878
5879// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
5880func (p *PullRequest) GetUpdatedAt() time.Time {
5881	if p == nil || p.UpdatedAt == nil {
5882		return time.Time{}
5883	}
5884	return *p.UpdatedAt
5885}
5886
5887// GetURL returns the URL field if it's non-nil, zero value otherwise.
5888func (p *PullRequest) GetURL() string {
5889	if p == nil || p.URL == nil {
5890		return ""
5891	}
5892	return *p.URL
5893}
5894
5895// GetUser returns the User field.
5896func (p *PullRequest) GetUser() *User {
5897	if p == nil {
5898		return nil
5899	}
5900	return p.User
5901}
5902
5903// GetLabel returns the Label field if it's non-nil, zero value otherwise.
5904func (p *PullRequestBranch) GetLabel() string {
5905	if p == nil || p.Label == nil {
5906		return ""
5907	}
5908	return *p.Label
5909}
5910
5911// GetRef returns the Ref field if it's non-nil, zero value otherwise.
5912func (p *PullRequestBranch) GetRef() string {
5913	if p == nil || p.Ref == nil {
5914		return ""
5915	}
5916	return *p.Ref
5917}
5918
5919// GetRepo returns the Repo field.
5920func (p *PullRequestBranch) GetRepo() *Repository {
5921	if p == nil {
5922		return nil
5923	}
5924	return p.Repo
5925}
5926
5927// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
5928func (p *PullRequestBranch) GetSHA() string {
5929	if p == nil || p.SHA == nil {
5930		return ""
5931	}
5932	return *p.SHA
5933}
5934
5935// GetUser returns the User field.
5936func (p *PullRequestBranch) GetUser() *User {
5937	if p == nil {
5938		return nil
5939	}
5940	return p.User
5941}
5942
5943// GetBody returns the Body field if it's non-nil, zero value otherwise.
5944func (p *PullRequestComment) GetBody() string {
5945	if p == nil || p.Body == nil {
5946		return ""
5947	}
5948	return *p.Body
5949}
5950
5951// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
5952func (p *PullRequestComment) GetCommitID() string {
5953	if p == nil || p.CommitID == nil {
5954		return ""
5955	}
5956	return *p.CommitID
5957}
5958
5959// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
5960func (p *PullRequestComment) GetCreatedAt() time.Time {
5961	if p == nil || p.CreatedAt == nil {
5962		return time.Time{}
5963	}
5964	return *p.CreatedAt
5965}
5966
5967// GetDiffHunk returns the DiffHunk field if it's non-nil, zero value otherwise.
5968func (p *PullRequestComment) GetDiffHunk() string {
5969	if p == nil || p.DiffHunk == nil {
5970		return ""
5971	}
5972	return *p.DiffHunk
5973}
5974
5975// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
5976func (p *PullRequestComment) GetHTMLURL() string {
5977	if p == nil || p.HTMLURL == nil {
5978		return ""
5979	}
5980	return *p.HTMLURL
5981}
5982
5983// GetID returns the ID field if it's non-nil, zero value otherwise.
5984func (p *PullRequestComment) GetID() int64 {
5985	if p == nil || p.ID == nil {
5986		return 0
5987	}
5988	return *p.ID
5989}
5990
5991// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise.
5992func (p *PullRequestComment) GetInReplyTo() int64 {
5993	if p == nil || p.InReplyTo == nil {
5994		return 0
5995	}
5996	return *p.InReplyTo
5997}
5998
5999// GetOriginalCommitID returns the OriginalCommitID field if it's non-nil, zero value otherwise.
6000func (p *PullRequestComment) GetOriginalCommitID() string {
6001	if p == nil || p.OriginalCommitID == nil {
6002		return ""
6003	}
6004	return *p.OriginalCommitID
6005}
6006
6007// GetOriginalPosition returns the OriginalPosition field if it's non-nil, zero value otherwise.
6008func (p *PullRequestComment) GetOriginalPosition() int {
6009	if p == nil || p.OriginalPosition == nil {
6010		return 0
6011	}
6012	return *p.OriginalPosition
6013}
6014
6015// GetPath returns the Path field if it's non-nil, zero value otherwise.
6016func (p *PullRequestComment) GetPath() string {
6017	if p == nil || p.Path == nil {
6018		return ""
6019	}
6020	return *p.Path
6021}
6022
6023// GetPosition returns the Position field if it's non-nil, zero value otherwise.
6024func (p *PullRequestComment) GetPosition() int {
6025	if p == nil || p.Position == nil {
6026		return 0
6027	}
6028	return *p.Position
6029}
6030
6031// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise.
6032func (p *PullRequestComment) GetPullRequestURL() string {
6033	if p == nil || p.PullRequestURL == nil {
6034		return ""
6035	}
6036	return *p.PullRequestURL
6037}
6038
6039// GetReactions returns the Reactions field.
6040func (p *PullRequestComment) GetReactions() *Reactions {
6041	if p == nil {
6042		return nil
6043	}
6044	return p.Reactions
6045}
6046
6047// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
6048func (p *PullRequestComment) GetUpdatedAt() time.Time {
6049	if p == nil || p.UpdatedAt == nil {
6050		return time.Time{}
6051	}
6052	return *p.UpdatedAt
6053}
6054
6055// GetURL returns the URL field if it's non-nil, zero value otherwise.
6056func (p *PullRequestComment) GetURL() string {
6057	if p == nil || p.URL == nil {
6058		return ""
6059	}
6060	return *p.URL
6061}
6062
6063// GetUser returns the User field.
6064func (p *PullRequestComment) GetUser() *User {
6065	if p == nil {
6066		return nil
6067	}
6068	return p.User
6069}
6070
6071// GetAction returns the Action field if it's non-nil, zero value otherwise.
6072func (p *PullRequestEvent) GetAction() string {
6073	if p == nil || p.Action == nil {
6074		return ""
6075	}
6076	return *p.Action
6077}
6078
6079// GetChanges returns the Changes field.
6080func (p *PullRequestEvent) GetChanges() *EditChange {
6081	if p == nil {
6082		return nil
6083	}
6084	return p.Changes
6085}
6086
6087// GetInstallation returns the Installation field.
6088func (p *PullRequestEvent) GetInstallation() *Installation {
6089	if p == nil {
6090		return nil
6091	}
6092	return p.Installation
6093}
6094
6095// GetNumber returns the Number field if it's non-nil, zero value otherwise.
6096func (p *PullRequestEvent) GetNumber() int {
6097	if p == nil || p.Number == nil {
6098		return 0
6099	}
6100	return *p.Number
6101}
6102
6103// GetPullRequest returns the PullRequest field.
6104func (p *PullRequestEvent) GetPullRequest() *PullRequest {
6105	if p == nil {
6106		return nil
6107	}
6108	return p.PullRequest
6109}
6110
6111// GetRepo returns the Repo field.
6112func (p *PullRequestEvent) GetRepo() *Repository {
6113	if p == nil {
6114		return nil
6115	}
6116	return p.Repo
6117}
6118
6119// GetSender returns the Sender field.
6120func (p *PullRequestEvent) GetSender() *User {
6121	if p == nil {
6122		return nil
6123	}
6124	return p.Sender
6125}
6126
6127// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise.
6128func (p *PullRequestLinks) GetDiffURL() string {
6129	if p == nil || p.DiffURL == nil {
6130		return ""
6131	}
6132	return *p.DiffURL
6133}
6134
6135// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
6136func (p *PullRequestLinks) GetHTMLURL() string {
6137	if p == nil || p.HTMLURL == nil {
6138		return ""
6139	}
6140	return *p.HTMLURL
6141}
6142
6143// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise.
6144func (p *PullRequestLinks) GetPatchURL() string {
6145	if p == nil || p.PatchURL == nil {
6146		return ""
6147	}
6148	return *p.PatchURL
6149}
6150
6151// GetURL returns the URL field if it's non-nil, zero value otherwise.
6152func (p *PullRequestLinks) GetURL() string {
6153	if p == nil || p.URL == nil {
6154		return ""
6155	}
6156	return *p.URL
6157}
6158
6159// GetMerged returns the Merged field if it's non-nil, zero value otherwise.
6160func (p *PullRequestMergeResult) GetMerged() bool {
6161	if p == nil || p.Merged == nil {
6162		return false
6163	}
6164	return *p.Merged
6165}
6166
6167// GetMessage returns the Message field if it's non-nil, zero value otherwise.
6168func (p *PullRequestMergeResult) GetMessage() string {
6169	if p == nil || p.Message == nil {
6170		return ""
6171	}
6172	return *p.Message
6173}
6174
6175// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
6176func (p *PullRequestMergeResult) GetSHA() string {
6177	if p == nil || p.SHA == nil {
6178		return ""
6179	}
6180	return *p.SHA
6181}
6182
6183// GetBody returns the Body field if it's non-nil, zero value otherwise.
6184func (p *PullRequestReview) GetBody() string {
6185	if p == nil || p.Body == nil {
6186		return ""
6187	}
6188	return *p.Body
6189}
6190
6191// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
6192func (p *PullRequestReview) GetCommitID() string {
6193	if p == nil || p.CommitID == nil {
6194		return ""
6195	}
6196	return *p.CommitID
6197}
6198
6199// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
6200func (p *PullRequestReview) GetHTMLURL() string {
6201	if p == nil || p.HTMLURL == nil {
6202		return ""
6203	}
6204	return *p.HTMLURL
6205}
6206
6207// GetID returns the ID field if it's non-nil, zero value otherwise.
6208func (p *PullRequestReview) GetID() int64 {
6209	if p == nil || p.ID == nil {
6210		return 0
6211	}
6212	return *p.ID
6213}
6214
6215// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise.
6216func (p *PullRequestReview) GetPullRequestURL() string {
6217	if p == nil || p.PullRequestURL == nil {
6218		return ""
6219	}
6220	return *p.PullRequestURL
6221}
6222
6223// GetState returns the State field if it's non-nil, zero value otherwise.
6224func (p *PullRequestReview) GetState() string {
6225	if p == nil || p.State == nil {
6226		return ""
6227	}
6228	return *p.State
6229}
6230
6231// GetSubmittedAt returns the SubmittedAt field if it's non-nil, zero value otherwise.
6232func (p *PullRequestReview) GetSubmittedAt() time.Time {
6233	if p == nil || p.SubmittedAt == nil {
6234		return time.Time{}
6235	}
6236	return *p.SubmittedAt
6237}
6238
6239// GetUser returns the User field.
6240func (p *PullRequestReview) GetUser() *User {
6241	if p == nil {
6242		return nil
6243	}
6244	return p.User
6245}
6246
6247// GetAction returns the Action field if it's non-nil, zero value otherwise.
6248func (p *PullRequestReviewCommentEvent) GetAction() string {
6249	if p == nil || p.Action == nil {
6250		return ""
6251	}
6252	return *p.Action
6253}
6254
6255// GetChanges returns the Changes field.
6256func (p *PullRequestReviewCommentEvent) GetChanges() *EditChange {
6257	if p == nil {
6258		return nil
6259	}
6260	return p.Changes
6261}
6262
6263// GetComment returns the Comment field.
6264func (p *PullRequestReviewCommentEvent) GetComment() *PullRequestComment {
6265	if p == nil {
6266		return nil
6267	}
6268	return p.Comment
6269}
6270
6271// GetInstallation returns the Installation field.
6272func (p *PullRequestReviewCommentEvent) GetInstallation() *Installation {
6273	if p == nil {
6274		return nil
6275	}
6276	return p.Installation
6277}
6278
6279// GetPullRequest returns the PullRequest field.
6280func (p *PullRequestReviewCommentEvent) GetPullRequest() *PullRequest {
6281	if p == nil {
6282		return nil
6283	}
6284	return p.PullRequest
6285}
6286
6287// GetRepo returns the Repo field.
6288func (p *PullRequestReviewCommentEvent) GetRepo() *Repository {
6289	if p == nil {
6290		return nil
6291	}
6292	return p.Repo
6293}
6294
6295// GetSender returns the Sender field.
6296func (p *PullRequestReviewCommentEvent) GetSender() *User {
6297	if p == nil {
6298		return nil
6299	}
6300	return p.Sender
6301}
6302
6303// GetMessage returns the Message field if it's non-nil, zero value otherwise.
6304func (p *PullRequestReviewDismissalRequest) GetMessage() string {
6305	if p == nil || p.Message == nil {
6306		return ""
6307	}
6308	return *p.Message
6309}
6310
6311// GetAction returns the Action field if it's non-nil, zero value otherwise.
6312func (p *PullRequestReviewEvent) GetAction() string {
6313	if p == nil || p.Action == nil {
6314		return ""
6315	}
6316	return *p.Action
6317}
6318
6319// GetInstallation returns the Installation field.
6320func (p *PullRequestReviewEvent) GetInstallation() *Installation {
6321	if p == nil {
6322		return nil
6323	}
6324	return p.Installation
6325}
6326
6327// GetOrganization returns the Organization field.
6328func (p *PullRequestReviewEvent) GetOrganization() *Organization {
6329	if p == nil {
6330		return nil
6331	}
6332	return p.Organization
6333}
6334
6335// GetPullRequest returns the PullRequest field.
6336func (p *PullRequestReviewEvent) GetPullRequest() *PullRequest {
6337	if p == nil {
6338		return nil
6339	}
6340	return p.PullRequest
6341}
6342
6343// GetRepo returns the Repo field.
6344func (p *PullRequestReviewEvent) GetRepo() *Repository {
6345	if p == nil {
6346		return nil
6347	}
6348	return p.Repo
6349}
6350
6351// GetReview returns the Review field.
6352func (p *PullRequestReviewEvent) GetReview() *PullRequestReview {
6353	if p == nil {
6354		return nil
6355	}
6356	return p.Review
6357}
6358
6359// GetSender returns the Sender field.
6360func (p *PullRequestReviewEvent) GetSender() *User {
6361	if p == nil {
6362		return nil
6363	}
6364	return p.Sender
6365}
6366
6367// GetBody returns the Body field if it's non-nil, zero value otherwise.
6368func (p *PullRequestReviewRequest) GetBody() string {
6369	if p == nil || p.Body == nil {
6370		return ""
6371	}
6372	return *p.Body
6373}
6374
6375// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
6376func (p *PullRequestReviewRequest) GetCommitID() string {
6377	if p == nil || p.CommitID == nil {
6378		return ""
6379	}
6380	return *p.CommitID
6381}
6382
6383// GetEvent returns the Event field if it's non-nil, zero value otherwise.
6384func (p *PullRequestReviewRequest) GetEvent() string {
6385	if p == nil || p.Event == nil {
6386		return ""
6387	}
6388	return *p.Event
6389}
6390
6391// GetDismissalRestrictionsRequest returns the DismissalRestrictionsRequest field.
6392func (p *PullRequestReviewsEnforcementRequest) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest {
6393	if p == nil {
6394		return nil
6395	}
6396	return p.DismissalRestrictionsRequest
6397}
6398
6399// GetDismissalRestrictionsRequest returns the DismissalRestrictionsRequest field.
6400func (p *PullRequestReviewsEnforcementUpdate) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest {
6401	if p == nil {
6402		return nil
6403	}
6404	return p.DismissalRestrictionsRequest
6405}
6406
6407// GetDismissStaleReviews returns the DismissStaleReviews field if it's non-nil, zero value otherwise.
6408func (p *PullRequestReviewsEnforcementUpdate) GetDismissStaleReviews() bool {
6409	if p == nil || p.DismissStaleReviews == nil {
6410		return false
6411	}
6412	return *p.DismissStaleReviews
6413}
6414
6415// GetMergablePulls returns the MergablePulls field if it's non-nil, zero value otherwise.
6416func (p *PullStats) GetMergablePulls() int {
6417	if p == nil || p.MergablePulls == nil {
6418		return 0
6419	}
6420	return *p.MergablePulls
6421}
6422
6423// GetMergedPulls returns the MergedPulls field if it's non-nil, zero value otherwise.
6424func (p *PullStats) GetMergedPulls() int {
6425	if p == nil || p.MergedPulls == nil {
6426		return 0
6427	}
6428	return *p.MergedPulls
6429}
6430
6431// GetTotalPulls returns the TotalPulls field if it's non-nil, zero value otherwise.
6432func (p *PullStats) GetTotalPulls() int {
6433	if p == nil || p.TotalPulls == nil {
6434		return 0
6435	}
6436	return *p.TotalPulls
6437}
6438
6439// GetUnmergablePulls returns the UnmergablePulls field if it's non-nil, zero value otherwise.
6440func (p *PullStats) GetUnmergablePulls() int {
6441	if p == nil || p.UnmergablePulls == nil {
6442		return 0
6443	}
6444	return *p.UnmergablePulls
6445}
6446
6447// GetCommits returns the Commits field if it's non-nil, zero value otherwise.
6448func (p *PunchCard) GetCommits() int {
6449	if p == nil || p.Commits == nil {
6450		return 0
6451	}
6452	return *p.Commits
6453}
6454
6455// GetDay returns the Day field if it's non-nil, zero value otherwise.
6456func (p *PunchCard) GetDay() int {
6457	if p == nil || p.Day == nil {
6458		return 0
6459	}
6460	return *p.Day
6461}
6462
6463// GetHour returns the Hour field if it's non-nil, zero value otherwise.
6464func (p *PunchCard) GetHour() int {
6465	if p == nil || p.Hour == nil {
6466		return 0
6467	}
6468	return *p.Hour
6469}
6470
6471// GetAfter returns the After field if it's non-nil, zero value otherwise.
6472func (p *PushEvent) GetAfter() string {
6473	if p == nil || p.After == nil {
6474		return ""
6475	}
6476	return *p.After
6477}
6478
6479// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise.
6480func (p *PushEvent) GetBaseRef() string {
6481	if p == nil || p.BaseRef == nil {
6482		return ""
6483	}
6484	return *p.BaseRef
6485}
6486
6487// GetBefore returns the Before field if it's non-nil, zero value otherwise.
6488func (p *PushEvent) GetBefore() string {
6489	if p == nil || p.Before == nil {
6490		return ""
6491	}
6492	return *p.Before
6493}
6494
6495// GetCompare returns the Compare field if it's non-nil, zero value otherwise.
6496func (p *PushEvent) GetCompare() string {
6497	if p == nil || p.Compare == nil {
6498		return ""
6499	}
6500	return *p.Compare
6501}
6502
6503// GetCreated returns the Created field if it's non-nil, zero value otherwise.
6504func (p *PushEvent) GetCreated() bool {
6505	if p == nil || p.Created == nil {
6506		return false
6507	}
6508	return *p.Created
6509}
6510
6511// GetDeleted returns the Deleted field if it's non-nil, zero value otherwise.
6512func (p *PushEvent) GetDeleted() bool {
6513	if p == nil || p.Deleted == nil {
6514		return false
6515	}
6516	return *p.Deleted
6517}
6518
6519// GetDistinctSize returns the DistinctSize field if it's non-nil, zero value otherwise.
6520func (p *PushEvent) GetDistinctSize() int {
6521	if p == nil || p.DistinctSize == nil {
6522		return 0
6523	}
6524	return *p.DistinctSize
6525}
6526
6527// GetForced returns the Forced field if it's non-nil, zero value otherwise.
6528func (p *PushEvent) GetForced() bool {
6529	if p == nil || p.Forced == nil {
6530		return false
6531	}
6532	return *p.Forced
6533}
6534
6535// GetHead returns the Head field if it's non-nil, zero value otherwise.
6536func (p *PushEvent) GetHead() string {
6537	if p == nil || p.Head == nil {
6538		return ""
6539	}
6540	return *p.Head
6541}
6542
6543// GetHeadCommit returns the HeadCommit field.
6544func (p *PushEvent) GetHeadCommit() *PushEventCommit {
6545	if p == nil {
6546		return nil
6547	}
6548	return p.HeadCommit
6549}
6550
6551// GetInstallation returns the Installation field.
6552func (p *PushEvent) GetInstallation() *Installation {
6553	if p == nil {
6554		return nil
6555	}
6556	return p.Installation
6557}
6558
6559// GetPusher returns the Pusher field.
6560func (p *PushEvent) GetPusher() *User {
6561	if p == nil {
6562		return nil
6563	}
6564	return p.Pusher
6565}
6566
6567// GetPushID returns the PushID field if it's non-nil, zero value otherwise.
6568func (p *PushEvent) GetPushID() int64 {
6569	if p == nil || p.PushID == nil {
6570		return 0
6571	}
6572	return *p.PushID
6573}
6574
6575// GetRef returns the Ref field if it's non-nil, zero value otherwise.
6576func (p *PushEvent) GetRef() string {
6577	if p == nil || p.Ref == nil {
6578		return ""
6579	}
6580	return *p.Ref
6581}
6582
6583// GetRepo returns the Repo field.
6584func (p *PushEvent) GetRepo() *PushEventRepository {
6585	if p == nil {
6586		return nil
6587	}
6588	return p.Repo
6589}
6590
6591// GetSender returns the Sender field.
6592func (p *PushEvent) GetSender() *User {
6593	if p == nil {
6594		return nil
6595	}
6596	return p.Sender
6597}
6598
6599// GetSize returns the Size field if it's non-nil, zero value otherwise.
6600func (p *PushEvent) GetSize() int {
6601	if p == nil || p.Size == nil {
6602		return 0
6603	}
6604	return *p.Size
6605}
6606
6607// GetAuthor returns the Author field.
6608func (p *PushEventCommit) GetAuthor() *CommitAuthor {
6609	if p == nil {
6610		return nil
6611	}
6612	return p.Author
6613}
6614
6615// GetCommitter returns the Committer field.
6616func (p *PushEventCommit) GetCommitter() *CommitAuthor {
6617	if p == nil {
6618		return nil
6619	}
6620	return p.Committer
6621}
6622
6623// GetDistinct returns the Distinct field if it's non-nil, zero value otherwise.
6624func (p *PushEventCommit) GetDistinct() bool {
6625	if p == nil || p.Distinct == nil {
6626		return false
6627	}
6628	return *p.Distinct
6629}
6630
6631// GetID returns the ID field if it's non-nil, zero value otherwise.
6632func (p *PushEventCommit) GetID() string {
6633	if p == nil || p.ID == nil {
6634		return ""
6635	}
6636	return *p.ID
6637}
6638
6639// GetMessage returns the Message field if it's non-nil, zero value otherwise.
6640func (p *PushEventCommit) GetMessage() string {
6641	if p == nil || p.Message == nil {
6642		return ""
6643	}
6644	return *p.Message
6645}
6646
6647// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
6648func (p *PushEventCommit) GetSHA() string {
6649	if p == nil || p.SHA == nil {
6650		return ""
6651	}
6652	return *p.SHA
6653}
6654
6655// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise.
6656func (p *PushEventCommit) GetTimestamp() Timestamp {
6657	if p == nil || p.Timestamp == nil {
6658		return Timestamp{}
6659	}
6660	return *p.Timestamp
6661}
6662
6663// GetTreeID returns the TreeID field if it's non-nil, zero value otherwise.
6664func (p *PushEventCommit) GetTreeID() string {
6665	if p == nil || p.TreeID == nil {
6666		return ""
6667	}
6668	return *p.TreeID
6669}
6670
6671// GetURL returns the URL field if it's non-nil, zero value otherwise.
6672func (p *PushEventCommit) GetURL() string {
6673	if p == nil || p.URL == nil {
6674		return ""
6675	}
6676	return *p.URL
6677}
6678
6679// GetEmail returns the Email field if it's non-nil, zero value otherwise.
6680func (p *PushEventRepoOwner) GetEmail() string {
6681	if p == nil || p.Email == nil {
6682		return ""
6683	}
6684	return *p.Email
6685}
6686
6687// GetName returns the Name field if it's non-nil, zero value otherwise.
6688func (p *PushEventRepoOwner) GetName() string {
6689	if p == nil || p.Name == nil {
6690		return ""
6691	}
6692	return *p.Name
6693}
6694
6695// GetArchiveURL returns the ArchiveURL field if it's non-nil, zero value otherwise.
6696func (p *PushEventRepository) GetArchiveURL() string {
6697	if p == nil || p.ArchiveURL == nil {
6698		return ""
6699	}
6700	return *p.ArchiveURL
6701}
6702
6703// GetCloneURL returns the CloneURL field if it's non-nil, zero value otherwise.
6704func (p *PushEventRepository) GetCloneURL() string {
6705	if p == nil || p.CloneURL == nil {
6706		return ""
6707	}
6708	return *p.CloneURL
6709}
6710
6711// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
6712func (p *PushEventRepository) GetCreatedAt() Timestamp {
6713	if p == nil || p.CreatedAt == nil {
6714		return Timestamp{}
6715	}
6716	return *p.CreatedAt
6717}
6718
6719// GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise.
6720func (p *PushEventRepository) GetDefaultBranch() string {
6721	if p == nil || p.DefaultBranch == nil {
6722		return ""
6723	}
6724	return *p.DefaultBranch
6725}
6726
6727// GetDescription returns the Description field if it's non-nil, zero value otherwise.
6728func (p *PushEventRepository) GetDescription() string {
6729	if p == nil || p.Description == nil {
6730		return ""
6731	}
6732	return *p.Description
6733}
6734
6735// GetFork returns the Fork field if it's non-nil, zero value otherwise.
6736func (p *PushEventRepository) GetFork() bool {
6737	if p == nil || p.Fork == nil {
6738		return false
6739	}
6740	return *p.Fork
6741}
6742
6743// GetForksCount returns the ForksCount field if it's non-nil, zero value otherwise.
6744func (p *PushEventRepository) GetForksCount() int {
6745	if p == nil || p.ForksCount == nil {
6746		return 0
6747	}
6748	return *p.ForksCount
6749}
6750
6751// GetFullName returns the FullName field if it's non-nil, zero value otherwise.
6752func (p *PushEventRepository) GetFullName() string {
6753	if p == nil || p.FullName == nil {
6754		return ""
6755	}
6756	return *p.FullName
6757}
6758
6759// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise.
6760func (p *PushEventRepository) GetGitURL() string {
6761	if p == nil || p.GitURL == nil {
6762		return ""
6763	}
6764	return *p.GitURL
6765}
6766
6767// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise.
6768func (p *PushEventRepository) GetHasDownloads() bool {
6769	if p == nil || p.HasDownloads == nil {
6770		return false
6771	}
6772	return *p.HasDownloads
6773}
6774
6775// GetHasIssues returns the HasIssues field if it's non-nil, zero value otherwise.
6776func (p *PushEventRepository) GetHasIssues() bool {
6777	if p == nil || p.HasIssues == nil {
6778		return false
6779	}
6780	return *p.HasIssues
6781}
6782
6783// GetHasPages returns the HasPages field if it's non-nil, zero value otherwise.
6784func (p *PushEventRepository) GetHasPages() bool {
6785	if p == nil || p.HasPages == nil {
6786		return false
6787	}
6788	return *p.HasPages
6789}
6790
6791// GetHasWiki returns the HasWiki field if it's non-nil, zero value otherwise.
6792func (p *PushEventRepository) GetHasWiki() bool {
6793	if p == nil || p.HasWiki == nil {
6794		return false
6795	}
6796	return *p.HasWiki
6797}
6798
6799// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise.
6800func (p *PushEventRepository) GetHomepage() string {
6801	if p == nil || p.Homepage == nil {
6802		return ""
6803	}
6804	return *p.Homepage
6805}
6806
6807// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
6808func (p *PushEventRepository) GetHTMLURL() string {
6809	if p == nil || p.HTMLURL == nil {
6810		return ""
6811	}
6812	return *p.HTMLURL
6813}
6814
6815// GetID returns the ID field if it's non-nil, zero value otherwise.
6816func (p *PushEventRepository) GetID() int64 {
6817	if p == nil || p.ID == nil {
6818		return 0
6819	}
6820	return *p.ID
6821}
6822
6823// GetLanguage returns the Language field if it's non-nil, zero value otherwise.
6824func (p *PushEventRepository) GetLanguage() string {
6825	if p == nil || p.Language == nil {
6826		return ""
6827	}
6828	return *p.Language
6829}
6830
6831// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise.
6832func (p *PushEventRepository) GetMasterBranch() string {
6833	if p == nil || p.MasterBranch == nil {
6834		return ""
6835	}
6836	return *p.MasterBranch
6837}
6838
6839// GetName returns the Name field if it's non-nil, zero value otherwise.
6840func (p *PushEventRepository) GetName() string {
6841	if p == nil || p.Name == nil {
6842		return ""
6843	}
6844	return *p.Name
6845}
6846
6847// GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise.
6848func (p *PushEventRepository) GetOpenIssuesCount() int {
6849	if p == nil || p.OpenIssuesCount == nil {
6850		return 0
6851	}
6852	return *p.OpenIssuesCount
6853}
6854
6855// GetOrganization returns the Organization field if it's non-nil, zero value otherwise.
6856func (p *PushEventRepository) GetOrganization() string {
6857	if p == nil || p.Organization == nil {
6858		return ""
6859	}
6860	return *p.Organization
6861}
6862
6863// GetOwner returns the Owner field.
6864func (p *PushEventRepository) GetOwner() *PushEventRepoOwner {
6865	if p == nil {
6866		return nil
6867	}
6868	return p.Owner
6869}
6870
6871// GetPrivate returns the Private field if it's non-nil, zero value otherwise.
6872func (p *PushEventRepository) GetPrivate() bool {
6873	if p == nil || p.Private == nil {
6874		return false
6875	}
6876	return *p.Private
6877}
6878
6879// GetPushedAt returns the PushedAt field if it's non-nil, zero value otherwise.
6880func (p *PushEventRepository) GetPushedAt() Timestamp {
6881	if p == nil || p.PushedAt == nil {
6882		return Timestamp{}
6883	}
6884	return *p.PushedAt
6885}
6886
6887// GetSize returns the Size field if it's non-nil, zero value otherwise.
6888func (p *PushEventRepository) GetSize() int {
6889	if p == nil || p.Size == nil {
6890		return 0
6891	}
6892	return *p.Size
6893}
6894
6895// GetSSHURL returns the SSHURL field if it's non-nil, zero value otherwise.
6896func (p *PushEventRepository) GetSSHURL() string {
6897	if p == nil || p.SSHURL == nil {
6898		return ""
6899	}
6900	return *p.SSHURL
6901}
6902
6903// GetStargazersCount returns the StargazersCount field if it's non-nil, zero value otherwise.
6904func (p *PushEventRepository) GetStargazersCount() int {
6905	if p == nil || p.StargazersCount == nil {
6906		return 0
6907	}
6908	return *p.StargazersCount
6909}
6910
6911// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise.
6912func (p *PushEventRepository) GetStatusesURL() string {
6913	if p == nil || p.StatusesURL == nil {
6914		return ""
6915	}
6916	return *p.StatusesURL
6917}
6918
6919// GetSVNURL returns the SVNURL field if it's non-nil, zero value otherwise.
6920func (p *PushEventRepository) GetSVNURL() string {
6921	if p == nil || p.SVNURL == nil {
6922		return ""
6923	}
6924	return *p.SVNURL
6925}
6926
6927// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
6928func (p *PushEventRepository) GetUpdatedAt() Timestamp {
6929	if p == nil || p.UpdatedAt == nil {
6930		return Timestamp{}
6931	}
6932	return *p.UpdatedAt
6933}
6934
6935// GetURL returns the URL field if it's non-nil, zero value otherwise.
6936func (p *PushEventRepository) GetURL() string {
6937	if p == nil || p.URL == nil {
6938		return ""
6939	}
6940	return *p.URL
6941}
6942
6943// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise.
6944func (p *PushEventRepository) GetWatchersCount() int {
6945	if p == nil || p.WatchersCount == nil {
6946		return 0
6947	}
6948	return *p.WatchersCount
6949}
6950
6951// GetCore returns the Core field.
6952func (r *RateLimits) GetCore() *Rate {
6953	if r == nil {
6954		return nil
6955	}
6956	return r.Core
6957}
6958
6959// GetSearch returns the Search field.
6960func (r *RateLimits) GetSearch() *Rate {
6961	if r == nil {
6962		return nil
6963	}
6964	return r.Search
6965}
6966
6967// GetContent returns the Content field if it's non-nil, zero value otherwise.
6968func (r *Reaction) GetContent() string {
6969	if r == nil || r.Content == nil {
6970		return ""
6971	}
6972	return *r.Content
6973}
6974
6975// GetID returns the ID field if it's non-nil, zero value otherwise.
6976func (r *Reaction) GetID() int64 {
6977	if r == nil || r.ID == nil {
6978		return 0
6979	}
6980	return *r.ID
6981}
6982
6983// GetUser returns the User field.
6984func (r *Reaction) GetUser() *User {
6985	if r == nil {
6986		return nil
6987	}
6988	return r.User
6989}
6990
6991// GetConfused returns the Confused field if it's non-nil, zero value otherwise.
6992func (r *Reactions) GetConfused() int {
6993	if r == nil || r.Confused == nil {
6994		return 0
6995	}
6996	return *r.Confused
6997}
6998
6999// GetHeart returns the Heart field if it's non-nil, zero value otherwise.
7000func (r *Reactions) GetHeart() int {
7001	if r == nil || r.Heart == nil {
7002		return 0
7003	}
7004	return *r.Heart
7005}
7006
7007// GetHooray returns the Hooray field if it's non-nil, zero value otherwise.
7008func (r *Reactions) GetHooray() int {
7009	if r == nil || r.Hooray == nil {
7010		return 0
7011	}
7012	return *r.Hooray
7013}
7014
7015// GetLaugh returns the Laugh field if it's non-nil, zero value otherwise.
7016func (r *Reactions) GetLaugh() int {
7017	if r == nil || r.Laugh == nil {
7018		return 0
7019	}
7020	return *r.Laugh
7021}
7022
7023// GetMinusOne returns the MinusOne field if it's non-nil, zero value otherwise.
7024func (r *Reactions) GetMinusOne() int {
7025	if r == nil || r.MinusOne == nil {
7026		return 0
7027	}
7028	return *r.MinusOne
7029}
7030
7031// GetPlusOne returns the PlusOne field if it's non-nil, zero value otherwise.
7032func (r *Reactions) GetPlusOne() int {
7033	if r == nil || r.PlusOne == nil {
7034		return 0
7035	}
7036	return *r.PlusOne
7037}
7038
7039// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise.
7040func (r *Reactions) GetTotalCount() int {
7041	if r == nil || r.TotalCount == nil {
7042		return 0
7043	}
7044	return *r.TotalCount
7045}
7046
7047// GetURL returns the URL field if it's non-nil, zero value otherwise.
7048func (r *Reactions) GetURL() string {
7049	if r == nil || r.URL == nil {
7050		return ""
7051	}
7052	return *r.URL
7053}
7054
7055// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
7056func (r *Reference) GetNodeID() string {
7057	if r == nil || r.NodeID == nil {
7058		return ""
7059	}
7060	return *r.NodeID
7061}
7062
7063// GetObject returns the Object field.
7064func (r *Reference) GetObject() *GitObject {
7065	if r == nil {
7066		return nil
7067	}
7068	return r.Object
7069}
7070
7071// GetRef returns the Ref field if it's non-nil, zero value otherwise.
7072func (r *Reference) GetRef() string {
7073	if r == nil || r.Ref == nil {
7074		return ""
7075	}
7076	return *r.Ref
7077}
7078
7079// GetURL returns the URL field if it's non-nil, zero value otherwise.
7080func (r *Reference) GetURL() string {
7081	if r == nil || r.URL == nil {
7082		return ""
7083	}
7084	return *r.URL
7085}
7086
7087// GetBrowserDownloadURL returns the BrowserDownloadURL field if it's non-nil, zero value otherwise.
7088func (r *ReleaseAsset) GetBrowserDownloadURL() string {
7089	if r == nil || r.BrowserDownloadURL == nil {
7090		return ""
7091	}
7092	return *r.BrowserDownloadURL
7093}
7094
7095// GetContentType returns the ContentType field if it's non-nil, zero value otherwise.
7096func (r *ReleaseAsset) GetContentType() string {
7097	if r == nil || r.ContentType == nil {
7098		return ""
7099	}
7100	return *r.ContentType
7101}
7102
7103// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
7104func (r *ReleaseAsset) GetCreatedAt() Timestamp {
7105	if r == nil || r.CreatedAt == nil {
7106		return Timestamp{}
7107	}
7108	return *r.CreatedAt
7109}
7110
7111// GetDownloadCount returns the DownloadCount field if it's non-nil, zero value otherwise.
7112func (r *ReleaseAsset) GetDownloadCount() int {
7113	if r == nil || r.DownloadCount == nil {
7114		return 0
7115	}
7116	return *r.DownloadCount
7117}
7118
7119// GetID returns the ID field if it's non-nil, zero value otherwise.
7120func (r *ReleaseAsset) GetID() int64 {
7121	if r == nil || r.ID == nil {
7122		return 0
7123	}
7124	return *r.ID
7125}
7126
7127// GetLabel returns the Label field if it's non-nil, zero value otherwise.
7128func (r *ReleaseAsset) GetLabel() string {
7129	if r == nil || r.Label == nil {
7130		return ""
7131	}
7132	return *r.Label
7133}
7134
7135// GetName returns the Name field if it's non-nil, zero value otherwise.
7136func (r *ReleaseAsset) GetName() string {
7137	if r == nil || r.Name == nil {
7138		return ""
7139	}
7140	return *r.Name
7141}
7142
7143// GetSize returns the Size field if it's non-nil, zero value otherwise.
7144func (r *ReleaseAsset) GetSize() int {
7145	if r == nil || r.Size == nil {
7146		return 0
7147	}
7148	return *r.Size
7149}
7150
7151// GetState returns the State field if it's non-nil, zero value otherwise.
7152func (r *ReleaseAsset) GetState() string {
7153	if r == nil || r.State == nil {
7154		return ""
7155	}
7156	return *r.State
7157}
7158
7159// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
7160func (r *ReleaseAsset) GetUpdatedAt() Timestamp {
7161	if r == nil || r.UpdatedAt == nil {
7162		return Timestamp{}
7163	}
7164	return *r.UpdatedAt
7165}
7166
7167// GetUploader returns the Uploader field.
7168func (r *ReleaseAsset) GetUploader() *User {
7169	if r == nil {
7170		return nil
7171	}
7172	return r.Uploader
7173}
7174
7175// GetURL returns the URL field if it's non-nil, zero value otherwise.
7176func (r *ReleaseAsset) GetURL() string {
7177	if r == nil || r.URL == nil {
7178		return ""
7179	}
7180	return *r.URL
7181}
7182
7183// GetAction returns the Action field if it's non-nil, zero value otherwise.
7184func (r *ReleaseEvent) GetAction() string {
7185	if r == nil || r.Action == nil {
7186		return ""
7187	}
7188	return *r.Action
7189}
7190
7191// GetInstallation returns the Installation field.
7192func (r *ReleaseEvent) GetInstallation() *Installation {
7193	if r == nil {
7194		return nil
7195	}
7196	return r.Installation
7197}
7198
7199// GetRelease returns the Release field.
7200func (r *ReleaseEvent) GetRelease() *RepositoryRelease {
7201	if r == nil {
7202		return nil
7203	}
7204	return r.Release
7205}
7206
7207// GetRepo returns the Repo field.
7208func (r *ReleaseEvent) GetRepo() *Repository {
7209	if r == nil {
7210		return nil
7211	}
7212	return r.Repo
7213}
7214
7215// GetSender returns the Sender field.
7216func (r *ReleaseEvent) GetSender() *User {
7217	if r == nil {
7218		return nil
7219	}
7220	return r.Sender
7221}
7222
7223// GetFrom returns the From field if it's non-nil, zero value otherwise.
7224func (r *Rename) GetFrom() string {
7225	if r == nil || r.From == nil {
7226		return ""
7227	}
7228	return *r.From
7229}
7230
7231// GetTo returns the To field if it's non-nil, zero value otherwise.
7232func (r *Rename) GetTo() string {
7233	if r == nil || r.To == nil {
7234		return ""
7235	}
7236	return *r.To
7237}
7238
7239// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
7240func (r *RepositoriesSearchResult) GetIncompleteResults() bool {
7241	if r == nil || r.IncompleteResults == nil {
7242		return false
7243	}
7244	return *r.IncompleteResults
7245}
7246
7247// GetTotal returns the Total field if it's non-nil, zero value otherwise.
7248func (r *RepositoriesSearchResult) GetTotal() int {
7249	if r == nil || r.Total == nil {
7250		return 0
7251	}
7252	return *r.Total
7253}
7254
7255// GetAllowMergeCommit returns the AllowMergeCommit field if it's non-nil, zero value otherwise.
7256func (r *Repository) GetAllowMergeCommit() bool {
7257	if r == nil || r.AllowMergeCommit == nil {
7258		return false
7259	}
7260	return *r.AllowMergeCommit
7261}
7262
7263// GetAllowRebaseMerge returns the AllowRebaseMerge field if it's non-nil, zero value otherwise.
7264func (r *Repository) GetAllowRebaseMerge() bool {
7265	if r == nil || r.AllowRebaseMerge == nil {
7266		return false
7267	}
7268	return *r.AllowRebaseMerge
7269}
7270
7271// GetAllowSquashMerge returns the AllowSquashMerge field if it's non-nil, zero value otherwise.
7272func (r *Repository) GetAllowSquashMerge() bool {
7273	if r == nil || r.AllowSquashMerge == nil {
7274		return false
7275	}
7276	return *r.AllowSquashMerge
7277}
7278
7279// GetArchived returns the Archived field if it's non-nil, zero value otherwise.
7280func (r *Repository) GetArchived() bool {
7281	if r == nil || r.Archived == nil {
7282		return false
7283	}
7284	return *r.Archived
7285}
7286
7287// GetArchiveURL returns the ArchiveURL field if it's non-nil, zero value otherwise.
7288func (r *Repository) GetArchiveURL() string {
7289	if r == nil || r.ArchiveURL == nil {
7290		return ""
7291	}
7292	return *r.ArchiveURL
7293}
7294
7295// GetAssigneesURL returns the AssigneesURL field if it's non-nil, zero value otherwise.
7296func (r *Repository) GetAssigneesURL() string {
7297	if r == nil || r.AssigneesURL == nil {
7298		return ""
7299	}
7300	return *r.AssigneesURL
7301}
7302
7303// GetAutoInit returns the AutoInit field if it's non-nil, zero value otherwise.
7304func (r *Repository) GetAutoInit() bool {
7305	if r == nil || r.AutoInit == nil {
7306		return false
7307	}
7308	return *r.AutoInit
7309}
7310
7311// GetBlobsURL returns the BlobsURL field if it's non-nil, zero value otherwise.
7312func (r *Repository) GetBlobsURL() string {
7313	if r == nil || r.BlobsURL == nil {
7314		return ""
7315	}
7316	return *r.BlobsURL
7317}
7318
7319// GetBranchesURL returns the BranchesURL field if it's non-nil, zero value otherwise.
7320func (r *Repository) GetBranchesURL() string {
7321	if r == nil || r.BranchesURL == nil {
7322		return ""
7323	}
7324	return *r.BranchesURL
7325}
7326
7327// GetCloneURL returns the CloneURL field if it's non-nil, zero value otherwise.
7328func (r *Repository) GetCloneURL() string {
7329	if r == nil || r.CloneURL == nil {
7330		return ""
7331	}
7332	return *r.CloneURL
7333}
7334
7335// GetCodeOfConduct returns the CodeOfConduct field.
7336func (r *Repository) GetCodeOfConduct() *CodeOfConduct {
7337	if r == nil {
7338		return nil
7339	}
7340	return r.CodeOfConduct
7341}
7342
7343// GetCollaboratorsURL returns the CollaboratorsURL field if it's non-nil, zero value otherwise.
7344func (r *Repository) GetCollaboratorsURL() string {
7345	if r == nil || r.CollaboratorsURL == nil {
7346		return ""
7347	}
7348	return *r.CollaboratorsURL
7349}
7350
7351// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
7352func (r *Repository) GetCommentsURL() string {
7353	if r == nil || r.CommentsURL == nil {
7354		return ""
7355	}
7356	return *r.CommentsURL
7357}
7358
7359// GetCommitsURL returns the CommitsURL field if it's non-nil, zero value otherwise.
7360func (r *Repository) GetCommitsURL() string {
7361	if r == nil || r.CommitsURL == nil {
7362		return ""
7363	}
7364	return *r.CommitsURL
7365}
7366
7367// GetCompareURL returns the CompareURL field if it's non-nil, zero value otherwise.
7368func (r *Repository) GetCompareURL() string {
7369	if r == nil || r.CompareURL == nil {
7370		return ""
7371	}
7372	return *r.CompareURL
7373}
7374
7375// GetContentsURL returns the ContentsURL field if it's non-nil, zero value otherwise.
7376func (r *Repository) GetContentsURL() string {
7377	if r == nil || r.ContentsURL == nil {
7378		return ""
7379	}
7380	return *r.ContentsURL
7381}
7382
7383// GetContributorsURL returns the ContributorsURL field if it's non-nil, zero value otherwise.
7384func (r *Repository) GetContributorsURL() string {
7385	if r == nil || r.ContributorsURL == nil {
7386		return ""
7387	}
7388	return *r.ContributorsURL
7389}
7390
7391// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
7392func (r *Repository) GetCreatedAt() Timestamp {
7393	if r == nil || r.CreatedAt == nil {
7394		return Timestamp{}
7395	}
7396	return *r.CreatedAt
7397}
7398
7399// GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise.
7400func (r *Repository) GetDefaultBranch() string {
7401	if r == nil || r.DefaultBranch == nil {
7402		return ""
7403	}
7404	return *r.DefaultBranch
7405}
7406
7407// GetDeploymentsURL returns the DeploymentsURL field if it's non-nil, zero value otherwise.
7408func (r *Repository) GetDeploymentsURL() string {
7409	if r == nil || r.DeploymentsURL == nil {
7410		return ""
7411	}
7412	return *r.DeploymentsURL
7413}
7414
7415// GetDescription returns the Description field if it's non-nil, zero value otherwise.
7416func (r *Repository) GetDescription() string {
7417	if r == nil || r.Description == nil {
7418		return ""
7419	}
7420	return *r.Description
7421}
7422
7423// GetDownloadsURL returns the DownloadsURL field if it's non-nil, zero value otherwise.
7424func (r *Repository) GetDownloadsURL() string {
7425	if r == nil || r.DownloadsURL == nil {
7426		return ""
7427	}
7428	return *r.DownloadsURL
7429}
7430
7431// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
7432func (r *Repository) GetEventsURL() string {
7433	if r == nil || r.EventsURL == nil {
7434		return ""
7435	}
7436	return *r.EventsURL
7437}
7438
7439// GetFork returns the Fork field if it's non-nil, zero value otherwise.
7440func (r *Repository) GetFork() bool {
7441	if r == nil || r.Fork == nil {
7442		return false
7443	}
7444	return *r.Fork
7445}
7446
7447// GetForksCount returns the ForksCount field if it's non-nil, zero value otherwise.
7448func (r *Repository) GetForksCount() int {
7449	if r == nil || r.ForksCount == nil {
7450		return 0
7451	}
7452	return *r.ForksCount
7453}
7454
7455// GetForksURL returns the ForksURL field if it's non-nil, zero value otherwise.
7456func (r *Repository) GetForksURL() string {
7457	if r == nil || r.ForksURL == nil {
7458		return ""
7459	}
7460	return *r.ForksURL
7461}
7462
7463// GetFullName returns the FullName field if it's non-nil, zero value otherwise.
7464func (r *Repository) GetFullName() string {
7465	if r == nil || r.FullName == nil {
7466		return ""
7467	}
7468	return *r.FullName
7469}
7470
7471// GetGitCommitsURL returns the GitCommitsURL field if it's non-nil, zero value otherwise.
7472func (r *Repository) GetGitCommitsURL() string {
7473	if r == nil || r.GitCommitsURL == nil {
7474		return ""
7475	}
7476	return *r.GitCommitsURL
7477}
7478
7479// GetGitignoreTemplate returns the GitignoreTemplate field if it's non-nil, zero value otherwise.
7480func (r *Repository) GetGitignoreTemplate() string {
7481	if r == nil || r.GitignoreTemplate == nil {
7482		return ""
7483	}
7484	return *r.GitignoreTemplate
7485}
7486
7487// GetGitRefsURL returns the GitRefsURL field if it's non-nil, zero value otherwise.
7488func (r *Repository) GetGitRefsURL() string {
7489	if r == nil || r.GitRefsURL == nil {
7490		return ""
7491	}
7492	return *r.GitRefsURL
7493}
7494
7495// GetGitTagsURL returns the GitTagsURL field if it's non-nil, zero value otherwise.
7496func (r *Repository) GetGitTagsURL() string {
7497	if r == nil || r.GitTagsURL == nil {
7498		return ""
7499	}
7500	return *r.GitTagsURL
7501}
7502
7503// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise.
7504func (r *Repository) GetGitURL() string {
7505	if r == nil || r.GitURL == nil {
7506		return ""
7507	}
7508	return *r.GitURL
7509}
7510
7511// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise.
7512func (r *Repository) GetHasDownloads() bool {
7513	if r == nil || r.HasDownloads == nil {
7514		return false
7515	}
7516	return *r.HasDownloads
7517}
7518
7519// GetHasIssues returns the HasIssues field if it's non-nil, zero value otherwise.
7520func (r *Repository) GetHasIssues() bool {
7521	if r == nil || r.HasIssues == nil {
7522		return false
7523	}
7524	return *r.HasIssues
7525}
7526
7527// GetHasPages returns the HasPages field if it's non-nil, zero value otherwise.
7528func (r *Repository) GetHasPages() bool {
7529	if r == nil || r.HasPages == nil {
7530		return false
7531	}
7532	return *r.HasPages
7533}
7534
7535// GetHasProjects returns the HasProjects field if it's non-nil, zero value otherwise.
7536func (r *Repository) GetHasProjects() bool {
7537	if r == nil || r.HasProjects == nil {
7538		return false
7539	}
7540	return *r.HasProjects
7541}
7542
7543// GetHasWiki returns the HasWiki field if it's non-nil, zero value otherwise.
7544func (r *Repository) GetHasWiki() bool {
7545	if r == nil || r.HasWiki == nil {
7546		return false
7547	}
7548	return *r.HasWiki
7549}
7550
7551// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise.
7552func (r *Repository) GetHomepage() string {
7553	if r == nil || r.Homepage == nil {
7554		return ""
7555	}
7556	return *r.Homepage
7557}
7558
7559// GetHooksURL returns the HooksURL field if it's non-nil, zero value otherwise.
7560func (r *Repository) GetHooksURL() string {
7561	if r == nil || r.HooksURL == nil {
7562		return ""
7563	}
7564	return *r.HooksURL
7565}
7566
7567// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
7568func (r *Repository) GetHTMLURL() string {
7569	if r == nil || r.HTMLURL == nil {
7570		return ""
7571	}
7572	return *r.HTMLURL
7573}
7574
7575// GetID returns the ID field if it's non-nil, zero value otherwise.
7576func (r *Repository) GetID() int64 {
7577	if r == nil || r.ID == nil {
7578		return 0
7579	}
7580	return *r.ID
7581}
7582
7583// GetIssueCommentURL returns the IssueCommentURL field if it's non-nil, zero value otherwise.
7584func (r *Repository) GetIssueCommentURL() string {
7585	if r == nil || r.IssueCommentURL == nil {
7586		return ""
7587	}
7588	return *r.IssueCommentURL
7589}
7590
7591// GetIssueEventsURL returns the IssueEventsURL field if it's non-nil, zero value otherwise.
7592func (r *Repository) GetIssueEventsURL() string {
7593	if r == nil || r.IssueEventsURL == nil {
7594		return ""
7595	}
7596	return *r.IssueEventsURL
7597}
7598
7599// GetIssuesURL returns the IssuesURL field if it's non-nil, zero value otherwise.
7600func (r *Repository) GetIssuesURL() string {
7601	if r == nil || r.IssuesURL == nil {
7602		return ""
7603	}
7604	return *r.IssuesURL
7605}
7606
7607// GetKeysURL returns the KeysURL field if it's non-nil, zero value otherwise.
7608func (r *Repository) GetKeysURL() string {
7609	if r == nil || r.KeysURL == nil {
7610		return ""
7611	}
7612	return *r.KeysURL
7613}
7614
7615// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise.
7616func (r *Repository) GetLabelsURL() string {
7617	if r == nil || r.LabelsURL == nil {
7618		return ""
7619	}
7620	return *r.LabelsURL
7621}
7622
7623// GetLanguage returns the Language field if it's non-nil, zero value otherwise.
7624func (r *Repository) GetLanguage() string {
7625	if r == nil || r.Language == nil {
7626		return ""
7627	}
7628	return *r.Language
7629}
7630
7631// GetLanguagesURL returns the LanguagesURL field if it's non-nil, zero value otherwise.
7632func (r *Repository) GetLanguagesURL() string {
7633	if r == nil || r.LanguagesURL == nil {
7634		return ""
7635	}
7636	return *r.LanguagesURL
7637}
7638
7639// GetLicense returns the License field.
7640func (r *Repository) GetLicense() *License {
7641	if r == nil {
7642		return nil
7643	}
7644	return r.License
7645}
7646
7647// GetLicenseTemplate returns the LicenseTemplate field if it's non-nil, zero value otherwise.
7648func (r *Repository) GetLicenseTemplate() string {
7649	if r == nil || r.LicenseTemplate == nil {
7650		return ""
7651	}
7652	return *r.LicenseTemplate
7653}
7654
7655// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise.
7656func (r *Repository) GetMasterBranch() string {
7657	if r == nil || r.MasterBranch == nil {
7658		return ""
7659	}
7660	return *r.MasterBranch
7661}
7662
7663// GetMergesURL returns the MergesURL field if it's non-nil, zero value otherwise.
7664func (r *Repository) GetMergesURL() string {
7665	if r == nil || r.MergesURL == nil {
7666		return ""
7667	}
7668	return *r.MergesURL
7669}
7670
7671// GetMilestonesURL returns the MilestonesURL field if it's non-nil, zero value otherwise.
7672func (r *Repository) GetMilestonesURL() string {
7673	if r == nil || r.MilestonesURL == nil {
7674		return ""
7675	}
7676	return *r.MilestonesURL
7677}
7678
7679// GetMirrorURL returns the MirrorURL field if it's non-nil, zero value otherwise.
7680func (r *Repository) GetMirrorURL() string {
7681	if r == nil || r.MirrorURL == nil {
7682		return ""
7683	}
7684	return *r.MirrorURL
7685}
7686
7687// GetName returns the Name field if it's non-nil, zero value otherwise.
7688func (r *Repository) GetName() string {
7689	if r == nil || r.Name == nil {
7690		return ""
7691	}
7692	return *r.Name
7693}
7694
7695// GetNetworkCount returns the NetworkCount field if it's non-nil, zero value otherwise.
7696func (r *Repository) GetNetworkCount() int {
7697	if r == nil || r.NetworkCount == nil {
7698		return 0
7699	}
7700	return *r.NetworkCount
7701}
7702
7703// GetNotificationsURL returns the NotificationsURL field if it's non-nil, zero value otherwise.
7704func (r *Repository) GetNotificationsURL() string {
7705	if r == nil || r.NotificationsURL == nil {
7706		return ""
7707	}
7708	return *r.NotificationsURL
7709}
7710
7711// GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise.
7712func (r *Repository) GetOpenIssuesCount() int {
7713	if r == nil || r.OpenIssuesCount == nil {
7714		return 0
7715	}
7716	return *r.OpenIssuesCount
7717}
7718
7719// GetOrganization returns the Organization field.
7720func (r *Repository) GetOrganization() *Organization {
7721	if r == nil {
7722		return nil
7723	}
7724	return r.Organization
7725}
7726
7727// GetOwner returns the Owner field.
7728func (r *Repository) GetOwner() *User {
7729	if r == nil {
7730		return nil
7731	}
7732	return r.Owner
7733}
7734
7735// GetParent returns the Parent field.
7736func (r *Repository) GetParent() *Repository {
7737	if r == nil {
7738		return nil
7739	}
7740	return r.Parent
7741}
7742
7743// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.
7744func (r *Repository) GetPermissions() map[string]bool {
7745	if r == nil || r.Permissions == nil {
7746		return map[string]bool{}
7747	}
7748	return *r.Permissions
7749}
7750
7751// GetPrivate returns the Private field if it's non-nil, zero value otherwise.
7752func (r *Repository) GetPrivate() bool {
7753	if r == nil || r.Private == nil {
7754		return false
7755	}
7756	return *r.Private
7757}
7758
7759// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise.
7760func (r *Repository) GetPullsURL() string {
7761	if r == nil || r.PullsURL == nil {
7762		return ""
7763	}
7764	return *r.PullsURL
7765}
7766
7767// GetPushedAt returns the PushedAt field if it's non-nil, zero value otherwise.
7768func (r *Repository) GetPushedAt() Timestamp {
7769	if r == nil || r.PushedAt == nil {
7770		return Timestamp{}
7771	}
7772	return *r.PushedAt
7773}
7774
7775// GetReleasesURL returns the ReleasesURL field if it's non-nil, zero value otherwise.
7776func (r *Repository) GetReleasesURL() string {
7777	if r == nil || r.ReleasesURL == nil {
7778		return ""
7779	}
7780	return *r.ReleasesURL
7781}
7782
7783// GetSize returns the Size field if it's non-nil, zero value otherwise.
7784func (r *Repository) GetSize() int {
7785	if r == nil || r.Size == nil {
7786		return 0
7787	}
7788	return *r.Size
7789}
7790
7791// GetSource returns the Source field.
7792func (r *Repository) GetSource() *Repository {
7793	if r == nil {
7794		return nil
7795	}
7796	return r.Source
7797}
7798
7799// GetSSHURL returns the SSHURL field if it's non-nil, zero value otherwise.
7800func (r *Repository) GetSSHURL() string {
7801	if r == nil || r.SSHURL == nil {
7802		return ""
7803	}
7804	return *r.SSHURL
7805}
7806
7807// GetStargazersCount returns the StargazersCount field if it's non-nil, zero value otherwise.
7808func (r *Repository) GetStargazersCount() int {
7809	if r == nil || r.StargazersCount == nil {
7810		return 0
7811	}
7812	return *r.StargazersCount
7813}
7814
7815// GetStargazersURL returns the StargazersURL field if it's non-nil, zero value otherwise.
7816func (r *Repository) GetStargazersURL() string {
7817	if r == nil || r.StargazersURL == nil {
7818		return ""
7819	}
7820	return *r.StargazersURL
7821}
7822
7823// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise.
7824func (r *Repository) GetStatusesURL() string {
7825	if r == nil || r.StatusesURL == nil {
7826		return ""
7827	}
7828	return *r.StatusesURL
7829}
7830
7831// GetSubscribersCount returns the SubscribersCount field if it's non-nil, zero value otherwise.
7832func (r *Repository) GetSubscribersCount() int {
7833	if r == nil || r.SubscribersCount == nil {
7834		return 0
7835	}
7836	return *r.SubscribersCount
7837}
7838
7839// GetSubscribersURL returns the SubscribersURL field if it's non-nil, zero value otherwise.
7840func (r *Repository) GetSubscribersURL() string {
7841	if r == nil || r.SubscribersURL == nil {
7842		return ""
7843	}
7844	return *r.SubscribersURL
7845}
7846
7847// GetSubscriptionURL returns the SubscriptionURL field if it's non-nil, zero value otherwise.
7848func (r *Repository) GetSubscriptionURL() string {
7849	if r == nil || r.SubscriptionURL == nil {
7850		return ""
7851	}
7852	return *r.SubscriptionURL
7853}
7854
7855// GetSVNURL returns the SVNURL field if it's non-nil, zero value otherwise.
7856func (r *Repository) GetSVNURL() string {
7857	if r == nil || r.SVNURL == nil {
7858		return ""
7859	}
7860	return *r.SVNURL
7861}
7862
7863// GetTagsURL returns the TagsURL field if it's non-nil, zero value otherwise.
7864func (r *Repository) GetTagsURL() string {
7865	if r == nil || r.TagsURL == nil {
7866		return ""
7867	}
7868	return *r.TagsURL
7869}
7870
7871// GetTeamID returns the TeamID field if it's non-nil, zero value otherwise.
7872func (r *Repository) GetTeamID() int64 {
7873	if r == nil || r.TeamID == nil {
7874		return 0
7875	}
7876	return *r.TeamID
7877}
7878
7879// GetTeamsURL returns the TeamsURL field if it's non-nil, zero value otherwise.
7880func (r *Repository) GetTeamsURL() string {
7881	if r == nil || r.TeamsURL == nil {
7882		return ""
7883	}
7884	return *r.TeamsURL
7885}
7886
7887// GetTreesURL returns the TreesURL field if it's non-nil, zero value otherwise.
7888func (r *Repository) GetTreesURL() string {
7889	if r == nil || r.TreesURL == nil {
7890		return ""
7891	}
7892	return *r.TreesURL
7893}
7894
7895// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
7896func (r *Repository) GetUpdatedAt() Timestamp {
7897	if r == nil || r.UpdatedAt == nil {
7898		return Timestamp{}
7899	}
7900	return *r.UpdatedAt
7901}
7902
7903// GetURL returns the URL field if it's non-nil, zero value otherwise.
7904func (r *Repository) GetURL() string {
7905	if r == nil || r.URL == nil {
7906		return ""
7907	}
7908	return *r.URL
7909}
7910
7911// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise.
7912func (r *Repository) GetWatchersCount() int {
7913	if r == nil || r.WatchersCount == nil {
7914		return 0
7915	}
7916	return *r.WatchersCount
7917}
7918
7919// GetBody returns the Body field if it's non-nil, zero value otherwise.
7920func (r *RepositoryComment) GetBody() string {
7921	if r == nil || r.Body == nil {
7922		return ""
7923	}
7924	return *r.Body
7925}
7926
7927// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
7928func (r *RepositoryComment) GetCommitID() string {
7929	if r == nil || r.CommitID == nil {
7930		return ""
7931	}
7932	return *r.CommitID
7933}
7934
7935// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
7936func (r *RepositoryComment) GetCreatedAt() time.Time {
7937	if r == nil || r.CreatedAt == nil {
7938		return time.Time{}
7939	}
7940	return *r.CreatedAt
7941}
7942
7943// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
7944func (r *RepositoryComment) GetHTMLURL() string {
7945	if r == nil || r.HTMLURL == nil {
7946		return ""
7947	}
7948	return *r.HTMLURL
7949}
7950
7951// GetID returns the ID field if it's non-nil, zero value otherwise.
7952func (r *RepositoryComment) GetID() int64 {
7953	if r == nil || r.ID == nil {
7954		return 0
7955	}
7956	return *r.ID
7957}
7958
7959// GetPath returns the Path field if it's non-nil, zero value otherwise.
7960func (r *RepositoryComment) GetPath() string {
7961	if r == nil || r.Path == nil {
7962		return ""
7963	}
7964	return *r.Path
7965}
7966
7967// GetPosition returns the Position field if it's non-nil, zero value otherwise.
7968func (r *RepositoryComment) GetPosition() int {
7969	if r == nil || r.Position == nil {
7970		return 0
7971	}
7972	return *r.Position
7973}
7974
7975// GetReactions returns the Reactions field.
7976func (r *RepositoryComment) GetReactions() *Reactions {
7977	if r == nil {
7978		return nil
7979	}
7980	return r.Reactions
7981}
7982
7983// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
7984func (r *RepositoryComment) GetUpdatedAt() time.Time {
7985	if r == nil || r.UpdatedAt == nil {
7986		return time.Time{}
7987	}
7988	return *r.UpdatedAt
7989}
7990
7991// GetURL returns the URL field if it's non-nil, zero value otherwise.
7992func (r *RepositoryComment) GetURL() string {
7993	if r == nil || r.URL == nil {
7994		return ""
7995	}
7996	return *r.URL
7997}
7998
7999// GetUser returns the User field.
8000func (r *RepositoryComment) GetUser() *User {
8001	if r == nil {
8002		return nil
8003	}
8004	return r.User
8005}
8006
8007// GetAuthor returns the Author field.
8008func (r *RepositoryCommit) GetAuthor() *User {
8009	if r == nil {
8010		return nil
8011	}
8012	return r.Author
8013}
8014
8015// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
8016func (r *RepositoryCommit) GetCommentsURL() string {
8017	if r == nil || r.CommentsURL == nil {
8018		return ""
8019	}
8020	return *r.CommentsURL
8021}
8022
8023// GetCommit returns the Commit field.
8024func (r *RepositoryCommit) GetCommit() *Commit {
8025	if r == nil {
8026		return nil
8027	}
8028	return r.Commit
8029}
8030
8031// GetCommitter returns the Committer field.
8032func (r *RepositoryCommit) GetCommitter() *User {
8033	if r == nil {
8034		return nil
8035	}
8036	return r.Committer
8037}
8038
8039// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
8040func (r *RepositoryCommit) GetHTMLURL() string {
8041	if r == nil || r.HTMLURL == nil {
8042		return ""
8043	}
8044	return *r.HTMLURL
8045}
8046
8047// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
8048func (r *RepositoryCommit) GetSHA() string {
8049	if r == nil || r.SHA == nil {
8050		return ""
8051	}
8052	return *r.SHA
8053}
8054
8055// GetStats returns the Stats field.
8056func (r *RepositoryCommit) GetStats() *CommitStats {
8057	if r == nil {
8058		return nil
8059	}
8060	return r.Stats
8061}
8062
8063// GetURL returns the URL field if it's non-nil, zero value otherwise.
8064func (r *RepositoryCommit) GetURL() string {
8065	if r == nil || r.URL == nil {
8066		return ""
8067	}
8068	return *r.URL
8069}
8070
8071// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise.
8072func (r *RepositoryContent) GetDownloadURL() string {
8073	if r == nil || r.DownloadURL == nil {
8074		return ""
8075	}
8076	return *r.DownloadURL
8077}
8078
8079// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise.
8080func (r *RepositoryContent) GetEncoding() string {
8081	if r == nil || r.Encoding == nil {
8082		return ""
8083	}
8084	return *r.Encoding
8085}
8086
8087// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise.
8088func (r *RepositoryContent) GetGitURL() string {
8089	if r == nil || r.GitURL == nil {
8090		return ""
8091	}
8092	return *r.GitURL
8093}
8094
8095// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
8096func (r *RepositoryContent) GetHTMLURL() string {
8097	if r == nil || r.HTMLURL == nil {
8098		return ""
8099	}
8100	return *r.HTMLURL
8101}
8102
8103// GetName returns the Name field if it's non-nil, zero value otherwise.
8104func (r *RepositoryContent) GetName() string {
8105	if r == nil || r.Name == nil {
8106		return ""
8107	}
8108	return *r.Name
8109}
8110
8111// GetPath returns the Path field if it's non-nil, zero value otherwise.
8112func (r *RepositoryContent) GetPath() string {
8113	if r == nil || r.Path == nil {
8114		return ""
8115	}
8116	return *r.Path
8117}
8118
8119// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
8120func (r *RepositoryContent) GetSHA() string {
8121	if r == nil || r.SHA == nil {
8122		return ""
8123	}
8124	return *r.SHA
8125}
8126
8127// GetSize returns the Size field if it's non-nil, zero value otherwise.
8128func (r *RepositoryContent) GetSize() int {
8129	if r == nil || r.Size == nil {
8130		return 0
8131	}
8132	return *r.Size
8133}
8134
8135// GetType returns the Type field if it's non-nil, zero value otherwise.
8136func (r *RepositoryContent) GetType() string {
8137	if r == nil || r.Type == nil {
8138		return ""
8139	}
8140	return *r.Type
8141}
8142
8143// GetURL returns the URL field if it's non-nil, zero value otherwise.
8144func (r *RepositoryContent) GetURL() string {
8145	if r == nil || r.URL == nil {
8146		return ""
8147	}
8148	return *r.URL
8149}
8150
8151// GetAuthor returns the Author field.
8152func (r *RepositoryContentFileOptions) GetAuthor() *CommitAuthor {
8153	if r == nil {
8154		return nil
8155	}
8156	return r.Author
8157}
8158
8159// GetBranch returns the Branch field if it's non-nil, zero value otherwise.
8160func (r *RepositoryContentFileOptions) GetBranch() string {
8161	if r == nil || r.Branch == nil {
8162		return ""
8163	}
8164	return *r.Branch
8165}
8166
8167// GetCommitter returns the Committer field.
8168func (r *RepositoryContentFileOptions) GetCommitter() *CommitAuthor {
8169	if r == nil {
8170		return nil
8171	}
8172	return r.Committer
8173}
8174
8175// GetMessage returns the Message field if it's non-nil, zero value otherwise.
8176func (r *RepositoryContentFileOptions) GetMessage() string {
8177	if r == nil || r.Message == nil {
8178		return ""
8179	}
8180	return *r.Message
8181}
8182
8183// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
8184func (r *RepositoryContentFileOptions) GetSHA() string {
8185	if r == nil || r.SHA == nil {
8186		return ""
8187	}
8188	return *r.SHA
8189}
8190
8191// GetContent returns the Content field.
8192func (r *RepositoryContentResponse) GetContent() *RepositoryContent {
8193	if r == nil {
8194		return nil
8195	}
8196	return r.Content
8197}
8198
8199// GetAction returns the Action field if it's non-nil, zero value otherwise.
8200func (r *RepositoryEvent) GetAction() string {
8201	if r == nil || r.Action == nil {
8202		return ""
8203	}
8204	return *r.Action
8205}
8206
8207// GetInstallation returns the Installation field.
8208func (r *RepositoryEvent) GetInstallation() *Installation {
8209	if r == nil {
8210		return nil
8211	}
8212	return r.Installation
8213}
8214
8215// GetOrg returns the Org field.
8216func (r *RepositoryEvent) GetOrg() *Organization {
8217	if r == nil {
8218		return nil
8219	}
8220	return r.Org
8221}
8222
8223// GetRepo returns the Repo field.
8224func (r *RepositoryEvent) GetRepo() *Repository {
8225	if r == nil {
8226		return nil
8227	}
8228	return r.Repo
8229}
8230
8231// GetSender returns the Sender field.
8232func (r *RepositoryEvent) GetSender() *User {
8233	if r == nil {
8234		return nil
8235	}
8236	return r.Sender
8237}
8238
8239// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
8240func (r *RepositoryInvitation) GetCreatedAt() Timestamp {
8241	if r == nil || r.CreatedAt == nil {
8242		return Timestamp{}
8243	}
8244	return *r.CreatedAt
8245}
8246
8247// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
8248func (r *RepositoryInvitation) GetHTMLURL() string {
8249	if r == nil || r.HTMLURL == nil {
8250		return ""
8251	}
8252	return *r.HTMLURL
8253}
8254
8255// GetID returns the ID field if it's non-nil, zero value otherwise.
8256func (r *RepositoryInvitation) GetID() int64 {
8257	if r == nil || r.ID == nil {
8258		return 0
8259	}
8260	return *r.ID
8261}
8262
8263// GetInvitee returns the Invitee field.
8264func (r *RepositoryInvitation) GetInvitee() *User {
8265	if r == nil {
8266		return nil
8267	}
8268	return r.Invitee
8269}
8270
8271// GetInviter returns the Inviter field.
8272func (r *RepositoryInvitation) GetInviter() *User {
8273	if r == nil {
8274		return nil
8275	}
8276	return r.Inviter
8277}
8278
8279// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.
8280func (r *RepositoryInvitation) GetPermissions() string {
8281	if r == nil || r.Permissions == nil {
8282		return ""
8283	}
8284	return *r.Permissions
8285}
8286
8287// GetRepo returns the Repo field.
8288func (r *RepositoryInvitation) GetRepo() *Repository {
8289	if r == nil {
8290		return nil
8291	}
8292	return r.Repo
8293}
8294
8295// GetURL returns the URL field if it's non-nil, zero value otherwise.
8296func (r *RepositoryInvitation) GetURL() string {
8297	if r == nil || r.URL == nil {
8298		return ""
8299	}
8300	return *r.URL
8301}
8302
8303// GetContent returns the Content field if it's non-nil, zero value otherwise.
8304func (r *RepositoryLicense) GetContent() string {
8305	if r == nil || r.Content == nil {
8306		return ""
8307	}
8308	return *r.Content
8309}
8310
8311// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise.
8312func (r *RepositoryLicense) GetDownloadURL() string {
8313	if r == nil || r.DownloadURL == nil {
8314		return ""
8315	}
8316	return *r.DownloadURL
8317}
8318
8319// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise.
8320func (r *RepositoryLicense) GetEncoding() string {
8321	if r == nil || r.Encoding == nil {
8322		return ""
8323	}
8324	return *r.Encoding
8325}
8326
8327// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise.
8328func (r *RepositoryLicense) GetGitURL() string {
8329	if r == nil || r.GitURL == nil {
8330		return ""
8331	}
8332	return *r.GitURL
8333}
8334
8335// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
8336func (r *RepositoryLicense) GetHTMLURL() string {
8337	if r == nil || r.HTMLURL == nil {
8338		return ""
8339	}
8340	return *r.HTMLURL
8341}
8342
8343// GetLicense returns the License field.
8344func (r *RepositoryLicense) GetLicense() *License {
8345	if r == nil {
8346		return nil
8347	}
8348	return r.License
8349}
8350
8351// GetName returns the Name field if it's non-nil, zero value otherwise.
8352func (r *RepositoryLicense) GetName() string {
8353	if r == nil || r.Name == nil {
8354		return ""
8355	}
8356	return *r.Name
8357}
8358
8359// GetPath returns the Path field if it's non-nil, zero value otherwise.
8360func (r *RepositoryLicense) GetPath() string {
8361	if r == nil || r.Path == nil {
8362		return ""
8363	}
8364	return *r.Path
8365}
8366
8367// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
8368func (r *RepositoryLicense) GetSHA() string {
8369	if r == nil || r.SHA == nil {
8370		return ""
8371	}
8372	return *r.SHA
8373}
8374
8375// GetSize returns the Size field if it's non-nil, zero value otherwise.
8376func (r *RepositoryLicense) GetSize() int {
8377	if r == nil || r.Size == nil {
8378		return 0
8379	}
8380	return *r.Size
8381}
8382
8383// GetType returns the Type field if it's non-nil, zero value otherwise.
8384func (r *RepositoryLicense) GetType() string {
8385	if r == nil || r.Type == nil {
8386		return ""
8387	}
8388	return *r.Type
8389}
8390
8391// GetURL returns the URL field if it's non-nil, zero value otherwise.
8392func (r *RepositoryLicense) GetURL() string {
8393	if r == nil || r.URL == nil {
8394		return ""
8395	}
8396	return *r.URL
8397}
8398
8399// GetBase returns the Base field if it's non-nil, zero value otherwise.
8400func (r *RepositoryMergeRequest) GetBase() string {
8401	if r == nil || r.Base == nil {
8402		return ""
8403	}
8404	return *r.Base
8405}
8406
8407// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise.
8408func (r *RepositoryMergeRequest) GetCommitMessage() string {
8409	if r == nil || r.CommitMessage == nil {
8410		return ""
8411	}
8412	return *r.CommitMessage
8413}
8414
8415// GetHead returns the Head field if it's non-nil, zero value otherwise.
8416func (r *RepositoryMergeRequest) GetHead() string {
8417	if r == nil || r.Head == nil {
8418		return ""
8419	}
8420	return *r.Head
8421}
8422
8423// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
8424func (r *RepositoryPermissionLevel) GetPermission() string {
8425	if r == nil || r.Permission == nil {
8426		return ""
8427	}
8428	return *r.Permission
8429}
8430
8431// GetUser returns the User field.
8432func (r *RepositoryPermissionLevel) GetUser() *User {
8433	if r == nil {
8434		return nil
8435	}
8436	return r.User
8437}
8438
8439// GetAssetsURL returns the AssetsURL field if it's non-nil, zero value otherwise.
8440func (r *RepositoryRelease) GetAssetsURL() string {
8441	if r == nil || r.AssetsURL == nil {
8442		return ""
8443	}
8444	return *r.AssetsURL
8445}
8446
8447// GetAuthor returns the Author field.
8448func (r *RepositoryRelease) GetAuthor() *User {
8449	if r == nil {
8450		return nil
8451	}
8452	return r.Author
8453}
8454
8455// GetBody returns the Body field if it's non-nil, zero value otherwise.
8456func (r *RepositoryRelease) GetBody() string {
8457	if r == nil || r.Body == nil {
8458		return ""
8459	}
8460	return *r.Body
8461}
8462
8463// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
8464func (r *RepositoryRelease) GetCreatedAt() Timestamp {
8465	if r == nil || r.CreatedAt == nil {
8466		return Timestamp{}
8467	}
8468	return *r.CreatedAt
8469}
8470
8471// GetDraft returns the Draft field if it's non-nil, zero value otherwise.
8472func (r *RepositoryRelease) GetDraft() bool {
8473	if r == nil || r.Draft == nil {
8474		return false
8475	}
8476	return *r.Draft
8477}
8478
8479// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
8480func (r *RepositoryRelease) GetHTMLURL() string {
8481	if r == nil || r.HTMLURL == nil {
8482		return ""
8483	}
8484	return *r.HTMLURL
8485}
8486
8487// GetID returns the ID field if it's non-nil, zero value otherwise.
8488func (r *RepositoryRelease) GetID() int64 {
8489	if r == nil || r.ID == nil {
8490		return 0
8491	}
8492	return *r.ID
8493}
8494
8495// GetName returns the Name field if it's non-nil, zero value otherwise.
8496func (r *RepositoryRelease) GetName() string {
8497	if r == nil || r.Name == nil {
8498		return ""
8499	}
8500	return *r.Name
8501}
8502
8503// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise.
8504func (r *RepositoryRelease) GetPrerelease() bool {
8505	if r == nil || r.Prerelease == nil {
8506		return false
8507	}
8508	return *r.Prerelease
8509}
8510
8511// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise.
8512func (r *RepositoryRelease) GetPublishedAt() Timestamp {
8513	if r == nil || r.PublishedAt == nil {
8514		return Timestamp{}
8515	}
8516	return *r.PublishedAt
8517}
8518
8519// GetTagName returns the TagName field if it's non-nil, zero value otherwise.
8520func (r *RepositoryRelease) GetTagName() string {
8521	if r == nil || r.TagName == nil {
8522		return ""
8523	}
8524	return *r.TagName
8525}
8526
8527// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise.
8528func (r *RepositoryRelease) GetTarballURL() string {
8529	if r == nil || r.TarballURL == nil {
8530		return ""
8531	}
8532	return *r.TarballURL
8533}
8534
8535// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise.
8536func (r *RepositoryRelease) GetTargetCommitish() string {
8537	if r == nil || r.TargetCommitish == nil {
8538		return ""
8539	}
8540	return *r.TargetCommitish
8541}
8542
8543// GetUploadURL returns the UploadURL field if it's non-nil, zero value otherwise.
8544func (r *RepositoryRelease) GetUploadURL() string {
8545	if r == nil || r.UploadURL == nil {
8546		return ""
8547	}
8548	return *r.UploadURL
8549}
8550
8551// GetURL returns the URL field if it's non-nil, zero value otherwise.
8552func (r *RepositoryRelease) GetURL() string {
8553	if r == nil || r.URL == nil {
8554		return ""
8555	}
8556	return *r.URL
8557}
8558
8559// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise.
8560func (r *RepositoryRelease) GetZipballURL() string {
8561	if r == nil || r.ZipballURL == nil {
8562		return ""
8563	}
8564	return *r.ZipballURL
8565}
8566
8567// GetCommit returns the Commit field.
8568func (r *RepositoryTag) GetCommit() *Commit {
8569	if r == nil {
8570		return nil
8571	}
8572	return r.Commit
8573}
8574
8575// GetName returns the Name field if it's non-nil, zero value otherwise.
8576func (r *RepositoryTag) GetName() string {
8577	if r == nil || r.Name == nil {
8578		return ""
8579	}
8580	return *r.Name
8581}
8582
8583// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise.
8584func (r *RepositoryTag) GetTarballURL() string {
8585	if r == nil || r.TarballURL == nil {
8586		return ""
8587	}
8588	return *r.TarballURL
8589}
8590
8591// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise.
8592func (r *RepositoryTag) GetZipballURL() string {
8593	if r == nil || r.ZipballURL == nil {
8594		return ""
8595	}
8596	return *r.ZipballURL
8597}
8598
8599// GetForkRepos returns the ForkRepos field if it's non-nil, zero value otherwise.
8600func (r *RepoStats) GetForkRepos() int {
8601	if r == nil || r.ForkRepos == nil {
8602		return 0
8603	}
8604	return *r.ForkRepos
8605}
8606
8607// GetOrgRepos returns the OrgRepos field if it's non-nil, zero value otherwise.
8608func (r *RepoStats) GetOrgRepos() int {
8609	if r == nil || r.OrgRepos == nil {
8610		return 0
8611	}
8612	return *r.OrgRepos
8613}
8614
8615// GetRootRepos returns the RootRepos field if it's non-nil, zero value otherwise.
8616func (r *RepoStats) GetRootRepos() int {
8617	if r == nil || r.RootRepos == nil {
8618		return 0
8619	}
8620	return *r.RootRepos
8621}
8622
8623// GetTotalPushes returns the TotalPushes field if it's non-nil, zero value otherwise.
8624func (r *RepoStats) GetTotalPushes() int {
8625	if r == nil || r.TotalPushes == nil {
8626		return 0
8627	}
8628	return *r.TotalPushes
8629}
8630
8631// GetTotalRepos returns the TotalRepos field if it's non-nil, zero value otherwise.
8632func (r *RepoStats) GetTotalRepos() int {
8633	if r == nil || r.TotalRepos == nil {
8634		return 0
8635	}
8636	return *r.TotalRepos
8637}
8638
8639// GetTotalWikis returns the TotalWikis field if it's non-nil, zero value otherwise.
8640func (r *RepoStats) GetTotalWikis() int {
8641	if r == nil || r.TotalWikis == nil {
8642		return 0
8643	}
8644	return *r.TotalWikis
8645}
8646
8647// GetContext returns the Context field if it's non-nil, zero value otherwise.
8648func (r *RepoStatus) GetContext() string {
8649	if r == nil || r.Context == nil {
8650		return ""
8651	}
8652	return *r.Context
8653}
8654
8655// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
8656func (r *RepoStatus) GetCreatedAt() time.Time {
8657	if r == nil || r.CreatedAt == nil {
8658		return time.Time{}
8659	}
8660	return *r.CreatedAt
8661}
8662
8663// GetCreator returns the Creator field.
8664func (r *RepoStatus) GetCreator() *User {
8665	if r == nil {
8666		return nil
8667	}
8668	return r.Creator
8669}
8670
8671// GetDescription returns the Description field if it's non-nil, zero value otherwise.
8672func (r *RepoStatus) GetDescription() string {
8673	if r == nil || r.Description == nil {
8674		return ""
8675	}
8676	return *r.Description
8677}
8678
8679// GetID returns the ID field if it's non-nil, zero value otherwise.
8680func (r *RepoStatus) GetID() int64 {
8681	if r == nil || r.ID == nil {
8682		return 0
8683	}
8684	return *r.ID
8685}
8686
8687// GetState returns the State field if it's non-nil, zero value otherwise.
8688func (r *RepoStatus) GetState() string {
8689	if r == nil || r.State == nil {
8690		return ""
8691	}
8692	return *r.State
8693}
8694
8695// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise.
8696func (r *RepoStatus) GetTargetURL() string {
8697	if r == nil || r.TargetURL == nil {
8698		return ""
8699	}
8700	return *r.TargetURL
8701}
8702
8703// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
8704func (r *RepoStatus) GetUpdatedAt() time.Time {
8705	if r == nil || r.UpdatedAt == nil {
8706		return time.Time{}
8707	}
8708	return *r.UpdatedAt
8709}
8710
8711// GetURL returns the URL field if it's non-nil, zero value otherwise.
8712func (r *RepoStatus) GetURL() string {
8713	if r == nil || r.URL == nil {
8714		return ""
8715	}
8716	return *r.URL
8717}
8718
8719// GetName returns the Name field if it's non-nil, zero value otherwise.
8720func (s *ServiceHook) GetName() string {
8721	if s == nil || s.Name == nil {
8722		return ""
8723	}
8724	return *s.Name
8725}
8726
8727// GetPayload returns the Payload field if it's non-nil, zero value otherwise.
8728func (s *SignatureVerification) GetPayload() string {
8729	if s == nil || s.Payload == nil {
8730		return ""
8731	}
8732	return *s.Payload
8733}
8734
8735// GetReason returns the Reason field if it's non-nil, zero value otherwise.
8736func (s *SignatureVerification) GetReason() string {
8737	if s == nil || s.Reason == nil {
8738		return ""
8739	}
8740	return *s.Reason
8741}
8742
8743// GetSignature returns the Signature field if it's non-nil, zero value otherwise.
8744func (s *SignatureVerification) GetSignature() string {
8745	if s == nil || s.Signature == nil {
8746		return ""
8747	}
8748	return *s.Signature
8749}
8750
8751// GetVerified returns the Verified field if it's non-nil, zero value otherwise.
8752func (s *SignatureVerification) GetVerified() bool {
8753	if s == nil || s.Verified == nil {
8754		return false
8755	}
8756	return *s.Verified
8757}
8758
8759// GetActor returns the Actor field.
8760func (s *Source) GetActor() *User {
8761	if s == nil {
8762		return nil
8763	}
8764	return s.Actor
8765}
8766
8767// GetID returns the ID field if it's non-nil, zero value otherwise.
8768func (s *Source) GetID() int64 {
8769	if s == nil || s.ID == nil {
8770		return 0
8771	}
8772	return *s.ID
8773}
8774
8775// GetURL returns the URL field if it's non-nil, zero value otherwise.
8776func (s *Source) GetURL() string {
8777	if s == nil || s.URL == nil {
8778		return ""
8779	}
8780	return *s.URL
8781}
8782
8783// GetEmail returns the Email field if it's non-nil, zero value otherwise.
8784func (s *SourceImportAuthor) GetEmail() string {
8785	if s == nil || s.Email == nil {
8786		return ""
8787	}
8788	return *s.Email
8789}
8790
8791// GetID returns the ID field if it's non-nil, zero value otherwise.
8792func (s *SourceImportAuthor) GetID() int64 {
8793	if s == nil || s.ID == nil {
8794		return 0
8795	}
8796	return *s.ID
8797}
8798
8799// GetImportURL returns the ImportURL field if it's non-nil, zero value otherwise.
8800func (s *SourceImportAuthor) GetImportURL() string {
8801	if s == nil || s.ImportURL == nil {
8802		return ""
8803	}
8804	return *s.ImportURL
8805}
8806
8807// GetName returns the Name field if it's non-nil, zero value otherwise.
8808func (s *SourceImportAuthor) GetName() string {
8809	if s == nil || s.Name == nil {
8810		return ""
8811	}
8812	return *s.Name
8813}
8814
8815// GetRemoteID returns the RemoteID field if it's non-nil, zero value otherwise.
8816func (s *SourceImportAuthor) GetRemoteID() string {
8817	if s == nil || s.RemoteID == nil {
8818		return ""
8819	}
8820	return *s.RemoteID
8821}
8822
8823// GetRemoteName returns the RemoteName field if it's non-nil, zero value otherwise.
8824func (s *SourceImportAuthor) GetRemoteName() string {
8825	if s == nil || s.RemoteName == nil {
8826		return ""
8827	}
8828	return *s.RemoteName
8829}
8830
8831// GetURL returns the URL field if it's non-nil, zero value otherwise.
8832func (s *SourceImportAuthor) GetURL() string {
8833	if s == nil || s.URL == nil {
8834		return ""
8835	}
8836	return *s.URL
8837}
8838
8839// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise.
8840func (s *Stargazer) GetStarredAt() Timestamp {
8841	if s == nil || s.StarredAt == nil {
8842		return Timestamp{}
8843	}
8844	return *s.StarredAt
8845}
8846
8847// GetUser returns the User field.
8848func (s *Stargazer) GetUser() *User {
8849	if s == nil {
8850		return nil
8851	}
8852	return s.User
8853}
8854
8855// GetRepository returns the Repository field.
8856func (s *StarredRepository) GetRepository() *Repository {
8857	if s == nil {
8858		return nil
8859	}
8860	return s.Repository
8861}
8862
8863// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise.
8864func (s *StarredRepository) GetStarredAt() Timestamp {
8865	if s == nil || s.StarredAt == nil {
8866		return Timestamp{}
8867	}
8868	return *s.StarredAt
8869}
8870
8871// GetCommit returns the Commit field.
8872func (s *StatusEvent) GetCommit() *RepositoryCommit {
8873	if s == nil {
8874		return nil
8875	}
8876	return s.Commit
8877}
8878
8879// GetContext returns the Context field if it's non-nil, zero value otherwise.
8880func (s *StatusEvent) GetContext() string {
8881	if s == nil || s.Context == nil {
8882		return ""
8883	}
8884	return *s.Context
8885}
8886
8887// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
8888func (s *StatusEvent) GetCreatedAt() Timestamp {
8889	if s == nil || s.CreatedAt == nil {
8890		return Timestamp{}
8891	}
8892	return *s.CreatedAt
8893}
8894
8895// GetDescription returns the Description field if it's non-nil, zero value otherwise.
8896func (s *StatusEvent) GetDescription() string {
8897	if s == nil || s.Description == nil {
8898		return ""
8899	}
8900	return *s.Description
8901}
8902
8903// GetID returns the ID field if it's non-nil, zero value otherwise.
8904func (s *StatusEvent) GetID() int64 {
8905	if s == nil || s.ID == nil {
8906		return 0
8907	}
8908	return *s.ID
8909}
8910
8911// GetInstallation returns the Installation field.
8912func (s *StatusEvent) GetInstallation() *Installation {
8913	if s == nil {
8914		return nil
8915	}
8916	return s.Installation
8917}
8918
8919// GetName returns the Name field if it's non-nil, zero value otherwise.
8920func (s *StatusEvent) GetName() string {
8921	if s == nil || s.Name == nil {
8922		return ""
8923	}
8924	return *s.Name
8925}
8926
8927// GetRepo returns the Repo field.
8928func (s *StatusEvent) GetRepo() *Repository {
8929	if s == nil {
8930		return nil
8931	}
8932	return s.Repo
8933}
8934
8935// GetSender returns the Sender field.
8936func (s *StatusEvent) GetSender() *User {
8937	if s == nil {
8938		return nil
8939	}
8940	return s.Sender
8941}
8942
8943// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
8944func (s *StatusEvent) GetSHA() string {
8945	if s == nil || s.SHA == nil {
8946		return ""
8947	}
8948	return *s.SHA
8949}
8950
8951// GetState returns the State field if it's non-nil, zero value otherwise.
8952func (s *StatusEvent) GetState() string {
8953	if s == nil || s.State == nil {
8954		return ""
8955	}
8956	return *s.State
8957}
8958
8959// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise.
8960func (s *StatusEvent) GetTargetURL() string {
8961	if s == nil || s.TargetURL == nil {
8962		return ""
8963	}
8964	return *s.TargetURL
8965}
8966
8967// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
8968func (s *StatusEvent) GetUpdatedAt() Timestamp {
8969	if s == nil || s.UpdatedAt == nil {
8970		return Timestamp{}
8971	}
8972	return *s.UpdatedAt
8973}
8974
8975// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
8976func (s *Subscription) GetCreatedAt() Timestamp {
8977	if s == nil || s.CreatedAt == nil {
8978		return Timestamp{}
8979	}
8980	return *s.CreatedAt
8981}
8982
8983// GetIgnored returns the Ignored field if it's non-nil, zero value otherwise.
8984func (s *Subscription) GetIgnored() bool {
8985	if s == nil || s.Ignored == nil {
8986		return false
8987	}
8988	return *s.Ignored
8989}
8990
8991// GetReason returns the Reason field if it's non-nil, zero value otherwise.
8992func (s *Subscription) GetReason() string {
8993	if s == nil || s.Reason == nil {
8994		return ""
8995	}
8996	return *s.Reason
8997}
8998
8999// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
9000func (s *Subscription) GetRepositoryURL() string {
9001	if s == nil || s.RepositoryURL == nil {
9002		return ""
9003	}
9004	return *s.RepositoryURL
9005}
9006
9007// GetSubscribed returns the Subscribed field if it's non-nil, zero value otherwise.
9008func (s *Subscription) GetSubscribed() bool {
9009	if s == nil || s.Subscribed == nil {
9010		return false
9011	}
9012	return *s.Subscribed
9013}
9014
9015// GetThreadURL returns the ThreadURL field if it's non-nil, zero value otherwise.
9016func (s *Subscription) GetThreadURL() string {
9017	if s == nil || s.ThreadURL == nil {
9018		return ""
9019	}
9020	return *s.ThreadURL
9021}
9022
9023// GetURL returns the URL field if it's non-nil, zero value otherwise.
9024func (s *Subscription) GetURL() string {
9025	if s == nil || s.URL == nil {
9026		return ""
9027	}
9028	return *s.URL
9029}
9030
9031// GetMessage returns the Message field if it's non-nil, zero value otherwise.
9032func (t *Tag) GetMessage() string {
9033	if t == nil || t.Message == nil {
9034		return ""
9035	}
9036	return *t.Message
9037}
9038
9039// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
9040func (t *Tag) GetNodeID() string {
9041	if t == nil || t.NodeID == nil {
9042		return ""
9043	}
9044	return *t.NodeID
9045}
9046
9047// GetObject returns the Object field.
9048func (t *Tag) GetObject() *GitObject {
9049	if t == nil {
9050		return nil
9051	}
9052	return t.Object
9053}
9054
9055// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
9056func (t *Tag) GetSHA() string {
9057	if t == nil || t.SHA == nil {
9058		return ""
9059	}
9060	return *t.SHA
9061}
9062
9063// GetTag returns the Tag field if it's non-nil, zero value otherwise.
9064func (t *Tag) GetTag() string {
9065	if t == nil || t.Tag == nil {
9066		return ""
9067	}
9068	return *t.Tag
9069}
9070
9071// GetTagger returns the Tagger field.
9072func (t *Tag) GetTagger() *CommitAuthor {
9073	if t == nil {
9074		return nil
9075	}
9076	return t.Tagger
9077}
9078
9079// GetURL returns the URL field if it's non-nil, zero value otherwise.
9080func (t *Tag) GetURL() string {
9081	if t == nil || t.URL == nil {
9082		return ""
9083	}
9084	return *t.URL
9085}
9086
9087// GetVerification returns the Verification field.
9088func (t *Tag) GetVerification() *SignatureVerification {
9089	if t == nil {
9090		return nil
9091	}
9092	return t.Verification
9093}
9094
9095// GetDescription returns the Description field if it's non-nil, zero value otherwise.
9096func (t *Team) GetDescription() string {
9097	if t == nil || t.Description == nil {
9098		return ""
9099	}
9100	return *t.Description
9101}
9102
9103// GetID returns the ID field if it's non-nil, zero value otherwise.
9104func (t *Team) GetID() int64 {
9105	if t == nil || t.ID == nil {
9106		return 0
9107	}
9108	return *t.ID
9109}
9110
9111// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise.
9112func (t *Team) GetLDAPDN() string {
9113	if t == nil || t.LDAPDN == nil {
9114		return ""
9115	}
9116	return *t.LDAPDN
9117}
9118
9119// GetMembersCount returns the MembersCount field if it's non-nil, zero value otherwise.
9120func (t *Team) GetMembersCount() int {
9121	if t == nil || t.MembersCount == nil {
9122		return 0
9123	}
9124	return *t.MembersCount
9125}
9126
9127// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise.
9128func (t *Team) GetMembersURL() string {
9129	if t == nil || t.MembersURL == nil {
9130		return ""
9131	}
9132	return *t.MembersURL
9133}
9134
9135// GetName returns the Name field if it's non-nil, zero value otherwise.
9136func (t *Team) GetName() string {
9137	if t == nil || t.Name == nil {
9138		return ""
9139	}
9140	return *t.Name
9141}
9142
9143// GetOrganization returns the Organization field.
9144func (t *Team) GetOrganization() *Organization {
9145	if t == nil {
9146		return nil
9147	}
9148	return t.Organization
9149}
9150
9151// GetParent returns the Parent field.
9152func (t *Team) GetParent() *Team {
9153	if t == nil {
9154		return nil
9155	}
9156	return t.Parent
9157}
9158
9159// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
9160func (t *Team) GetPermission() string {
9161	if t == nil || t.Permission == nil {
9162		return ""
9163	}
9164	return *t.Permission
9165}
9166
9167// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise.
9168func (t *Team) GetPrivacy() string {
9169	if t == nil || t.Privacy == nil {
9170		return ""
9171	}
9172	return *t.Privacy
9173}
9174
9175// GetReposCount returns the ReposCount field if it's non-nil, zero value otherwise.
9176func (t *Team) GetReposCount() int {
9177	if t == nil || t.ReposCount == nil {
9178		return 0
9179	}
9180	return *t.ReposCount
9181}
9182
9183// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise.
9184func (t *Team) GetRepositoriesURL() string {
9185	if t == nil || t.RepositoriesURL == nil {
9186		return ""
9187	}
9188	return *t.RepositoriesURL
9189}
9190
9191// GetSlug returns the Slug field if it's non-nil, zero value otherwise.
9192func (t *Team) GetSlug() string {
9193	if t == nil || t.Slug == nil {
9194		return ""
9195	}
9196	return *t.Slug
9197}
9198
9199// GetURL returns the URL field if it's non-nil, zero value otherwise.
9200func (t *Team) GetURL() string {
9201	if t == nil || t.URL == nil {
9202		return ""
9203	}
9204	return *t.URL
9205}
9206
9207// GetInstallation returns the Installation field.
9208func (t *TeamAddEvent) GetInstallation() *Installation {
9209	if t == nil {
9210		return nil
9211	}
9212	return t.Installation
9213}
9214
9215// GetOrg returns the Org field.
9216func (t *TeamAddEvent) GetOrg() *Organization {
9217	if t == nil {
9218		return nil
9219	}
9220	return t.Org
9221}
9222
9223// GetRepo returns the Repo field.
9224func (t *TeamAddEvent) GetRepo() *Repository {
9225	if t == nil {
9226		return nil
9227	}
9228	return t.Repo
9229}
9230
9231// GetSender returns the Sender field.
9232func (t *TeamAddEvent) GetSender() *User {
9233	if t == nil {
9234		return nil
9235	}
9236	return t.Sender
9237}
9238
9239// GetTeam returns the Team field.
9240func (t *TeamAddEvent) GetTeam() *Team {
9241	if t == nil {
9242		return nil
9243	}
9244	return t.Team
9245}
9246
9247// GetAction returns the Action field if it's non-nil, zero value otherwise.
9248func (t *TeamEvent) GetAction() string {
9249	if t == nil || t.Action == nil {
9250		return ""
9251	}
9252	return *t.Action
9253}
9254
9255// GetChanges returns the Changes field.
9256func (t *TeamEvent) GetChanges() *TeamChange {
9257	if t == nil {
9258		return nil
9259	}
9260	return t.Changes
9261}
9262
9263// GetInstallation returns the Installation field.
9264func (t *TeamEvent) GetInstallation() *Installation {
9265	if t == nil {
9266		return nil
9267	}
9268	return t.Installation
9269}
9270
9271// GetOrg returns the Org field.
9272func (t *TeamEvent) GetOrg() *Organization {
9273	if t == nil {
9274		return nil
9275	}
9276	return t.Org
9277}
9278
9279// GetRepo returns the Repo field.
9280func (t *TeamEvent) GetRepo() *Repository {
9281	if t == nil {
9282		return nil
9283	}
9284	return t.Repo
9285}
9286
9287// GetSender returns the Sender field.
9288func (t *TeamEvent) GetSender() *User {
9289	if t == nil {
9290		return nil
9291	}
9292	return t.Sender
9293}
9294
9295// GetTeam returns the Team field.
9296func (t *TeamEvent) GetTeam() *Team {
9297	if t == nil {
9298		return nil
9299	}
9300	return t.Team
9301}
9302
9303// GetDescription returns the Description field if it's non-nil, zero value otherwise.
9304func (t *TeamLDAPMapping) GetDescription() string {
9305	if t == nil || t.Description == nil {
9306		return ""
9307	}
9308	return *t.Description
9309}
9310
9311// GetID returns the ID field if it's non-nil, zero value otherwise.
9312func (t *TeamLDAPMapping) GetID() int64 {
9313	if t == nil || t.ID == nil {
9314		return 0
9315	}
9316	return *t.ID
9317}
9318
9319// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise.
9320func (t *TeamLDAPMapping) GetLDAPDN() string {
9321	if t == nil || t.LDAPDN == nil {
9322		return ""
9323	}
9324	return *t.LDAPDN
9325}
9326
9327// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise.
9328func (t *TeamLDAPMapping) GetMembersURL() string {
9329	if t == nil || t.MembersURL == nil {
9330		return ""
9331	}
9332	return *t.MembersURL
9333}
9334
9335// GetName returns the Name field if it's non-nil, zero value otherwise.
9336func (t *TeamLDAPMapping) GetName() string {
9337	if t == nil || t.Name == nil {
9338		return ""
9339	}
9340	return *t.Name
9341}
9342
9343// GetPermission returns the Permission field if it's non-nil, zero value otherwise.
9344func (t *TeamLDAPMapping) GetPermission() string {
9345	if t == nil || t.Permission == nil {
9346		return ""
9347	}
9348	return *t.Permission
9349}
9350
9351// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise.
9352func (t *TeamLDAPMapping) GetPrivacy() string {
9353	if t == nil || t.Privacy == nil {
9354		return ""
9355	}
9356	return *t.Privacy
9357}
9358
9359// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise.
9360func (t *TeamLDAPMapping) GetRepositoriesURL() string {
9361	if t == nil || t.RepositoriesURL == nil {
9362		return ""
9363	}
9364	return *t.RepositoriesURL
9365}
9366
9367// GetSlug returns the Slug field if it's non-nil, zero value otherwise.
9368func (t *TeamLDAPMapping) GetSlug() string {
9369	if t == nil || t.Slug == nil {
9370		return ""
9371	}
9372	return *t.Slug
9373}
9374
9375// GetURL returns the URL field if it's non-nil, zero value otherwise.
9376func (t *TeamLDAPMapping) GetURL() string {
9377	if t == nil || t.URL == nil {
9378		return ""
9379	}
9380	return *t.URL
9381}
9382
9383// GetFragment returns the Fragment field if it's non-nil, zero value otherwise.
9384func (t *TextMatch) GetFragment() string {
9385	if t == nil || t.Fragment == nil {
9386		return ""
9387	}
9388	return *t.Fragment
9389}
9390
9391// GetObjectType returns the ObjectType field if it's non-nil, zero value otherwise.
9392func (t *TextMatch) GetObjectType() string {
9393	if t == nil || t.ObjectType == nil {
9394		return ""
9395	}
9396	return *t.ObjectType
9397}
9398
9399// GetObjectURL returns the ObjectURL field if it's non-nil, zero value otherwise.
9400func (t *TextMatch) GetObjectURL() string {
9401	if t == nil || t.ObjectURL == nil {
9402		return ""
9403	}
9404	return *t.ObjectURL
9405}
9406
9407// GetProperty returns the Property field if it's non-nil, zero value otherwise.
9408func (t *TextMatch) GetProperty() string {
9409	if t == nil || t.Property == nil {
9410		return ""
9411	}
9412	return *t.Property
9413}
9414
9415// GetActor returns the Actor field.
9416func (t *Timeline) GetActor() *User {
9417	if t == nil {
9418		return nil
9419	}
9420	return t.Actor
9421}
9422
9423// GetAssignee returns the Assignee field.
9424func (t *Timeline) GetAssignee() *User {
9425	if t == nil {
9426		return nil
9427	}
9428	return t.Assignee
9429}
9430
9431// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
9432func (t *Timeline) GetCommitID() string {
9433	if t == nil || t.CommitID == nil {
9434		return ""
9435	}
9436	return *t.CommitID
9437}
9438
9439// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise.
9440func (t *Timeline) GetCommitURL() string {
9441	if t == nil || t.CommitURL == nil {
9442		return ""
9443	}
9444	return *t.CommitURL
9445}
9446
9447// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
9448func (t *Timeline) GetCreatedAt() time.Time {
9449	if t == nil || t.CreatedAt == nil {
9450		return time.Time{}
9451	}
9452	return *t.CreatedAt
9453}
9454
9455// GetEvent returns the Event field if it's non-nil, zero value otherwise.
9456func (t *Timeline) GetEvent() string {
9457	if t == nil || t.Event == nil {
9458		return ""
9459	}
9460	return *t.Event
9461}
9462
9463// GetID returns the ID field if it's non-nil, zero value otherwise.
9464func (t *Timeline) GetID() int64 {
9465	if t == nil || t.ID == nil {
9466		return 0
9467	}
9468	return *t.ID
9469}
9470
9471// GetLabel returns the Label field.
9472func (t *Timeline) GetLabel() *Label {
9473	if t == nil {
9474		return nil
9475	}
9476	return t.Label
9477}
9478
9479// GetMilestone returns the Milestone field.
9480func (t *Timeline) GetMilestone() *Milestone {
9481	if t == nil {
9482		return nil
9483	}
9484	return t.Milestone
9485}
9486
9487// GetRename returns the Rename field.
9488func (t *Timeline) GetRename() *Rename {
9489	if t == nil {
9490		return nil
9491	}
9492	return t.Rename
9493}
9494
9495// GetSource returns the Source field.
9496func (t *Timeline) GetSource() *Source {
9497	if t == nil {
9498		return nil
9499	}
9500	return t.Source
9501}
9502
9503// GetURL returns the URL field if it's non-nil, zero value otherwise.
9504func (t *Timeline) GetURL() string {
9505	if t == nil || t.URL == nil {
9506		return ""
9507	}
9508	return *t.URL
9509}
9510
9511// GetCount returns the Count field if it's non-nil, zero value otherwise.
9512func (t *TrafficClones) GetCount() int {
9513	if t == nil || t.Count == nil {
9514		return 0
9515	}
9516	return *t.Count
9517}
9518
9519// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
9520func (t *TrafficClones) GetUniques() int {
9521	if t == nil || t.Uniques == nil {
9522		return 0
9523	}
9524	return *t.Uniques
9525}
9526
9527// GetCount returns the Count field if it's non-nil, zero value otherwise.
9528func (t *TrafficData) GetCount() int {
9529	if t == nil || t.Count == nil {
9530		return 0
9531	}
9532	return *t.Count
9533}
9534
9535// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise.
9536func (t *TrafficData) GetTimestamp() Timestamp {
9537	if t == nil || t.Timestamp == nil {
9538		return Timestamp{}
9539	}
9540	return *t.Timestamp
9541}
9542
9543// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
9544func (t *TrafficData) GetUniques() int {
9545	if t == nil || t.Uniques == nil {
9546		return 0
9547	}
9548	return *t.Uniques
9549}
9550
9551// GetCount returns the Count field if it's non-nil, zero value otherwise.
9552func (t *TrafficPath) GetCount() int {
9553	if t == nil || t.Count == nil {
9554		return 0
9555	}
9556	return *t.Count
9557}
9558
9559// GetPath returns the Path field if it's non-nil, zero value otherwise.
9560func (t *TrafficPath) GetPath() string {
9561	if t == nil || t.Path == nil {
9562		return ""
9563	}
9564	return *t.Path
9565}
9566
9567// GetTitle returns the Title field if it's non-nil, zero value otherwise.
9568func (t *TrafficPath) GetTitle() string {
9569	if t == nil || t.Title == nil {
9570		return ""
9571	}
9572	return *t.Title
9573}
9574
9575// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
9576func (t *TrafficPath) GetUniques() int {
9577	if t == nil || t.Uniques == nil {
9578		return 0
9579	}
9580	return *t.Uniques
9581}
9582
9583// GetCount returns the Count field if it's non-nil, zero value otherwise.
9584func (t *TrafficReferrer) GetCount() int {
9585	if t == nil || t.Count == nil {
9586		return 0
9587	}
9588	return *t.Count
9589}
9590
9591// GetReferrer returns the Referrer field if it's non-nil, zero value otherwise.
9592func (t *TrafficReferrer) GetReferrer() string {
9593	if t == nil || t.Referrer == nil {
9594		return ""
9595	}
9596	return *t.Referrer
9597}
9598
9599// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
9600func (t *TrafficReferrer) GetUniques() int {
9601	if t == nil || t.Uniques == nil {
9602		return 0
9603	}
9604	return *t.Uniques
9605}
9606
9607// GetCount returns the Count field if it's non-nil, zero value otherwise.
9608func (t *TrafficViews) GetCount() int {
9609	if t == nil || t.Count == nil {
9610		return 0
9611	}
9612	return *t.Count
9613}
9614
9615// GetUniques returns the Uniques field if it's non-nil, zero value otherwise.
9616func (t *TrafficViews) GetUniques() int {
9617	if t == nil || t.Uniques == nil {
9618		return 0
9619	}
9620	return *t.Uniques
9621}
9622
9623// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
9624func (t *Tree) GetSHA() string {
9625	if t == nil || t.SHA == nil {
9626		return ""
9627	}
9628	return *t.SHA
9629}
9630
9631// GetContent returns the Content field if it's non-nil, zero value otherwise.
9632func (t *TreeEntry) GetContent() string {
9633	if t == nil || t.Content == nil {
9634		return ""
9635	}
9636	return *t.Content
9637}
9638
9639// GetMode returns the Mode field if it's non-nil, zero value otherwise.
9640func (t *TreeEntry) GetMode() string {
9641	if t == nil || t.Mode == nil {
9642		return ""
9643	}
9644	return *t.Mode
9645}
9646
9647// GetPath returns the Path field if it's non-nil, zero value otherwise.
9648func (t *TreeEntry) GetPath() string {
9649	if t == nil || t.Path == nil {
9650		return ""
9651	}
9652	return *t.Path
9653}
9654
9655// GetSHA returns the SHA field if it's non-nil, zero value otherwise.
9656func (t *TreeEntry) GetSHA() string {
9657	if t == nil || t.SHA == nil {
9658		return ""
9659	}
9660	return *t.SHA
9661}
9662
9663// GetSize returns the Size field if it's non-nil, zero value otherwise.
9664func (t *TreeEntry) GetSize() int {
9665	if t == nil || t.Size == nil {
9666		return 0
9667	}
9668	return *t.Size
9669}
9670
9671// GetType returns the Type field if it's non-nil, zero value otherwise.
9672func (t *TreeEntry) GetType() string {
9673	if t == nil || t.Type == nil {
9674		return ""
9675	}
9676	return *t.Type
9677}
9678
9679// GetURL returns the URL field if it's non-nil, zero value otherwise.
9680func (t *TreeEntry) GetURL() string {
9681	if t == nil || t.URL == nil {
9682		return ""
9683	}
9684	return *t.URL
9685}
9686
9687// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise.
9688func (u *User) GetAvatarURL() string {
9689	if u == nil || u.AvatarURL == nil {
9690		return ""
9691	}
9692	return *u.AvatarURL
9693}
9694
9695// GetBio returns the Bio field if it's non-nil, zero value otherwise.
9696func (u *User) GetBio() string {
9697	if u == nil || u.Bio == nil {
9698		return ""
9699	}
9700	return *u.Bio
9701}
9702
9703// GetBlog returns the Blog field if it's non-nil, zero value otherwise.
9704func (u *User) GetBlog() string {
9705	if u == nil || u.Blog == nil {
9706		return ""
9707	}
9708	return *u.Blog
9709}
9710
9711// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise.
9712func (u *User) GetCollaborators() int {
9713	if u == nil || u.Collaborators == nil {
9714		return 0
9715	}
9716	return *u.Collaborators
9717}
9718
9719// GetCompany returns the Company field if it's non-nil, zero value otherwise.
9720func (u *User) GetCompany() string {
9721	if u == nil || u.Company == nil {
9722		return ""
9723	}
9724	return *u.Company
9725}
9726
9727// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
9728func (u *User) GetCreatedAt() Timestamp {
9729	if u == nil || u.CreatedAt == nil {
9730		return Timestamp{}
9731	}
9732	return *u.CreatedAt
9733}
9734
9735// GetDiskUsage returns the DiskUsage field if it's non-nil, zero value otherwise.
9736func (u *User) GetDiskUsage() int {
9737	if u == nil || u.DiskUsage == nil {
9738		return 0
9739	}
9740	return *u.DiskUsage
9741}
9742
9743// GetEmail returns the Email field if it's non-nil, zero value otherwise.
9744func (u *User) GetEmail() string {
9745	if u == nil || u.Email == nil {
9746		return ""
9747	}
9748	return *u.Email
9749}
9750
9751// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
9752func (u *User) GetEventsURL() string {
9753	if u == nil || u.EventsURL == nil {
9754		return ""
9755	}
9756	return *u.EventsURL
9757}
9758
9759// GetFollowers returns the Followers field if it's non-nil, zero value otherwise.
9760func (u *User) GetFollowers() int {
9761	if u == nil || u.Followers == nil {
9762		return 0
9763	}
9764	return *u.Followers
9765}
9766
9767// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise.
9768func (u *User) GetFollowersURL() string {
9769	if u == nil || u.FollowersURL == nil {
9770		return ""
9771	}
9772	return *u.FollowersURL
9773}
9774
9775// GetFollowing returns the Following field if it's non-nil, zero value otherwise.
9776func (u *User) GetFollowing() int {
9777	if u == nil || u.Following == nil {
9778		return 0
9779	}
9780	return *u.Following
9781}
9782
9783// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise.
9784func (u *User) GetFollowingURL() string {
9785	if u == nil || u.FollowingURL == nil {
9786		return ""
9787	}
9788	return *u.FollowingURL
9789}
9790
9791// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise.
9792func (u *User) GetGistsURL() string {
9793	if u == nil || u.GistsURL == nil {
9794		return ""
9795	}
9796	return *u.GistsURL
9797}
9798
9799// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise.
9800func (u *User) GetGravatarID() string {
9801	if u == nil || u.GravatarID == nil {
9802		return ""
9803	}
9804	return *u.GravatarID
9805}
9806
9807// GetHireable returns the Hireable field if it's non-nil, zero value otherwise.
9808func (u *User) GetHireable() bool {
9809	if u == nil || u.Hireable == nil {
9810		return false
9811	}
9812	return *u.Hireable
9813}
9814
9815// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
9816func (u *User) GetHTMLURL() string {
9817	if u == nil || u.HTMLURL == nil {
9818		return ""
9819	}
9820	return *u.HTMLURL
9821}
9822
9823// GetID returns the ID field if it's non-nil, zero value otherwise.
9824func (u *User) GetID() int64 {
9825	if u == nil || u.ID == nil {
9826		return 0
9827	}
9828	return *u.ID
9829}
9830
9831// GetLocation returns the Location field if it's non-nil, zero value otherwise.
9832func (u *User) GetLocation() string {
9833	if u == nil || u.Location == nil {
9834		return ""
9835	}
9836	return *u.Location
9837}
9838
9839// GetLogin returns the Login field if it's non-nil, zero value otherwise.
9840func (u *User) GetLogin() string {
9841	if u == nil || u.Login == nil {
9842		return ""
9843	}
9844	return *u.Login
9845}
9846
9847// GetName returns the Name field if it's non-nil, zero value otherwise.
9848func (u *User) GetName() string {
9849	if u == nil || u.Name == nil {
9850		return ""
9851	}
9852	return *u.Name
9853}
9854
9855// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise.
9856func (u *User) GetOrganizationsURL() string {
9857	if u == nil || u.OrganizationsURL == nil {
9858		return ""
9859	}
9860	return *u.OrganizationsURL
9861}
9862
9863// GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise.
9864func (u *User) GetOwnedPrivateRepos() int {
9865	if u == nil || u.OwnedPrivateRepos == nil {
9866		return 0
9867	}
9868	return *u.OwnedPrivateRepos
9869}
9870
9871// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.
9872func (u *User) GetPermissions() map[string]bool {
9873	if u == nil || u.Permissions == nil {
9874		return map[string]bool{}
9875	}
9876	return *u.Permissions
9877}
9878
9879// GetPlan returns the Plan field.
9880func (u *User) GetPlan() *Plan {
9881	if u == nil {
9882		return nil
9883	}
9884	return u.Plan
9885}
9886
9887// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise.
9888func (u *User) GetPrivateGists() int {
9889	if u == nil || u.PrivateGists == nil {
9890		return 0
9891	}
9892	return *u.PrivateGists
9893}
9894
9895// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise.
9896func (u *User) GetPublicGists() int {
9897	if u == nil || u.PublicGists == nil {
9898		return 0
9899	}
9900	return *u.PublicGists
9901}
9902
9903// GetPublicRepos returns the PublicRepos field if it's non-nil, zero value otherwise.
9904func (u *User) GetPublicRepos() int {
9905	if u == nil || u.PublicRepos == nil {
9906		return 0
9907	}
9908	return *u.PublicRepos
9909}
9910
9911// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise.
9912func (u *User) GetReceivedEventsURL() string {
9913	if u == nil || u.ReceivedEventsURL == nil {
9914		return ""
9915	}
9916	return *u.ReceivedEventsURL
9917}
9918
9919// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise.
9920func (u *User) GetReposURL() string {
9921	if u == nil || u.ReposURL == nil {
9922		return ""
9923	}
9924	return *u.ReposURL
9925}
9926
9927// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise.
9928func (u *User) GetSiteAdmin() bool {
9929	if u == nil || u.SiteAdmin == nil {
9930		return false
9931	}
9932	return *u.SiteAdmin
9933}
9934
9935// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise.
9936func (u *User) GetStarredURL() string {
9937	if u == nil || u.StarredURL == nil {
9938		return ""
9939	}
9940	return *u.StarredURL
9941}
9942
9943// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise.
9944func (u *User) GetSubscriptionsURL() string {
9945	if u == nil || u.SubscriptionsURL == nil {
9946		return ""
9947	}
9948	return *u.SubscriptionsURL
9949}
9950
9951// GetSuspendedAt returns the SuspendedAt field if it's non-nil, zero value otherwise.
9952func (u *User) GetSuspendedAt() Timestamp {
9953	if u == nil || u.SuspendedAt == nil {
9954		return Timestamp{}
9955	}
9956	return *u.SuspendedAt
9957}
9958
9959// GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise.
9960func (u *User) GetTotalPrivateRepos() int {
9961	if u == nil || u.TotalPrivateRepos == nil {
9962		return 0
9963	}
9964	return *u.TotalPrivateRepos
9965}
9966
9967// GetType returns the Type field if it's non-nil, zero value otherwise.
9968func (u *User) GetType() string {
9969	if u == nil || u.Type == nil {
9970		return ""
9971	}
9972	return *u.Type
9973}
9974
9975// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
9976func (u *User) GetUpdatedAt() Timestamp {
9977	if u == nil || u.UpdatedAt == nil {
9978		return Timestamp{}
9979	}
9980	return *u.UpdatedAt
9981}
9982
9983// GetURL returns the URL field if it's non-nil, zero value otherwise.
9984func (u *User) GetURL() string {
9985	if u == nil || u.URL == nil {
9986		return ""
9987	}
9988	return *u.URL
9989}
9990
9991// GetEmail returns the Email field if it's non-nil, zero value otherwise.
9992func (u *UserEmail) GetEmail() string {
9993	if u == nil || u.Email == nil {
9994		return ""
9995	}
9996	return *u.Email
9997}
9998
9999// GetPrimary returns the Primary field if it's non-nil, zero value otherwise.
10000func (u *UserEmail) GetPrimary() bool {
10001	if u == nil || u.Primary == nil {
10002		return false
10003	}
10004	return *u.Primary
10005}
10006
10007// GetVerified returns the Verified field if it's non-nil, zero value otherwise.
10008func (u *UserEmail) GetVerified() bool {
10009	if u == nil || u.Verified == nil {
10010		return false
10011	}
10012	return *u.Verified
10013}
10014
10015// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise.
10016func (u *UserLDAPMapping) GetAvatarURL() string {
10017	if u == nil || u.AvatarURL == nil {
10018		return ""
10019	}
10020	return *u.AvatarURL
10021}
10022
10023// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
10024func (u *UserLDAPMapping) GetEventsURL() string {
10025	if u == nil || u.EventsURL == nil {
10026		return ""
10027	}
10028	return *u.EventsURL
10029}
10030
10031// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise.
10032func (u *UserLDAPMapping) GetFollowersURL() string {
10033	if u == nil || u.FollowersURL == nil {
10034		return ""
10035	}
10036	return *u.FollowersURL
10037}
10038
10039// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise.
10040func (u *UserLDAPMapping) GetFollowingURL() string {
10041	if u == nil || u.FollowingURL == nil {
10042		return ""
10043	}
10044	return *u.FollowingURL
10045}
10046
10047// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise.
10048func (u *UserLDAPMapping) GetGistsURL() string {
10049	if u == nil || u.GistsURL == nil {
10050		return ""
10051	}
10052	return *u.GistsURL
10053}
10054
10055// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise.
10056func (u *UserLDAPMapping) GetGravatarID() string {
10057	if u == nil || u.GravatarID == nil {
10058		return ""
10059	}
10060	return *u.GravatarID
10061}
10062
10063// GetID returns the ID field if it's non-nil, zero value otherwise.
10064func (u *UserLDAPMapping) GetID() int64 {
10065	if u == nil || u.ID == nil {
10066		return 0
10067	}
10068	return *u.ID
10069}
10070
10071// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise.
10072func (u *UserLDAPMapping) GetLDAPDN() string {
10073	if u == nil || u.LDAPDN == nil {
10074		return ""
10075	}
10076	return *u.LDAPDN
10077}
10078
10079// GetLogin returns the Login field if it's non-nil, zero value otherwise.
10080func (u *UserLDAPMapping) GetLogin() string {
10081	if u == nil || u.Login == nil {
10082		return ""
10083	}
10084	return *u.Login
10085}
10086
10087// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise.
10088func (u *UserLDAPMapping) GetOrganizationsURL() string {
10089	if u == nil || u.OrganizationsURL == nil {
10090		return ""
10091	}
10092	return *u.OrganizationsURL
10093}
10094
10095// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise.
10096func (u *UserLDAPMapping) GetReceivedEventsURL() string {
10097	if u == nil || u.ReceivedEventsURL == nil {
10098		return ""
10099	}
10100	return *u.ReceivedEventsURL
10101}
10102
10103// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise.
10104func (u *UserLDAPMapping) GetReposURL() string {
10105	if u == nil || u.ReposURL == nil {
10106		return ""
10107	}
10108	return *u.ReposURL
10109}
10110
10111// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise.
10112func (u *UserLDAPMapping) GetSiteAdmin() bool {
10113	if u == nil || u.SiteAdmin == nil {
10114		return false
10115	}
10116	return *u.SiteAdmin
10117}
10118
10119// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise.
10120func (u *UserLDAPMapping) GetStarredURL() string {
10121	if u == nil || u.StarredURL == nil {
10122		return ""
10123	}
10124	return *u.StarredURL
10125}
10126
10127// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise.
10128func (u *UserLDAPMapping) GetSubscriptionsURL() string {
10129	if u == nil || u.SubscriptionsURL == nil {
10130		return ""
10131	}
10132	return *u.SubscriptionsURL
10133}
10134
10135// GetType returns the Type field if it's non-nil, zero value otherwise.
10136func (u *UserLDAPMapping) GetType() string {
10137	if u == nil || u.Type == nil {
10138		return ""
10139	}
10140	return *u.Type
10141}
10142
10143// GetURL returns the URL field if it's non-nil, zero value otherwise.
10144func (u *UserLDAPMapping) GetURL() string {
10145	if u == nil || u.URL == nil {
10146		return ""
10147	}
10148	return *u.URL
10149}
10150
10151// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise.
10152func (u *UsersSearchResult) GetIncompleteResults() bool {
10153	if u == nil || u.IncompleteResults == nil {
10154		return false
10155	}
10156	return *u.IncompleteResults
10157}
10158
10159// GetTotal returns the Total field if it's non-nil, zero value otherwise.
10160func (u *UsersSearchResult) GetTotal() int {
10161	if u == nil || u.Total == nil {
10162		return 0
10163	}
10164	return *u.Total
10165}
10166
10167// GetAdminUsers returns the AdminUsers field if it's non-nil, zero value otherwise.
10168func (u *UserStats) GetAdminUsers() int {
10169	if u == nil || u.AdminUsers == nil {
10170		return 0
10171	}
10172	return *u.AdminUsers
10173}
10174
10175// GetSuspendedUsers returns the SuspendedUsers field if it's non-nil, zero value otherwise.
10176func (u *UserStats) GetSuspendedUsers() int {
10177	if u == nil || u.SuspendedUsers == nil {
10178		return 0
10179	}
10180	return *u.SuspendedUsers
10181}
10182
10183// GetTotalUsers returns the TotalUsers field if it's non-nil, zero value otherwise.
10184func (u *UserStats) GetTotalUsers() int {
10185	if u == nil || u.TotalUsers == nil {
10186		return 0
10187	}
10188	return *u.TotalUsers
10189}
10190
10191// GetAction returns the Action field if it's non-nil, zero value otherwise.
10192func (w *WatchEvent) GetAction() string {
10193	if w == nil || w.Action == nil {
10194		return ""
10195	}
10196	return *w.Action
10197}
10198
10199// GetInstallation returns the Installation field.
10200func (w *WatchEvent) GetInstallation() *Installation {
10201	if w == nil {
10202		return nil
10203	}
10204	return w.Installation
10205}
10206
10207// GetRepo returns the Repo field.
10208func (w *WatchEvent) GetRepo() *Repository {
10209	if w == nil {
10210		return nil
10211	}
10212	return w.Repo
10213}
10214
10215// GetSender returns the Sender field.
10216func (w *WatchEvent) GetSender() *User {
10217	if w == nil {
10218		return nil
10219	}
10220	return w.Sender
10221}
10222
10223// GetEmail returns the Email field if it's non-nil, zero value otherwise.
10224func (w *WebHookAuthor) GetEmail() string {
10225	if w == nil || w.Email == nil {
10226		return ""
10227	}
10228	return *w.Email
10229}
10230
10231// GetName returns the Name field if it's non-nil, zero value otherwise.
10232func (w *WebHookAuthor) GetName() string {
10233	if w == nil || w.Name == nil {
10234		return ""
10235	}
10236	return *w.Name
10237}
10238
10239// GetUsername returns the Username field if it's non-nil, zero value otherwise.
10240func (w *WebHookAuthor) GetUsername() string {
10241	if w == nil || w.Username == nil {
10242		return ""
10243	}
10244	return *w.Username
10245}
10246
10247// GetAuthor returns the Author field.
10248func (w *WebHookCommit) GetAuthor() *WebHookAuthor {
10249	if w == nil {
10250		return nil
10251	}
10252	return w.Author
10253}
10254
10255// GetCommitter returns the Committer field.
10256func (w *WebHookCommit) GetCommitter() *WebHookAuthor {
10257	if w == nil {
10258		return nil
10259	}
10260	return w.Committer
10261}
10262
10263// GetDistinct returns the Distinct field if it's non-nil, zero value otherwise.
10264func (w *WebHookCommit) GetDistinct() bool {
10265	if w == nil || w.Distinct == nil {
10266		return false
10267	}
10268	return *w.Distinct
10269}
10270
10271// GetID returns the ID field if it's non-nil, zero value otherwise.
10272func (w *WebHookCommit) GetID() string {
10273	if w == nil || w.ID == nil {
10274		return ""
10275	}
10276	return *w.ID
10277}
10278
10279// GetMessage returns the Message field if it's non-nil, zero value otherwise.
10280func (w *WebHookCommit) GetMessage() string {
10281	if w == nil || w.Message == nil {
10282		return ""
10283	}
10284	return *w.Message
10285}
10286
10287// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise.
10288func (w *WebHookCommit) GetTimestamp() time.Time {
10289	if w == nil || w.Timestamp == nil {
10290		return time.Time{}
10291	}
10292	return *w.Timestamp
10293}
10294
10295// GetAfter returns the After field if it's non-nil, zero value otherwise.
10296func (w *WebHookPayload) GetAfter() string {
10297	if w == nil || w.After == nil {
10298		return ""
10299	}
10300	return *w.After
10301}
10302
10303// GetBefore returns the Before field if it's non-nil, zero value otherwise.
10304func (w *WebHookPayload) GetBefore() string {
10305	if w == nil || w.Before == nil {
10306		return ""
10307	}
10308	return *w.Before
10309}
10310
10311// GetCompare returns the Compare field if it's non-nil, zero value otherwise.
10312func (w *WebHookPayload) GetCompare() string {
10313	if w == nil || w.Compare == nil {
10314		return ""
10315	}
10316	return *w.Compare
10317}
10318
10319// GetCreated returns the Created field if it's non-nil, zero value otherwise.
10320func (w *WebHookPayload) GetCreated() bool {
10321	if w == nil || w.Created == nil {
10322		return false
10323	}
10324	return *w.Created
10325}
10326
10327// GetDeleted returns the Deleted field if it's non-nil, zero value otherwise.
10328func (w *WebHookPayload) GetDeleted() bool {
10329	if w == nil || w.Deleted == nil {
10330		return false
10331	}
10332	return *w.Deleted
10333}
10334
10335// GetForced returns the Forced field if it's non-nil, zero value otherwise.
10336func (w *WebHookPayload) GetForced() bool {
10337	if w == nil || w.Forced == nil {
10338		return false
10339	}
10340	return *w.Forced
10341}
10342
10343// GetHeadCommit returns the HeadCommit field.
10344func (w *WebHookPayload) GetHeadCommit() *WebHookCommit {
10345	if w == nil {
10346		return nil
10347	}
10348	return w.HeadCommit
10349}
10350
10351// GetPusher returns the Pusher field.
10352func (w *WebHookPayload) GetPusher() *User {
10353	if w == nil {
10354		return nil
10355	}
10356	return w.Pusher
10357}
10358
10359// GetRef returns the Ref field if it's non-nil, zero value otherwise.
10360func (w *WebHookPayload) GetRef() string {
10361	if w == nil || w.Ref == nil {
10362		return ""
10363	}
10364	return *w.Ref
10365}
10366
10367// GetRepo returns the Repo field.
10368func (w *WebHookPayload) GetRepo() *Repository {
10369	if w == nil {
10370		return nil
10371	}
10372	return w.Repo
10373}
10374
10375// GetSender returns the Sender field.
10376func (w *WebHookPayload) GetSender() *User {
10377	if w == nil {
10378		return nil
10379	}
10380	return w.Sender
10381}
10382
10383// GetTotal returns the Total field if it's non-nil, zero value otherwise.
10384func (w *WeeklyCommitActivity) GetTotal() int {
10385	if w == nil || w.Total == nil {
10386		return 0
10387	}
10388	return *w.Total
10389}
10390
10391// GetWeek returns the Week field if it's non-nil, zero value otherwise.
10392func (w *WeeklyCommitActivity) GetWeek() Timestamp {
10393	if w == nil || w.Week == nil {
10394		return Timestamp{}
10395	}
10396	return *w.Week
10397}
10398
10399// GetAdditions returns the Additions field if it's non-nil, zero value otherwise.
10400func (w *WeeklyStats) GetAdditions() int {
10401	if w == nil || w.Additions == nil {
10402		return 0
10403	}
10404	return *w.Additions
10405}
10406
10407// GetCommits returns the Commits field if it's non-nil, zero value otherwise.
10408func (w *WeeklyStats) GetCommits() int {
10409	if w == nil || w.Commits == nil {
10410		return 0
10411	}
10412	return *w.Commits
10413}
10414
10415// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise.
10416func (w *WeeklyStats) GetDeletions() int {
10417	if w == nil || w.Deletions == nil {
10418		return 0
10419	}
10420	return *w.Deletions
10421}
10422
10423// GetWeek returns the Week field if it's non-nil, zero value otherwise.
10424func (w *WeeklyStats) GetWeek() Timestamp {
10425	if w == nil || w.Week == nil {
10426		return Timestamp{}
10427	}
10428	return *w.Week
10429}
10430