diff --git a/examples/ex_github/oas_json_gen.go b/examples/ex_github/oas_json_gen.go index 271cd543a..898bcaf63 100644 --- a/examples/ex_github/oas_json_gen.go +++ b/examples/ex_github/oas_json_gen.go @@ -556,31 +556,6 @@ func (s *Accepted) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ActionsApproveWorkflowRunForbidden as json. -func (s *ActionsApproveWorkflowRunForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActionsApproveWorkflowRunForbidden from json. -func (s *ActionsApproveWorkflowRunForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActionsApproveWorkflowRunForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActionsApproveWorkflowRunForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActionsApproveWorkflowRunForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -594,31 +569,6 @@ func (s *ActionsApproveWorkflowRunForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ActionsApproveWorkflowRunNotFound as json. -func (s *ActionsApproveWorkflowRunNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActionsApproveWorkflowRunNotFound from json. -func (s *ActionsApproveWorkflowRunNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActionsApproveWorkflowRunNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActionsApproveWorkflowRunNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActionsApproveWorkflowRunNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5262,31 +5212,6 @@ func (s *ActionsUpdateSelfHostedRunnerGroupForOrgReqVisibility) UnmarshalJSON(da return s.Decode(d) } -// Encode encodes ActivityCheckRepoIsStarredByAuthenticatedUserForbidden as json. -func (s *ActivityCheckRepoIsStarredByAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityCheckRepoIsStarredByAuthenticatedUserForbidden from json. -func (s *ActivityCheckRepoIsStarredByAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityCheckRepoIsStarredByAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityCheckRepoIsStarredByAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityCheckRepoIsStarredByAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5300,31 +5225,6 @@ func (s *ActivityCheckRepoIsStarredByAuthenticatedUserForbidden) UnmarshalJSON(d return s.Decode(d) } -// Encode encodes ActivityCheckRepoIsStarredByAuthenticatedUserNotFound as json. -func (s *ActivityCheckRepoIsStarredByAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityCheckRepoIsStarredByAuthenticatedUserNotFound from json. -func (s *ActivityCheckRepoIsStarredByAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityCheckRepoIsStarredByAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityCheckRepoIsStarredByAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityCheckRepoIsStarredByAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5338,31 +5238,6 @@ func (s *ActivityCheckRepoIsStarredByAuthenticatedUserNotFound) UnmarshalJSON(da return s.Decode(d) } -// Encode encodes ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized as json. -func (s *ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized from json. -func (s *ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5376,31 +5251,6 @@ func (s *ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized) UnmarshalJSO return s.Decode(d) } -// Encode encodes ActivityDeleteThreadSubscriptionForbidden as json. -func (s *ActivityDeleteThreadSubscriptionForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityDeleteThreadSubscriptionForbidden from json. -func (s *ActivityDeleteThreadSubscriptionForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityDeleteThreadSubscriptionForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityDeleteThreadSubscriptionForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityDeleteThreadSubscriptionForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5414,31 +5264,6 @@ func (s *ActivityDeleteThreadSubscriptionForbidden) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes ActivityDeleteThreadSubscriptionUnauthorized as json. -func (s *ActivityDeleteThreadSubscriptionUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityDeleteThreadSubscriptionUnauthorized from json. -func (s *ActivityDeleteThreadSubscriptionUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityDeleteThreadSubscriptionUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityDeleteThreadSubscriptionUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityDeleteThreadSubscriptionUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5452,31 +5277,6 @@ func (s *ActivityDeleteThreadSubscriptionUnauthorized) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes ActivityGetThreadForbidden as json. -func (s *ActivityGetThreadForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityGetThreadForbidden from json. -func (s *ActivityGetThreadForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityGetThreadForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityGetThreadForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityGetThreadForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5490,31 +5290,6 @@ func (s *ActivityGetThreadForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ActivityGetThreadSubscriptionForAuthenticatedUserForbidden as json. -func (s *ActivityGetThreadSubscriptionForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityGetThreadSubscriptionForAuthenticatedUserForbidden from json. -func (s *ActivityGetThreadSubscriptionForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityGetThreadSubscriptionForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityGetThreadSubscriptionForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityGetThreadSubscriptionForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5528,31 +5303,6 @@ func (s *ActivityGetThreadSubscriptionForAuthenticatedUserForbidden) UnmarshalJS return s.Decode(d) } -// Encode encodes ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized as json. -func (s *ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized from json. -func (s *ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5566,31 +5316,6 @@ func (s *ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized) Unmarsha return s.Decode(d) } -// Encode encodes ActivityGetThreadUnauthorized as json. -func (s *ActivityGetThreadUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityGetThreadUnauthorized from json. -func (s *ActivityGetThreadUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityGetThreadUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityGetThreadUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityGetThreadUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5604,31 +5329,6 @@ func (s *ActivityGetThreadUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ActivityListNotificationsForAuthenticatedUserForbidden as json. -func (s *ActivityListNotificationsForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListNotificationsForAuthenticatedUserForbidden from json. -func (s *ActivityListNotificationsForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListNotificationsForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListNotificationsForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListNotificationsForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5642,31 +5342,6 @@ func (s *ActivityListNotificationsForAuthenticatedUserForbidden) UnmarshalJSON(d return s.Decode(d) } -// Encode encodes ActivityListNotificationsForAuthenticatedUserUnauthorized as json. -func (s *ActivityListNotificationsForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListNotificationsForAuthenticatedUserUnauthorized from json. -func (s *ActivityListNotificationsForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListNotificationsForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListNotificationsForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListNotificationsForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5680,31 +5355,6 @@ func (s *ActivityListNotificationsForAuthenticatedUserUnauthorized) UnmarshalJSO return s.Decode(d) } -// Encode encodes ActivityListPublicEventsForRepoNetworkForbidden as json. -func (s *ActivityListPublicEventsForRepoNetworkForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListPublicEventsForRepoNetworkForbidden from json. -func (s *ActivityListPublicEventsForRepoNetworkForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListPublicEventsForRepoNetworkForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListPublicEventsForRepoNetworkForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListPublicEventsForRepoNetworkForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5718,31 +5368,6 @@ func (s *ActivityListPublicEventsForRepoNetworkForbidden) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes ActivityListPublicEventsForRepoNetworkMovedPermanently as json. -func (s *ActivityListPublicEventsForRepoNetworkMovedPermanently) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListPublicEventsForRepoNetworkMovedPermanently from json. -func (s *ActivityListPublicEventsForRepoNetworkMovedPermanently) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListPublicEventsForRepoNetworkMovedPermanently to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListPublicEventsForRepoNetworkMovedPermanently(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListPublicEventsForRepoNetworkMovedPermanently) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5756,31 +5381,6 @@ func (s *ActivityListPublicEventsForRepoNetworkMovedPermanently) UnmarshalJSON(d return s.Decode(d) } -// Encode encodes ActivityListPublicEventsForRepoNetworkNotFound as json. -func (s *ActivityListPublicEventsForRepoNetworkNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListPublicEventsForRepoNetworkNotFound from json. -func (s *ActivityListPublicEventsForRepoNetworkNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListPublicEventsForRepoNetworkNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListPublicEventsForRepoNetworkNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListPublicEventsForRepoNetworkNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5894,31 +5494,6 @@ func (s *ActivityListPublicEventsOKApplicationJSON) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes ActivityListReposStarredByAuthenticatedUserForbidden as json. -func (s *ActivityListReposStarredByAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListReposStarredByAuthenticatedUserForbidden from json. -func (s *ActivityListReposStarredByAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListReposStarredByAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListReposStarredByAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListReposStarredByAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5932,31 +5507,6 @@ func (s *ActivityListReposStarredByAuthenticatedUserForbidden) UnmarshalJSON(dat return s.Decode(d) } -// Encode encodes ActivityListReposStarredByAuthenticatedUserUnauthorized as json. -func (s *ActivityListReposStarredByAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListReposStarredByAuthenticatedUserUnauthorized from json. -func (s *ActivityListReposStarredByAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListReposStarredByAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListReposStarredByAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListReposStarredByAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -5970,31 +5520,6 @@ func (s *ActivityListReposStarredByAuthenticatedUserUnauthorized) UnmarshalJSON( return s.Decode(d) } -// Encode encodes ActivityListWatchedReposForAuthenticatedUserForbidden as json. -func (s *ActivityListWatchedReposForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListWatchedReposForAuthenticatedUserForbidden from json. -func (s *ActivityListWatchedReposForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListWatchedReposForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListWatchedReposForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListWatchedReposForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6008,31 +5533,6 @@ func (s *ActivityListWatchedReposForAuthenticatedUserForbidden) UnmarshalJSON(da return s.Decode(d) } -// Encode encodes ActivityListWatchedReposForAuthenticatedUserUnauthorized as json. -func (s *ActivityListWatchedReposForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityListWatchedReposForAuthenticatedUserUnauthorized from json. -func (s *ActivityListWatchedReposForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityListWatchedReposForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityListWatchedReposForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityListWatchedReposForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6109,31 +5609,6 @@ func (s *ActivityMarkNotificationsAsReadAccepted) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes ActivityMarkNotificationsAsReadForbidden as json. -func (s *ActivityMarkNotificationsAsReadForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityMarkNotificationsAsReadForbidden from json. -func (s *ActivityMarkNotificationsAsReadForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityMarkNotificationsAsReadForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityMarkNotificationsAsReadForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityMarkNotificationsAsReadForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6227,31 +5702,6 @@ func (s *ActivityMarkNotificationsAsReadReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ActivityMarkNotificationsAsReadUnauthorized as json. -func (s *ActivityMarkNotificationsAsReadUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityMarkNotificationsAsReadUnauthorized from json. -func (s *ActivityMarkNotificationsAsReadUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityMarkNotificationsAsReadUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityMarkNotificationsAsReadUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityMarkNotificationsAsReadUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6488,31 +5938,6 @@ func (s *ActivitySetRepoSubscriptionReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ActivitySetThreadSubscriptionForbidden as json. -func (s *ActivitySetThreadSubscriptionForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivitySetThreadSubscriptionForbidden from json. -func (s *ActivitySetThreadSubscriptionForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivitySetThreadSubscriptionForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivitySetThreadSubscriptionForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivitySetThreadSubscriptionForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6590,31 +6015,6 @@ func (s *ActivitySetThreadSubscriptionReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ActivitySetThreadSubscriptionUnauthorized as json. -func (s *ActivitySetThreadSubscriptionUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivitySetThreadSubscriptionUnauthorized from json. -func (s *ActivitySetThreadSubscriptionUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivitySetThreadSubscriptionUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivitySetThreadSubscriptionUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivitySetThreadSubscriptionUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6628,31 +6028,6 @@ func (s *ActivitySetThreadSubscriptionUnauthorized) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes ActivityStarRepoForAuthenticatedUserForbidden as json. -func (s *ActivityStarRepoForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityStarRepoForAuthenticatedUserForbidden from json. -func (s *ActivityStarRepoForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityStarRepoForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityStarRepoForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityStarRepoForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6666,31 +6041,6 @@ func (s *ActivityStarRepoForAuthenticatedUserForbidden) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes ActivityStarRepoForAuthenticatedUserNotFound as json. -func (s *ActivityStarRepoForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityStarRepoForAuthenticatedUserNotFound from json. -func (s *ActivityStarRepoForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityStarRepoForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityStarRepoForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityStarRepoForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6704,31 +6054,6 @@ func (s *ActivityStarRepoForAuthenticatedUserNotFound) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes ActivityStarRepoForAuthenticatedUserUnauthorized as json. -func (s *ActivityStarRepoForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityStarRepoForAuthenticatedUserUnauthorized from json. -func (s *ActivityStarRepoForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityStarRepoForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityStarRepoForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityStarRepoForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6742,31 +6067,6 @@ func (s *ActivityStarRepoForAuthenticatedUserUnauthorized) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes ActivityUnstarRepoForAuthenticatedUserForbidden as json. -func (s *ActivityUnstarRepoForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityUnstarRepoForAuthenticatedUserForbidden from json. -func (s *ActivityUnstarRepoForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityUnstarRepoForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityUnstarRepoForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityUnstarRepoForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6780,31 +6080,6 @@ func (s *ActivityUnstarRepoForAuthenticatedUserForbidden) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes ActivityUnstarRepoForAuthenticatedUserNotFound as json. -func (s *ActivityUnstarRepoForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityUnstarRepoForAuthenticatedUserNotFound from json. -func (s *ActivityUnstarRepoForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityUnstarRepoForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityUnstarRepoForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityUnstarRepoForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -6818,31 +6093,6 @@ func (s *ActivityUnstarRepoForAuthenticatedUserNotFound) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes ActivityUnstarRepoForAuthenticatedUserUnauthorized as json. -func (s *ActivityUnstarRepoForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ActivityUnstarRepoForAuthenticatedUserUnauthorized from json. -func (s *ActivityUnstarRepoForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ActivityUnstarRepoForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ActivityUnstarRepoForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ActivityUnstarRepoForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -9426,31 +8676,6 @@ func (s *ApplicationGrantApp) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsAddRepoToInstallationForbidden as json. -func (s *AppsAddRepoToInstallationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsAddRepoToInstallationForbidden from json. -func (s *AppsAddRepoToInstallationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsAddRepoToInstallationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsAddRepoToInstallationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsAddRepoToInstallationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -9464,31 +8689,6 @@ func (s *AppsAddRepoToInstallationForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsAddRepoToInstallationNotFound as json. -func (s *AppsAddRepoToInstallationNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsAddRepoToInstallationNotFound from json. -func (s *AppsAddRepoToInstallationNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsAddRepoToInstallationNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsAddRepoToInstallationNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsAddRepoToInstallationNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -9598,31 +8798,6 @@ func (s *AppsCheckTokenReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsCreateContentAttachmentForbidden as json. -func (s *AppsCreateContentAttachmentForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsCreateContentAttachmentForbidden from json. -func (s *AppsCreateContentAttachmentForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsCreateContentAttachmentForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsCreateContentAttachmentForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsCreateContentAttachmentForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -9636,31 +8811,6 @@ func (s *AppsCreateContentAttachmentForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes AppsCreateContentAttachmentGone as json. -func (s *AppsCreateContentAttachmentGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsCreateContentAttachmentGone from json. -func (s *AppsCreateContentAttachmentGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsCreateContentAttachmentGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsCreateContentAttachmentGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsCreateContentAttachmentGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -9674,31 +8824,6 @@ func (s *AppsCreateContentAttachmentGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsCreateContentAttachmentNotFound as json. -func (s *AppsCreateContentAttachmentNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsCreateContentAttachmentNotFound from json. -func (s *AppsCreateContentAttachmentNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsCreateContentAttachmentNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsCreateContentAttachmentNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsCreateContentAttachmentNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -10524,31 +9649,6 @@ func (s *AppsCreateFromManifestReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsCreateInstallationAccessTokenForbidden as json. -func (s *AppsCreateInstallationAccessTokenForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsCreateInstallationAccessTokenForbidden from json. -func (s *AppsCreateInstallationAccessTokenForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsCreateInstallationAccessTokenForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsCreateInstallationAccessTokenForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsCreateInstallationAccessTokenForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -10562,31 +9662,6 @@ func (s *AppsCreateInstallationAccessTokenForbidden) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes AppsCreateInstallationAccessTokenNotFound as json. -func (s *AppsCreateInstallationAccessTokenNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsCreateInstallationAccessTokenNotFound from json. -func (s *AppsCreateInstallationAccessTokenNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsCreateInstallationAccessTokenNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsCreateInstallationAccessTokenNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsCreateInstallationAccessTokenNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -10723,31 +9798,6 @@ func (s *AppsCreateInstallationAccessTokenReq) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes AppsCreateInstallationAccessTokenUnauthorized as json. -func (s *AppsCreateInstallationAccessTokenUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsCreateInstallationAccessTokenUnauthorized from json. -func (s *AppsCreateInstallationAccessTokenUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsCreateInstallationAccessTokenUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsCreateInstallationAccessTokenUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsCreateInstallationAccessTokenUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -10953,31 +10003,6 @@ func (s *AppsDeleteTokenReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsGetBySlugForbidden as json. -func (s *AppsGetBySlugForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsGetBySlugForbidden from json. -func (s *AppsGetBySlugForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsGetBySlugForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsGetBySlugForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsGetBySlugForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -10991,31 +10016,6 @@ func (s *AppsGetBySlugForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsGetBySlugNotFound as json. -func (s *AppsGetBySlugNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsGetBySlugNotFound from json. -func (s *AppsGetBySlugNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsGetBySlugNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsGetBySlugNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsGetBySlugNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11029,31 +10029,6 @@ func (s *AppsGetBySlugNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsGetSubscriptionPlanForAccountNotFound as json. -func (s *AppsGetSubscriptionPlanForAccountNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsGetSubscriptionPlanForAccountNotFound from json. -func (s *AppsGetSubscriptionPlanForAccountNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsGetSubscriptionPlanForAccountNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsGetSubscriptionPlanForAccountNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsGetSubscriptionPlanForAccountNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11067,31 +10042,6 @@ func (s *AppsGetSubscriptionPlanForAccountNotFound) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes AppsGetSubscriptionPlanForAccountUnauthorized as json. -func (s *AppsGetSubscriptionPlanForAccountUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsGetSubscriptionPlanForAccountUnauthorized from json. -func (s *AppsGetSubscriptionPlanForAccountUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsGetSubscriptionPlanForAccountUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsGetSubscriptionPlanForAccountUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsGetSubscriptionPlanForAccountUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11105,31 +10055,6 @@ func (s *AppsGetSubscriptionPlanForAccountUnauthorized) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes AppsListAccountsForPlanNotFound as json. -func (s *AppsListAccountsForPlanNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListAccountsForPlanNotFound from json. -func (s *AppsListAccountsForPlanNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListAccountsForPlanNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListAccountsForPlanNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListAccountsForPlanNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11143,31 +10068,6 @@ func (s *AppsListAccountsForPlanNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsListAccountsForPlanUnauthorized as json. -func (s *AppsListAccountsForPlanUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListAccountsForPlanUnauthorized from json. -func (s *AppsListAccountsForPlanUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListAccountsForPlanUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListAccountsForPlanUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListAccountsForPlanUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11181,31 +10081,6 @@ func (s *AppsListAccountsForPlanUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsListInstallationReposForAuthenticatedUserForbidden as json. -func (s *AppsListInstallationReposForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListInstallationReposForAuthenticatedUserForbidden from json. -func (s *AppsListInstallationReposForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListInstallationReposForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListInstallationReposForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListInstallationReposForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11219,31 +10094,6 @@ func (s *AppsListInstallationReposForAuthenticatedUserForbidden) UnmarshalJSON(d return s.Decode(d) } -// Encode encodes AppsListInstallationReposForAuthenticatedUserNotFound as json. -func (s *AppsListInstallationReposForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListInstallationReposForAuthenticatedUserNotFound from json. -func (s *AppsListInstallationReposForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListInstallationReposForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListInstallationReposForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListInstallationReposForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11397,31 +10247,6 @@ func (s *AppsListInstallationReposForAuthenticatedUserOK) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes AppsListPlansNotFound as json. -func (s *AppsListPlansNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListPlansNotFound from json. -func (s *AppsListPlansNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListPlansNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListPlansNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListPlansNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11435,31 +10260,6 @@ func (s *AppsListPlansNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsListPlansUnauthorized as json. -func (s *AppsListPlansUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListPlansUnauthorized from json. -func (s *AppsListPlansUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListPlansUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListPlansUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListPlansUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11473,31 +10273,6 @@ func (s *AppsListPlansUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsListReposAccessibleToInstallationForbidden as json. -func (s *AppsListReposAccessibleToInstallationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListReposAccessibleToInstallationForbidden from json. -func (s *AppsListReposAccessibleToInstallationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListReposAccessibleToInstallationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListReposAccessibleToInstallationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListReposAccessibleToInstallationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11651,31 +10426,6 @@ func (s *AppsListReposAccessibleToInstallationOK) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes AppsListReposAccessibleToInstallationUnauthorized as json. -func (s *AppsListReposAccessibleToInstallationUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListReposAccessibleToInstallationUnauthorized from json. -func (s *AppsListReposAccessibleToInstallationUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListReposAccessibleToInstallationUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListReposAccessibleToInstallationUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListReposAccessibleToInstallationUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11689,31 +10439,6 @@ func (s *AppsListReposAccessibleToInstallationUnauthorized) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes AppsListSubscriptionsForAuthenticatedUserNotFound as json. -func (s *AppsListSubscriptionsForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListSubscriptionsForAuthenticatedUserNotFound from json. -func (s *AppsListSubscriptionsForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListSubscriptionsForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListSubscriptionsForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListSubscriptionsForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11727,31 +10452,6 @@ func (s *AppsListSubscriptionsForAuthenticatedUserNotFound) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes AppsListSubscriptionsForAuthenticatedUserUnauthorized as json. -func (s *AppsListSubscriptionsForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsListSubscriptionsForAuthenticatedUserUnauthorized from json. -func (s *AppsListSubscriptionsForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsListSubscriptionsForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsListSubscriptionsForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsListSubscriptionsForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11815,31 +10515,6 @@ func (s *AppsListWebhookDeliveriesOKApplicationJSON) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes AppsRemoveRepoFromInstallationForbidden as json. -func (s *AppsRemoveRepoFromInstallationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsRemoveRepoFromInstallationForbidden from json. -func (s *AppsRemoveRepoFromInstallationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsRemoveRepoFromInstallationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsRemoveRepoFromInstallationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsRemoveRepoFromInstallationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11853,31 +10528,6 @@ func (s *AppsRemoveRepoFromInstallationForbidden) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes AppsRemoveRepoFromInstallationNotFound as json. -func (s *AppsRemoveRepoFromInstallationNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsRemoveRepoFromInstallationNotFound from json. -func (s *AppsRemoveRepoFromInstallationNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsRemoveRepoFromInstallationNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsRemoveRepoFromInstallationNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsRemoveRepoFromInstallationNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -11987,31 +10637,6 @@ func (s *AppsResetTokenReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsScopeTokenForbidden as json. -func (s *AppsScopeTokenForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsScopeTokenForbidden from json. -func (s *AppsScopeTokenForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsScopeTokenForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsScopeTokenForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsScopeTokenForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -12025,31 +10650,6 @@ func (s *AppsScopeTokenForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsScopeTokenNotFound as json. -func (s *AppsScopeTokenNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsScopeTokenNotFound from json. -func (s *AppsScopeTokenNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsScopeTokenNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsScopeTokenNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsScopeTokenNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -12270,31 +10870,6 @@ func (s *AppsScopeTokenReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AppsScopeTokenUnauthorized as json. -func (s *AppsScopeTokenUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AppsScopeTokenUnauthorized from json. -func (s *AppsScopeTokenUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AppsScopeTokenUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AppsScopeTokenUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AppsScopeTokenUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -20348,31 +18923,6 @@ func (s *CheckSuiteStatus) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ChecksCreateSuiteCreated as json. -func (s *ChecksCreateSuiteCreated) Encode(e *jx.Encoder) { - unwrapped := (*CheckSuite)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ChecksCreateSuiteCreated from json. -func (s *ChecksCreateSuiteCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ChecksCreateSuiteCreated to nil") - } - var unwrapped CheckSuite - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ChecksCreateSuiteCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ChecksCreateSuiteCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -20386,31 +18936,6 @@ func (s *ChecksCreateSuiteCreated) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ChecksCreateSuiteOK as json. -func (s *ChecksCreateSuiteOK) Encode(e *jx.Encoder) { - unwrapped := (*CheckSuite)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ChecksCreateSuiteOK from json. -func (s *ChecksCreateSuiteOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ChecksCreateSuiteOK to nil") - } - var unwrapped CheckSuite - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ChecksCreateSuiteOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ChecksCreateSuiteOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24239,31 +22764,6 @@ func (s *CodeScanningAnalysisURL) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningDeleteAnalysisBadRequest as json. -func (s *CodeScanningDeleteAnalysisBadRequest) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningDeleteAnalysisBadRequest from json. -func (s *CodeScanningDeleteAnalysisBadRequest) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningDeleteAnalysisBadRequest to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningDeleteAnalysisBadRequest(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningDeleteAnalysisBadRequest) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24277,31 +22777,6 @@ func (s *CodeScanningDeleteAnalysisBadRequest) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes CodeScanningDeleteAnalysisForbidden as json. -func (s *CodeScanningDeleteAnalysisForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningDeleteAnalysisForbidden from json. -func (s *CodeScanningDeleteAnalysisForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningDeleteAnalysisForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningDeleteAnalysisForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningDeleteAnalysisForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24315,31 +22790,6 @@ func (s *CodeScanningDeleteAnalysisForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningDeleteAnalysisNotFound as json. -func (s *CodeScanningDeleteAnalysisNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningDeleteAnalysisNotFound from json. -func (s *CodeScanningDeleteAnalysisNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningDeleteAnalysisNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningDeleteAnalysisNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningDeleteAnalysisNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24353,31 +22803,6 @@ func (s *CodeScanningDeleteAnalysisNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningGetAlertForbidden as json. -func (s *CodeScanningGetAlertForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningGetAlertForbidden from json. -func (s *CodeScanningGetAlertForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningGetAlertForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningGetAlertForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningGetAlertForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24391,31 +22816,6 @@ func (s *CodeScanningGetAlertForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningGetAlertNotFound as json. -func (s *CodeScanningGetAlertNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningGetAlertNotFound from json. -func (s *CodeScanningGetAlertNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningGetAlertNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningGetAlertNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningGetAlertNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24429,31 +22829,6 @@ func (s *CodeScanningGetAlertNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningGetAnalysisForbidden as json. -func (s *CodeScanningGetAnalysisForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningGetAnalysisForbidden from json. -func (s *CodeScanningGetAnalysisForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningGetAnalysisForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningGetAnalysisForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningGetAnalysisForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24467,31 +22842,6 @@ func (s *CodeScanningGetAnalysisForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningGetAnalysisNotFound as json. -func (s *CodeScanningGetAnalysisNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningGetAnalysisNotFound from json. -func (s *CodeScanningGetAnalysisNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningGetAnalysisNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningGetAnalysisNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningGetAnalysisNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24505,31 +22855,6 @@ func (s *CodeScanningGetAnalysisNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningListAlertInstancesForbidden as json. -func (s *CodeScanningListAlertInstancesForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningListAlertInstancesForbidden from json. -func (s *CodeScanningListAlertInstancesForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningListAlertInstancesForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningListAlertInstancesForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningListAlertInstancesForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24543,31 +22868,6 @@ func (s *CodeScanningListAlertInstancesForbidden) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes CodeScanningListAlertInstancesNotFound as json. -func (s *CodeScanningListAlertInstancesNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningListAlertInstancesNotFound from json. -func (s *CodeScanningListAlertInstancesNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningListAlertInstancesNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningListAlertInstancesNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningListAlertInstancesNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24631,31 +22931,6 @@ func (s *CodeScanningListAlertInstancesOKApplicationJSON) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes CodeScanningListAlertsForRepoForbidden as json. -func (s *CodeScanningListAlertsForRepoForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningListAlertsForRepoForbidden from json. -func (s *CodeScanningListAlertsForRepoForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningListAlertsForRepoForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningListAlertsForRepoForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningListAlertsForRepoForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24669,31 +22944,6 @@ func (s *CodeScanningListAlertsForRepoForbidden) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes CodeScanningListAlertsForRepoNotFound as json. -func (s *CodeScanningListAlertsForRepoNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningListAlertsForRepoNotFound from json. -func (s *CodeScanningListAlertsForRepoNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningListAlertsForRepoNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningListAlertsForRepoNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningListAlertsForRepoNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24757,31 +23007,6 @@ func (s *CodeScanningListAlertsForRepoOKApplicationJSON) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes CodeScanningListRecentAnalysesForbidden as json. -func (s *CodeScanningListRecentAnalysesForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningListRecentAnalysesForbidden from json. -func (s *CodeScanningListRecentAnalysesForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningListRecentAnalysesForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningListRecentAnalysesForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningListRecentAnalysesForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -24795,31 +23020,6 @@ func (s *CodeScanningListRecentAnalysesForbidden) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes CodeScanningListRecentAnalysesNotFound as json. -func (s *CodeScanningListRecentAnalysesNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningListRecentAnalysesNotFound from json. -func (s *CodeScanningListRecentAnalysesNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningListRecentAnalysesNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningListRecentAnalysesNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningListRecentAnalysesNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -25123,31 +23323,6 @@ func (s *CodeScanningSarifsStatusProcessingStatus) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes CodeScanningUpdateAlertForbidden as json. -func (s *CodeScanningUpdateAlertForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningUpdateAlertForbidden from json. -func (s *CodeScanningUpdateAlertForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningUpdateAlertForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningUpdateAlertForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningUpdateAlertForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -25161,31 +23336,6 @@ func (s *CodeScanningUpdateAlertForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningUpdateAlertNotFound as json. -func (s *CodeScanningUpdateAlertNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningUpdateAlertNotFound from json. -func (s *CodeScanningUpdateAlertNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningUpdateAlertNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningUpdateAlertNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningUpdateAlertNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -25310,31 +23460,6 @@ func (s *CodeScanningUpdateAlertReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningUploadSarifForbidden as json. -func (s *CodeScanningUploadSarifForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningUploadSarifForbidden from json. -func (s *CodeScanningUploadSarifForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningUploadSarifForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningUploadSarifForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningUploadSarifForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -25348,31 +23473,6 @@ func (s *CodeScanningUploadSarifForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes CodeScanningUploadSarifNotFound as json. -func (s *CodeScanningUploadSarifNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes CodeScanningUploadSarifNotFound from json. -func (s *CodeScanningUploadSarifNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode CodeScanningUploadSarifNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = CodeScanningUploadSarifNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *CodeScanningUploadSarifNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44096,31 +42196,6 @@ func (s *GistsCheckIsStarredNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsCreateCommentForbidden as json. -func (s *GistsCreateCommentForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsCreateCommentForbidden from json. -func (s *GistsCreateCommentForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsCreateCommentForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsCreateCommentForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsCreateCommentForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44134,31 +42209,6 @@ func (s *GistsCreateCommentForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsCreateCommentNotFound as json. -func (s *GistsCreateCommentNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsCreateCommentNotFound from json. -func (s *GistsCreateCommentNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsCreateCommentNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsCreateCommentNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsCreateCommentNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44268,31 +42318,6 @@ func (s *GistsCreateCommentReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsCreateForbidden as json. -func (s *GistsCreateForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsCreateForbidden from json. -func (s *GistsCreateForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsCreateForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsCreateForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsCreateForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44306,31 +42331,6 @@ func (s *GistsCreateForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsCreateNotFound as json. -func (s *GistsCreateNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsCreateNotFound from json. -func (s *GistsCreateNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsCreateNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsCreateNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsCreateNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44710,31 +42710,6 @@ func (s *GistsCreateReqPublic1) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsDeleteCommentForbidden as json. -func (s *GistsDeleteCommentForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsDeleteCommentForbidden from json. -func (s *GistsDeleteCommentForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsDeleteCommentForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsDeleteCommentForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsDeleteCommentForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44748,31 +42723,6 @@ func (s *GistsDeleteCommentForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsDeleteCommentNotFound as json. -func (s *GistsDeleteCommentNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsDeleteCommentNotFound from json. -func (s *GistsDeleteCommentNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsDeleteCommentNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsDeleteCommentNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsDeleteCommentNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44786,31 +42736,6 @@ func (s *GistsDeleteCommentNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsDeleteForbidden as json. -func (s *GistsDeleteForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsDeleteForbidden from json. -func (s *GistsDeleteForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsDeleteForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsDeleteForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsDeleteForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44824,31 +42749,6 @@ func (s *GistsDeleteForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsDeleteNotFound as json. -func (s *GistsDeleteNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsDeleteNotFound from json. -func (s *GistsDeleteNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsDeleteNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsDeleteNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsDeleteNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44862,31 +42762,6 @@ func (s *GistsDeleteNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsForkForbidden as json. -func (s *GistsForkForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsForkForbidden from json. -func (s *GistsForkForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsForkForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsForkForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsForkForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44900,31 +42775,6 @@ func (s *GistsForkForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsForkNotFound as json. -func (s *GistsForkNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsForkNotFound from json. -func (s *GistsForkNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsForkNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsForkNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsForkNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44938,31 +42788,6 @@ func (s *GistsForkNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsGetRevisionForbidden as json. -func (s *GistsGetRevisionForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsGetRevisionForbidden from json. -func (s *GistsGetRevisionForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsGetRevisionForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsGetRevisionForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsGetRevisionForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -44976,31 +42801,6 @@ func (s *GistsGetRevisionForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsGetRevisionNotFound as json. -func (s *GistsGetRevisionNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsGetRevisionNotFound from json. -func (s *GistsGetRevisionNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsGetRevisionNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsGetRevisionNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsGetRevisionNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45014,31 +42814,6 @@ func (s *GistsGetRevisionNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsListCommentsForbidden as json. -func (s *GistsListCommentsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsListCommentsForbidden from json. -func (s *GistsListCommentsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsListCommentsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsListCommentsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsListCommentsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45052,31 +42827,6 @@ func (s *GistsListCommentsForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsListCommentsNotFound as json. -func (s *GistsListCommentsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsListCommentsNotFound from json. -func (s *GistsListCommentsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsListCommentsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsListCommentsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsListCommentsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45090,31 +42840,6 @@ func (s *GistsListCommentsNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsListCommitsForbidden as json. -func (s *GistsListCommitsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsListCommitsForbidden from json. -func (s *GistsListCommitsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsListCommitsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsListCommitsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsListCommitsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45128,31 +42853,6 @@ func (s *GistsListCommitsForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsListCommitsNotFound as json. -func (s *GistsListCommitsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsListCommitsNotFound from json. -func (s *GistsListCommitsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsListCommitsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsListCommitsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsListCommitsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45166,31 +42866,6 @@ func (s *GistsListCommitsNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsListForksForbidden as json. -func (s *GistsListForksForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsListForksForbidden from json. -func (s *GistsListForksForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsListForksForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsListForksForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsListForksForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45204,31 +42879,6 @@ func (s *GistsListForksForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsListForksNotFound as json. -func (s *GistsListForksNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsListForksNotFound from json. -func (s *GistsListForksNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsListForksNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsListForksNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsListForksNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45242,31 +42892,6 @@ func (s *GistsListForksNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsListStarredForbidden as json. -func (s *GistsListStarredForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsListStarredForbidden from json. -func (s *GistsListStarredForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsListStarredForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsListStarredForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsListStarredForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45280,31 +42905,6 @@ func (s *GistsListStarredForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsListStarredUnauthorized as json. -func (s *GistsListStarredUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsListStarredUnauthorized from json. -func (s *GistsListStarredUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsListStarredUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsListStarredUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsListStarredUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45318,31 +42918,6 @@ func (s *GistsListStarredUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsStarForbidden as json. -func (s *GistsStarForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsStarForbidden from json. -func (s *GistsStarForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsStarForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsStarForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsStarForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45356,31 +42931,6 @@ func (s *GistsStarForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsStarNotFound as json. -func (s *GistsStarNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsStarNotFound from json. -func (s *GistsStarNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsStarNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsStarNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsStarNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45394,31 +42944,6 @@ func (s *GistsStarNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsUnstarForbidden as json. -func (s *GistsUnstarForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsUnstarForbidden from json. -func (s *GistsUnstarForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsUnstarForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsUnstarForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsUnstarForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -45432,31 +42957,6 @@ func (s *GistsUnstarForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GistsUnstarNotFound as json. -func (s *GistsUnstarNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GistsUnstarNotFound from json. -func (s *GistsUnstarNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GistsUnstarNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GistsUnstarNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GistsUnstarNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -46464,31 +43964,6 @@ func (s *GitCommitVerification) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GitCreateBlobConflict as json. -func (s *GitCreateBlobConflict) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GitCreateBlobConflict from json. -func (s *GitCreateBlobConflict) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GitCreateBlobConflict to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GitCreateBlobConflict(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GitCreateBlobConflict) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -46502,31 +43977,6 @@ func (s *GitCreateBlobConflict) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GitCreateBlobForbidden as json. -func (s *GitCreateBlobForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GitCreateBlobForbidden from json. -func (s *GitCreateBlobForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GitCreateBlobForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GitCreateBlobForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GitCreateBlobForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -46540,31 +43990,6 @@ func (s *GitCreateBlobForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GitCreateBlobNotFound as json. -func (s *GitCreateBlobNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GitCreateBlobNotFound from json. -func (s *GitCreateBlobNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GitCreateBlobNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GitCreateBlobNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GitCreateBlobNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -47577,31 +45002,6 @@ func (s *GitCreateTagReqType) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GitCreateTreeForbidden as json. -func (s *GitCreateTreeForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GitCreateTreeForbidden from json. -func (s *GitCreateTreeForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GitCreateTreeForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GitCreateTreeForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GitCreateTreeForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -47615,31 +45015,6 @@ func (s *GitCreateTreeForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GitCreateTreeNotFound as json. -func (s *GitCreateTreeNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GitCreateTreeNotFound from json. -func (s *GitCreateTreeNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GitCreateTreeNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GitCreateTreeNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GitCreateTreeNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -47995,31 +45370,6 @@ func (s *GitCreateTreeReqTreeItemType) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GitGetBlobForbidden as json. -func (s *GitGetBlobForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GitGetBlobForbidden from json. -func (s *GitGetBlobForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GitGetBlobForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GitGetBlobForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GitGetBlobForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -48033,31 +45383,6 @@ func (s *GitGetBlobForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes GitGetBlobNotFound as json. -func (s *GitGetBlobNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes GitGetBlobNotFound from json. -func (s *GitGetBlobNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode GitGetBlobNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = GitGetBlobNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *GitGetBlobNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -58180,31 +55505,6 @@ func (s *IssuesAddAssigneesReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesCreateCommentForbidden as json. -func (s *IssuesCreateCommentForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesCreateCommentForbidden from json. -func (s *IssuesCreateCommentForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesCreateCommentForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesCreateCommentForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesCreateCommentForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -58218,31 +55518,6 @@ func (s *IssuesCreateCommentForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesCreateCommentGone as json. -func (s *IssuesCreateCommentGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesCreateCommentGone from json. -func (s *IssuesCreateCommentGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesCreateCommentGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesCreateCommentGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesCreateCommentGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -58256,31 +55531,6 @@ func (s *IssuesCreateCommentGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesCreateCommentNotFound as json. -func (s *IssuesCreateCommentNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesCreateCommentNotFound from json. -func (s *IssuesCreateCommentNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesCreateCommentNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesCreateCommentNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesCreateCommentNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -58390,31 +55640,6 @@ func (s *IssuesCreateCommentReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesCreateForbidden as json. -func (s *IssuesCreateForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesCreateForbidden from json. -func (s *IssuesCreateForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesCreateForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesCreateForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesCreateForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -58428,31 +55653,6 @@ func (s *IssuesCreateForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesCreateGone as json. -func (s *IssuesCreateGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesCreateGone from json. -func (s *IssuesCreateGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesCreateGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesCreateGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesCreateGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -58784,31 +55984,6 @@ func (s *IssuesCreateMilestoneReqState) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesCreateNotFound as json. -func (s *IssuesCreateNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesCreateNotFound from json. -func (s *IssuesCreateNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesCreateNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesCreateNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesCreateNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59287,31 +56462,6 @@ func (s *IssuesCreateReqTitle) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesGetEventForbidden as json. -func (s *IssuesGetEventForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesGetEventForbidden from json. -func (s *IssuesGetEventForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesGetEventForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesGetEventForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesGetEventForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59325,31 +56475,6 @@ func (s *IssuesGetEventForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesGetEventGone as json. -func (s *IssuesGetEventGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesGetEventGone from json. -func (s *IssuesGetEventGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesGetEventGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesGetEventGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesGetEventGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59363,31 +56488,6 @@ func (s *IssuesGetEventGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesGetEventNotFound as json. -func (s *IssuesGetEventNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesGetEventNotFound from json. -func (s *IssuesGetEventNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesGetEventNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesGetEventNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesGetEventNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59401,31 +56501,6 @@ func (s *IssuesGetEventNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesGetGone as json. -func (s *IssuesGetGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesGetGone from json. -func (s *IssuesGetGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesGetGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesGetGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesGetGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59439,31 +56514,6 @@ func (s *IssuesGetGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesGetMovedPermanently as json. -func (s *IssuesGetMovedPermanently) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesGetMovedPermanently from json. -func (s *IssuesGetMovedPermanently) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesGetMovedPermanently to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesGetMovedPermanently(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesGetMovedPermanently) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59477,31 +56527,6 @@ func (s *IssuesGetMovedPermanently) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesGetNotFound as json. -func (s *IssuesGetNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesGetNotFound from json. -func (s *IssuesGetNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesGetNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesGetNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesGetNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59515,31 +56540,6 @@ func (s *IssuesGetNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesListCommentsGone as json. -func (s *IssuesListCommentsGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesListCommentsGone from json. -func (s *IssuesListCommentsGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesListCommentsGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesListCommentsGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesListCommentsGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59553,31 +56553,6 @@ func (s *IssuesListCommentsGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesListCommentsNotFound as json. -func (s *IssuesListCommentsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesListCommentsNotFound from json. -func (s *IssuesListCommentsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesListCommentsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesListCommentsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesListCommentsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59591,31 +56566,6 @@ func (s *IssuesListCommentsNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesListForRepoMovedPermanently as json. -func (s *IssuesListForRepoMovedPermanently) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesListForRepoMovedPermanently from json. -func (s *IssuesListForRepoMovedPermanently) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesListForRepoMovedPermanently to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesListForRepoMovedPermanently(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesListForRepoMovedPermanently) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59629,31 +56579,6 @@ func (s *IssuesListForRepoMovedPermanently) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesListForRepoNotFound as json. -func (s *IssuesListForRepoNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesListForRepoNotFound from json. -func (s *IssuesListForRepoNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesListForRepoNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesListForRepoNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesListForRepoNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59667,31 +56592,6 @@ func (s *IssuesListForRepoNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesLockForbidden as json. -func (s *IssuesLockForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesLockForbidden from json. -func (s *IssuesLockForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesLockForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesLockForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesLockForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59705,31 +56605,6 @@ func (s *IssuesLockForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesLockGone as json. -func (s *IssuesLockGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesLockGone from json. -func (s *IssuesLockGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesLockGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesLockGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesLockGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59743,31 +56618,6 @@ func (s *IssuesLockGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesLockNotFound as json. -func (s *IssuesLockNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesLockNotFound from json. -func (s *IssuesLockNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesLockNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesLockNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesLockNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -59964,31 +56814,6 @@ func (s *IssuesRemoveAssigneesReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesRemoveLabelGone as json. -func (s *IssuesRemoveLabelGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesRemoveLabelGone from json. -func (s *IssuesRemoveLabelGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesRemoveLabelGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesRemoveLabelGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesRemoveLabelGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -60002,31 +56827,6 @@ func (s *IssuesRemoveLabelGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesRemoveLabelNotFound as json. -func (s *IssuesRemoveLabelNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesRemoveLabelNotFound from json. -func (s *IssuesRemoveLabelNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesRemoveLabelNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesRemoveLabelNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesRemoveLabelNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -60090,31 +56890,6 @@ func (s *IssuesRemoveLabelOKApplicationJSON) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesUnlockForbidden as json. -func (s *IssuesUnlockForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesUnlockForbidden from json. -func (s *IssuesUnlockForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesUnlockForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesUnlockForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesUnlockForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -60128,31 +56903,6 @@ func (s *IssuesUnlockForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesUnlockNotFound as json. -func (s *IssuesUnlockNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesUnlockNotFound from json. -func (s *IssuesUnlockNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesUnlockNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesUnlockNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesUnlockNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -60262,31 +57012,6 @@ func (s *IssuesUpdateCommentReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesUpdateForbidden as json. -func (s *IssuesUpdateForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesUpdateForbidden from json. -func (s *IssuesUpdateForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesUpdateForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesUpdateForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesUpdateForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -60300,31 +57025,6 @@ func (s *IssuesUpdateForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesUpdateGone as json. -func (s *IssuesUpdateGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesUpdateGone from json. -func (s *IssuesUpdateGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesUpdateGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesUpdateGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesUpdateGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -60590,31 +57290,6 @@ func (s *IssuesUpdateMilestoneReqState) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesUpdateMovedPermanently as json. -func (s *IssuesUpdateMovedPermanently) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesUpdateMovedPermanently from json. -func (s *IssuesUpdateMovedPermanently) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesUpdateMovedPermanently to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesUpdateMovedPermanently(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesUpdateMovedPermanently) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -60628,31 +57303,6 @@ func (s *IssuesUpdateMovedPermanently) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes IssuesUpdateNotFound as json. -func (s *IssuesUpdateNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes IssuesUpdateNotFound from json. -func (s *IssuesUpdateNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode IssuesUpdateNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = IssuesUpdateNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *IssuesUpdateNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -63509,31 +60159,6 @@ func (s *LicensesGetAllCommonlyUsedOKApplicationJSON) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes LicensesGetForbidden as json. -func (s *LicensesGetForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes LicensesGetForbidden from json. -func (s *LicensesGetForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode LicensesGetForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = LicensesGetForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *LicensesGetForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -63547,31 +60172,6 @@ func (s *LicensesGetForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes LicensesGetNotFound as json. -func (s *LicensesGetNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes LicensesGetNotFound from json. -func (s *LicensesGetNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode LicensesGetNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = LicensesGetNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *LicensesGetNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66176,31 +62776,6 @@ func (s *Migration) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes MigrationsDeleteArchiveForAuthenticatedUserForbidden as json. -func (s *MigrationsDeleteArchiveForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsDeleteArchiveForAuthenticatedUserForbidden from json. -func (s *MigrationsDeleteArchiveForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsDeleteArchiveForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsDeleteArchiveForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsDeleteArchiveForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66214,31 +62789,6 @@ func (s *MigrationsDeleteArchiveForAuthenticatedUserForbidden) UnmarshalJSON(dat return s.Decode(d) } -// Encode encodes MigrationsDeleteArchiveForAuthenticatedUserNotFound as json. -func (s *MigrationsDeleteArchiveForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsDeleteArchiveForAuthenticatedUserNotFound from json. -func (s *MigrationsDeleteArchiveForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsDeleteArchiveForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsDeleteArchiveForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsDeleteArchiveForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66252,31 +62802,6 @@ func (s *MigrationsDeleteArchiveForAuthenticatedUserNotFound) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes MigrationsDeleteArchiveForAuthenticatedUserUnauthorized as json. -func (s *MigrationsDeleteArchiveForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsDeleteArchiveForAuthenticatedUserUnauthorized from json. -func (s *MigrationsDeleteArchiveForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsDeleteArchiveForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsDeleteArchiveForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsDeleteArchiveForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66290,31 +62815,6 @@ func (s *MigrationsDeleteArchiveForAuthenticatedUserUnauthorized) UnmarshalJSON( return s.Decode(d) } -// Encode encodes MigrationsGetArchiveForAuthenticatedUserForbidden as json. -func (s *MigrationsGetArchiveForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsGetArchiveForAuthenticatedUserForbidden from json. -func (s *MigrationsGetArchiveForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsGetArchiveForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsGetArchiveForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsGetArchiveForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66328,31 +62828,6 @@ func (s *MigrationsGetArchiveForAuthenticatedUserForbidden) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes MigrationsGetArchiveForAuthenticatedUserUnauthorized as json. -func (s *MigrationsGetArchiveForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsGetArchiveForAuthenticatedUserUnauthorized from json. -func (s *MigrationsGetArchiveForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsGetArchiveForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsGetArchiveForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsGetArchiveForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66416,31 +62891,6 @@ func (s *MigrationsGetCommitAuthorsOKApplicationJSON) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes MigrationsGetStatusForAuthenticatedUserForbidden as json. -func (s *MigrationsGetStatusForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsGetStatusForAuthenticatedUserForbidden from json. -func (s *MigrationsGetStatusForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsGetStatusForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsGetStatusForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsGetStatusForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66454,31 +62904,6 @@ func (s *MigrationsGetStatusForAuthenticatedUserForbidden) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes MigrationsGetStatusForAuthenticatedUserNotFound as json. -func (s *MigrationsGetStatusForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsGetStatusForAuthenticatedUserNotFound from json. -func (s *MigrationsGetStatusForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsGetStatusForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsGetStatusForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsGetStatusForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66492,31 +62917,6 @@ func (s *MigrationsGetStatusForAuthenticatedUserNotFound) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes MigrationsGetStatusForAuthenticatedUserUnauthorized as json. -func (s *MigrationsGetStatusForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsGetStatusForAuthenticatedUserUnauthorized from json. -func (s *MigrationsGetStatusForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsGetStatusForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsGetStatusForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsGetStatusForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66530,31 +62930,6 @@ func (s *MigrationsGetStatusForAuthenticatedUserUnauthorized) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes MigrationsListForAuthenticatedUserForbidden as json. -func (s *MigrationsListForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsListForAuthenticatedUserForbidden from json. -func (s *MigrationsListForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsListForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsListForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsListForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66568,31 +62943,6 @@ func (s *MigrationsListForAuthenticatedUserForbidden) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes MigrationsListForAuthenticatedUserUnauthorized as json. -func (s *MigrationsListForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsListForAuthenticatedUserUnauthorized from json. -func (s *MigrationsListForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsListForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsListForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsListForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -66820,31 +63170,6 @@ func (s *MigrationsSetLfsPreferenceReqUseLfs) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes MigrationsStartForAuthenticatedUserForbidden as json. -func (s *MigrationsStartForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsStartForAuthenticatedUserForbidden from json. -func (s *MigrationsStartForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsStartForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsStartForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsStartForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -67100,31 +63425,6 @@ func (s *MigrationsStartForAuthenticatedUserReqExcludeItem) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes MigrationsStartForAuthenticatedUserUnauthorized as json. -func (s *MigrationsStartForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsStartForAuthenticatedUserUnauthorized from json. -func (s *MigrationsStartForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsStartForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsStartForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsStartForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -67589,31 +63889,6 @@ func (s *MigrationsStartImportReqVcs) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes MigrationsUnlockRepoForAuthenticatedUserForbidden as json. -func (s *MigrationsUnlockRepoForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsUnlockRepoForAuthenticatedUserForbidden from json. -func (s *MigrationsUnlockRepoForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsUnlockRepoForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsUnlockRepoForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsUnlockRepoForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -67627,31 +63902,6 @@ func (s *MigrationsUnlockRepoForAuthenticatedUserForbidden) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes MigrationsUnlockRepoForAuthenticatedUserNotFound as json. -func (s *MigrationsUnlockRepoForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsUnlockRepoForAuthenticatedUserNotFound from json. -func (s *MigrationsUnlockRepoForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsUnlockRepoForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsUnlockRepoForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsUnlockRepoForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -67665,31 +63915,6 @@ func (s *MigrationsUnlockRepoForAuthenticatedUserNotFound) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes MigrationsUnlockRepoForAuthenticatedUserUnauthorized as json. -func (s *MigrationsUnlockRepoForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes MigrationsUnlockRepoForAuthenticatedUserUnauthorized from json. -func (s *MigrationsUnlockRepoForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode MigrationsUnlockRepoForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = MigrationsUnlockRepoForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *MigrationsUnlockRepoForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80019,31 +76244,6 @@ func (s *NullableTeamSimple) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes OAuthAuthorizationsCreateAuthorizationForbidden as json. -func (s *OAuthAuthorizationsCreateAuthorizationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsCreateAuthorizationForbidden from json. -func (s *OAuthAuthorizationsCreateAuthorizationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsCreateAuthorizationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsCreateAuthorizationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsCreateAuthorizationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80057,31 +76257,6 @@ func (s *OAuthAuthorizationsCreateAuthorizationForbidden) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes OAuthAuthorizationsCreateAuthorizationGone as json. -func (s *OAuthAuthorizationsCreateAuthorizationGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsCreateAuthorizationGone from json. -func (s *OAuthAuthorizationsCreateAuthorizationGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsCreateAuthorizationGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsCreateAuthorizationGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsCreateAuthorizationGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80243,31 +76418,6 @@ func (s *OAuthAuthorizationsCreateAuthorizationReq) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes OAuthAuthorizationsCreateAuthorizationUnauthorized as json. -func (s *OAuthAuthorizationsCreateAuthorizationUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsCreateAuthorizationUnauthorized from json. -func (s *OAuthAuthorizationsCreateAuthorizationUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsCreateAuthorizationUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsCreateAuthorizationUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsCreateAuthorizationUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80281,31 +76431,6 @@ func (s *OAuthAuthorizationsCreateAuthorizationUnauthorized) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes OAuthAuthorizationsDeleteAuthorizationForbidden as json. -func (s *OAuthAuthorizationsDeleteAuthorizationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsDeleteAuthorizationForbidden from json. -func (s *OAuthAuthorizationsDeleteAuthorizationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsDeleteAuthorizationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsDeleteAuthorizationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsDeleteAuthorizationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80319,31 +76444,6 @@ func (s *OAuthAuthorizationsDeleteAuthorizationForbidden) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes OAuthAuthorizationsDeleteAuthorizationUnauthorized as json. -func (s *OAuthAuthorizationsDeleteAuthorizationUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsDeleteAuthorizationUnauthorized from json. -func (s *OAuthAuthorizationsDeleteAuthorizationUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsDeleteAuthorizationUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsDeleteAuthorizationUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsDeleteAuthorizationUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80357,31 +76457,6 @@ func (s *OAuthAuthorizationsDeleteAuthorizationUnauthorized) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes OAuthAuthorizationsDeleteGrantForbidden as json. -func (s *OAuthAuthorizationsDeleteGrantForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsDeleteGrantForbidden from json. -func (s *OAuthAuthorizationsDeleteGrantForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsDeleteGrantForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsDeleteGrantForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsDeleteGrantForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80395,31 +76470,6 @@ func (s *OAuthAuthorizationsDeleteGrantForbidden) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes OAuthAuthorizationsDeleteGrantUnauthorized as json. -func (s *OAuthAuthorizationsDeleteGrantUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsDeleteGrantUnauthorized from json. -func (s *OAuthAuthorizationsDeleteGrantUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsDeleteGrantUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsDeleteGrantUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsDeleteGrantUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80433,31 +76483,6 @@ func (s *OAuthAuthorizationsDeleteGrantUnauthorized) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes OAuthAuthorizationsGetAuthorizationForbidden as json. -func (s *OAuthAuthorizationsGetAuthorizationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsGetAuthorizationForbidden from json. -func (s *OAuthAuthorizationsGetAuthorizationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsGetAuthorizationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsGetAuthorizationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsGetAuthorizationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80471,31 +76496,6 @@ func (s *OAuthAuthorizationsGetAuthorizationForbidden) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes OAuthAuthorizationsGetAuthorizationUnauthorized as json. -func (s *OAuthAuthorizationsGetAuthorizationUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsGetAuthorizationUnauthorized from json. -func (s *OAuthAuthorizationsGetAuthorizationUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsGetAuthorizationUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsGetAuthorizationUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsGetAuthorizationUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80509,31 +76509,6 @@ func (s *OAuthAuthorizationsGetAuthorizationUnauthorized) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes OAuthAuthorizationsGetGrantForbidden as json. -func (s *OAuthAuthorizationsGetGrantForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsGetGrantForbidden from json. -func (s *OAuthAuthorizationsGetGrantForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsGetGrantForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsGetGrantForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsGetGrantForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80547,31 +76522,6 @@ func (s *OAuthAuthorizationsGetGrantForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes OAuthAuthorizationsGetGrantUnauthorized as json. -func (s *OAuthAuthorizationsGetGrantUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsGetGrantUnauthorized from json. -func (s *OAuthAuthorizationsGetGrantUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsGetGrantUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsGetGrantUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsGetGrantUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80732,31 +76682,6 @@ func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintReq) Unm return s.Decode(d) } -// Encode encodes OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden as json. -func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden from json. -func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80934,31 +76859,6 @@ func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppReq) UnmarshalJSON(dat return s.Decode(d) } -// Encode encodes OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized as json. -func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized from json. -func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -80972,31 +76872,6 @@ func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized) Unmarsha return s.Decode(d) } -// Encode encodes OAuthAuthorizationsListAuthorizationsForbidden as json. -func (s *OAuthAuthorizationsListAuthorizationsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsListAuthorizationsForbidden from json. -func (s *OAuthAuthorizationsListAuthorizationsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsListAuthorizationsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsListAuthorizationsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsListAuthorizationsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -81010,31 +76885,6 @@ func (s *OAuthAuthorizationsListAuthorizationsForbidden) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes OAuthAuthorizationsListAuthorizationsNotFound as json. -func (s *OAuthAuthorizationsListAuthorizationsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsListAuthorizationsNotFound from json. -func (s *OAuthAuthorizationsListAuthorizationsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsListAuthorizationsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsListAuthorizationsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsListAuthorizationsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -81048,31 +76898,6 @@ func (s *OAuthAuthorizationsListAuthorizationsNotFound) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes OAuthAuthorizationsListAuthorizationsUnauthorized as json. -func (s *OAuthAuthorizationsListAuthorizationsUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsListAuthorizationsUnauthorized from json. -func (s *OAuthAuthorizationsListAuthorizationsUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsListAuthorizationsUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsListAuthorizationsUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsListAuthorizationsUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -81086,31 +76911,6 @@ func (s *OAuthAuthorizationsListAuthorizationsUnauthorized) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes OAuthAuthorizationsListGrantsForbidden as json. -func (s *OAuthAuthorizationsListGrantsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsListGrantsForbidden from json. -func (s *OAuthAuthorizationsListGrantsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsListGrantsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsListGrantsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsListGrantsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -81124,31 +76924,6 @@ func (s *OAuthAuthorizationsListGrantsForbidden) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes OAuthAuthorizationsListGrantsNotFound as json. -func (s *OAuthAuthorizationsListGrantsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsListGrantsNotFound from json. -func (s *OAuthAuthorizationsListGrantsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsListGrantsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsListGrantsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsListGrantsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -81162,31 +76937,6 @@ func (s *OAuthAuthorizationsListGrantsNotFound) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes OAuthAuthorizationsListGrantsUnauthorized as json. -func (s *OAuthAuthorizationsListGrantsUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OAuthAuthorizationsListGrantsUnauthorized from json. -func (s *OAuthAuthorizationsListGrantsUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OAuthAuthorizationsListGrantsUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OAuthAuthorizationsListGrantsUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OAuthAuthorizationsListGrantsUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -96610,31 +92360,6 @@ func (s *OrgsCreateWebhookReqConfig) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes OrgsGetMembershipForAuthenticatedUserForbidden as json. -func (s *OrgsGetMembershipForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsGetMembershipForAuthenticatedUserForbidden from json. -func (s *OrgsGetMembershipForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsGetMembershipForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsGetMembershipForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsGetMembershipForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -96648,31 +92373,6 @@ func (s *OrgsGetMembershipForAuthenticatedUserForbidden) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes OrgsGetMembershipForAuthenticatedUserNotFound as json. -func (s *OrgsGetMembershipForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsGetMembershipForAuthenticatedUserNotFound from json. -func (s *OrgsGetMembershipForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsGetMembershipForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsGetMembershipForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsGetMembershipForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -96686,31 +92386,6 @@ func (s *OrgsGetMembershipForAuthenticatedUserNotFound) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes OrgsGetMembershipForUserForbidden as json. -func (s *OrgsGetMembershipForUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsGetMembershipForUserForbidden from json. -func (s *OrgsGetMembershipForUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsGetMembershipForUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsGetMembershipForUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsGetMembershipForUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -96724,31 +92399,6 @@ func (s *OrgsGetMembershipForUserForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes OrgsGetMembershipForUserNotFound as json. -func (s *OrgsGetMembershipForUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsGetMembershipForUserNotFound from json. -func (s *OrgsGetMembershipForUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsGetMembershipForUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsGetMembershipForUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsGetMembershipForUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -96812,31 +92462,6 @@ func (s *OrgsListBlockedUsersOKApplicationJSON) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes OrgsListForAuthenticatedUserForbidden as json. -func (s *OrgsListForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsListForAuthenticatedUserForbidden from json. -func (s *OrgsListForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsListForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsListForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsListForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -96850,31 +92475,6 @@ func (s *OrgsListForAuthenticatedUserForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes OrgsListForAuthenticatedUserUnauthorized as json. -func (s *OrgsListForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsListForAuthenticatedUserUnauthorized from json. -func (s *OrgsListForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsListForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsListForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsListForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -96888,31 +92488,6 @@ func (s *OrgsListForAuthenticatedUserUnauthorized) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes OrgsListMembershipsForAuthenticatedUserForbidden as json. -func (s *OrgsListMembershipsForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsListMembershipsForAuthenticatedUserForbidden from json. -func (s *OrgsListMembershipsForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsListMembershipsForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsListMembershipsForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsListMembershipsForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -96926,31 +92501,6 @@ func (s *OrgsListMembershipsForAuthenticatedUserForbidden) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes OrgsListMembershipsForAuthenticatedUserUnauthorized as json. -func (s *OrgsListMembershipsForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsListMembershipsForAuthenticatedUserUnauthorized from json. -func (s *OrgsListMembershipsForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsListMembershipsForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsListMembershipsForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsListMembershipsForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -97014,31 +92564,6 @@ func (s *OrgsListWebhookDeliveriesOKApplicationJSON) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes OrgsRemoveMembershipForUserForbidden as json. -func (s *OrgsRemoveMembershipForUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsRemoveMembershipForUserForbidden from json. -func (s *OrgsRemoveMembershipForUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsRemoveMembershipForUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsRemoveMembershipForUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsRemoveMembershipForUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -97052,31 +92577,6 @@ func (s *OrgsRemoveMembershipForUserForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes OrgsRemoveMembershipForUserNotFound as json. -func (s *OrgsRemoveMembershipForUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsRemoveMembershipForUserNotFound from json. -func (s *OrgsRemoveMembershipForUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsRemoveMembershipForUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsRemoveMembershipForUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsRemoveMembershipForUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -97274,31 +92774,6 @@ func (s *OrgsSetMembershipForUserReqRole) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes OrgsUpdateMembershipForAuthenticatedUserForbidden as json. -func (s *OrgsUpdateMembershipForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsUpdateMembershipForAuthenticatedUserForbidden from json. -func (s *OrgsUpdateMembershipForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsUpdateMembershipForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsUpdateMembershipForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsUpdateMembershipForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -97312,31 +92787,6 @@ func (s *OrgsUpdateMembershipForAuthenticatedUserForbidden) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes OrgsUpdateMembershipForAuthenticatedUserNotFound as json. -func (s *OrgsUpdateMembershipForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes OrgsUpdateMembershipForAuthenticatedUserNotFound from json. -func (s *OrgsUpdateMembershipForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode OrgsUpdateMembershipForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = OrgsUpdateMembershipForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *OrgsUpdateMembershipForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -98981,31 +94431,6 @@ func (s *PackagesBillingUsage) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes PackagesDeletePackageForAuthenticatedUserForbidden as json. -func (s *PackagesDeletePackageForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForAuthenticatedUserForbidden from json. -func (s *PackagesDeletePackageForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99019,31 +94444,6 @@ func (s *PackagesDeletePackageForAuthenticatedUserForbidden) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes PackagesDeletePackageForAuthenticatedUserNotFound as json. -func (s *PackagesDeletePackageForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForAuthenticatedUserNotFound from json. -func (s *PackagesDeletePackageForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99057,31 +94457,6 @@ func (s *PackagesDeletePackageForAuthenticatedUserNotFound) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes PackagesDeletePackageForAuthenticatedUserUnauthorized as json. -func (s *PackagesDeletePackageForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForAuthenticatedUserUnauthorized from json. -func (s *PackagesDeletePackageForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99095,31 +94470,6 @@ func (s *PackagesDeletePackageForAuthenticatedUserUnauthorized) UnmarshalJSON(da return s.Decode(d) } -// Encode encodes PackagesDeletePackageForOrgForbidden as json. -func (s *PackagesDeletePackageForOrgForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForOrgForbidden from json. -func (s *PackagesDeletePackageForOrgForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForOrgForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForOrgForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForOrgForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99133,31 +94483,6 @@ func (s *PackagesDeletePackageForOrgForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes PackagesDeletePackageForOrgNotFound as json. -func (s *PackagesDeletePackageForOrgNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForOrgNotFound from json. -func (s *PackagesDeletePackageForOrgNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForOrgNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForOrgNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForOrgNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99171,31 +94496,6 @@ func (s *PackagesDeletePackageForOrgNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes PackagesDeletePackageForOrgUnauthorized as json. -func (s *PackagesDeletePackageForOrgUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForOrgUnauthorized from json. -func (s *PackagesDeletePackageForOrgUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForOrgUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForOrgUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForOrgUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99209,31 +94509,6 @@ func (s *PackagesDeletePackageForOrgUnauthorized) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes PackagesDeletePackageForUserForbidden as json. -func (s *PackagesDeletePackageForUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForUserForbidden from json. -func (s *PackagesDeletePackageForUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99247,31 +94522,6 @@ func (s *PackagesDeletePackageForUserForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes PackagesDeletePackageForUserNotFound as json. -func (s *PackagesDeletePackageForUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForUserNotFound from json. -func (s *PackagesDeletePackageForUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99285,31 +94535,6 @@ func (s *PackagesDeletePackageForUserNotFound) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes PackagesDeletePackageForUserUnauthorized as json. -func (s *PackagesDeletePackageForUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageForUserUnauthorized from json. -func (s *PackagesDeletePackageForUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageForUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageForUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageForUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99323,31 +94548,6 @@ func (s *PackagesDeletePackageForUserUnauthorized) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForAuthenticatedUserForbidden as json. -func (s *PackagesDeletePackageVersionForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForAuthenticatedUserForbidden from json. -func (s *PackagesDeletePackageVersionForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99361,31 +94561,6 @@ func (s *PackagesDeletePackageVersionForAuthenticatedUserForbidden) UnmarshalJSO return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForAuthenticatedUserNotFound as json. -func (s *PackagesDeletePackageVersionForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForAuthenticatedUserNotFound from json. -func (s *PackagesDeletePackageVersionForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99399,31 +94574,6 @@ func (s *PackagesDeletePackageVersionForAuthenticatedUserNotFound) UnmarshalJSON return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForAuthenticatedUserUnauthorized as json. -func (s *PackagesDeletePackageVersionForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForAuthenticatedUserUnauthorized from json. -func (s *PackagesDeletePackageVersionForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99437,31 +94587,6 @@ func (s *PackagesDeletePackageVersionForAuthenticatedUserUnauthorized) Unmarshal return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForOrgForbidden as json. -func (s *PackagesDeletePackageVersionForOrgForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForOrgForbidden from json. -func (s *PackagesDeletePackageVersionForOrgForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForOrgForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForOrgForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForOrgForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99475,31 +94600,6 @@ func (s *PackagesDeletePackageVersionForOrgForbidden) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForOrgNotFound as json. -func (s *PackagesDeletePackageVersionForOrgNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForOrgNotFound from json. -func (s *PackagesDeletePackageVersionForOrgNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForOrgNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForOrgNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForOrgNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99513,31 +94613,6 @@ func (s *PackagesDeletePackageVersionForOrgNotFound) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForOrgUnauthorized as json. -func (s *PackagesDeletePackageVersionForOrgUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForOrgUnauthorized from json. -func (s *PackagesDeletePackageVersionForOrgUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForOrgUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForOrgUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForOrgUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99551,31 +94626,6 @@ func (s *PackagesDeletePackageVersionForOrgUnauthorized) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForUserForbidden as json. -func (s *PackagesDeletePackageVersionForUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForUserForbidden from json. -func (s *PackagesDeletePackageVersionForUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99589,31 +94639,6 @@ func (s *PackagesDeletePackageVersionForUserForbidden) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForUserNotFound as json. -func (s *PackagesDeletePackageVersionForUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForUserNotFound from json. -func (s *PackagesDeletePackageVersionForUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99627,31 +94652,6 @@ func (s *PackagesDeletePackageVersionForUserNotFound) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes PackagesDeletePackageVersionForUserUnauthorized as json. -func (s *PackagesDeletePackageVersionForUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesDeletePackageVersionForUserUnauthorized from json. -func (s *PackagesDeletePackageVersionForUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesDeletePackageVersionForUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesDeletePackageVersionForUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesDeletePackageVersionForUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99665,31 +94665,6 @@ func (s *PackagesDeletePackageVersionForUserUnauthorized) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99703,31 +94678,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidde return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99791,31 +94741,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserOKApplic return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99829,31 +94754,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthor return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99867,31 +94767,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden) UnmarshalJS return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99955,31 +94830,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgOKApplicationJSON) Unm return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -99993,31 +94843,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized) Unmarsha return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100031,31 +94856,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden) UnmarshalJ return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100119,31 +94919,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserOKApplicationJSON) Un return s.Decode(d) } -// Encode encodes PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized as json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized from json. -func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100157,31 +94932,6 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized) Unmarsh return s.Decode(d) } -// Encode encodes PackagesListPackagesForOrganizationForbidden as json. -func (s *PackagesListPackagesForOrganizationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesListPackagesForOrganizationForbidden from json. -func (s *PackagesListPackagesForOrganizationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesListPackagesForOrganizationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesListPackagesForOrganizationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesListPackagesForOrganizationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100245,31 +94995,6 @@ func (s *PackagesListPackagesForOrganizationOKApplicationJSON) UnmarshalJSON(dat return s.Decode(d) } -// Encode encodes PackagesListPackagesForOrganizationUnauthorized as json. -func (s *PackagesListPackagesForOrganizationUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesListPackagesForOrganizationUnauthorized from json. -func (s *PackagesListPackagesForOrganizationUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesListPackagesForOrganizationUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesListPackagesForOrganizationUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesListPackagesForOrganizationUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100283,31 +95008,6 @@ func (s *PackagesListPackagesForOrganizationUnauthorized) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes PackagesListPackagesForUserForbidden as json. -func (s *PackagesListPackagesForUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesListPackagesForUserForbidden from json. -func (s *PackagesListPackagesForUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesListPackagesForUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesListPackagesForUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesListPackagesForUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100371,31 +95071,6 @@ func (s *PackagesListPackagesForUserOKApplicationJSON) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes PackagesListPackagesForUserUnauthorized as json. -func (s *PackagesListPackagesForUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesListPackagesForUserUnauthorized from json. -func (s *PackagesListPackagesForUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesListPackagesForUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesListPackagesForUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesListPackagesForUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100409,31 +95084,6 @@ func (s *PackagesListPackagesForUserUnauthorized) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes PackagesRestorePackageForAuthenticatedUserForbidden as json. -func (s *PackagesRestorePackageForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForAuthenticatedUserForbidden from json. -func (s *PackagesRestorePackageForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100447,31 +95097,6 @@ func (s *PackagesRestorePackageForAuthenticatedUserForbidden) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes PackagesRestorePackageForAuthenticatedUserNotFound as json. -func (s *PackagesRestorePackageForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForAuthenticatedUserNotFound from json. -func (s *PackagesRestorePackageForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100485,31 +95110,6 @@ func (s *PackagesRestorePackageForAuthenticatedUserNotFound) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes PackagesRestorePackageForAuthenticatedUserUnauthorized as json. -func (s *PackagesRestorePackageForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForAuthenticatedUserUnauthorized from json. -func (s *PackagesRestorePackageForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100523,31 +95123,6 @@ func (s *PackagesRestorePackageForAuthenticatedUserUnauthorized) UnmarshalJSON(d return s.Decode(d) } -// Encode encodes PackagesRestorePackageForOrgForbidden as json. -func (s *PackagesRestorePackageForOrgForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForOrgForbidden from json. -func (s *PackagesRestorePackageForOrgForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForOrgForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForOrgForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForOrgForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100561,31 +95136,6 @@ func (s *PackagesRestorePackageForOrgForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes PackagesRestorePackageForOrgNotFound as json. -func (s *PackagesRestorePackageForOrgNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForOrgNotFound from json. -func (s *PackagesRestorePackageForOrgNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForOrgNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForOrgNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForOrgNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100599,31 +95149,6 @@ func (s *PackagesRestorePackageForOrgNotFound) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes PackagesRestorePackageForOrgUnauthorized as json. -func (s *PackagesRestorePackageForOrgUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForOrgUnauthorized from json. -func (s *PackagesRestorePackageForOrgUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForOrgUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForOrgUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForOrgUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100637,31 +95162,6 @@ func (s *PackagesRestorePackageForOrgUnauthorized) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes PackagesRestorePackageForUserForbidden as json. -func (s *PackagesRestorePackageForUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForUserForbidden from json. -func (s *PackagesRestorePackageForUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100675,31 +95175,6 @@ func (s *PackagesRestorePackageForUserForbidden) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes PackagesRestorePackageForUserNotFound as json. -func (s *PackagesRestorePackageForUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForUserNotFound from json. -func (s *PackagesRestorePackageForUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100713,31 +95188,6 @@ func (s *PackagesRestorePackageForUserNotFound) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes PackagesRestorePackageForUserUnauthorized as json. -func (s *PackagesRestorePackageForUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageForUserUnauthorized from json. -func (s *PackagesRestorePackageForUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageForUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageForUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageForUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100751,31 +95201,6 @@ func (s *PackagesRestorePackageForUserUnauthorized) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForAuthenticatedUserForbidden as json. -func (s *PackagesRestorePackageVersionForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForAuthenticatedUserForbidden from json. -func (s *PackagesRestorePackageVersionForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100789,31 +95214,6 @@ func (s *PackagesRestorePackageVersionForAuthenticatedUserForbidden) UnmarshalJS return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForAuthenticatedUserNotFound as json. -func (s *PackagesRestorePackageVersionForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForAuthenticatedUserNotFound from json. -func (s *PackagesRestorePackageVersionForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100827,31 +95227,6 @@ func (s *PackagesRestorePackageVersionForAuthenticatedUserNotFound) UnmarshalJSO return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForAuthenticatedUserUnauthorized as json. -func (s *PackagesRestorePackageVersionForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForAuthenticatedUserUnauthorized from json. -func (s *PackagesRestorePackageVersionForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100865,31 +95240,6 @@ func (s *PackagesRestorePackageVersionForAuthenticatedUserUnauthorized) Unmarsha return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForOrgForbidden as json. -func (s *PackagesRestorePackageVersionForOrgForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForOrgForbidden from json. -func (s *PackagesRestorePackageVersionForOrgForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForOrgForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForOrgForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForOrgForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100903,31 +95253,6 @@ func (s *PackagesRestorePackageVersionForOrgForbidden) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForOrgNotFound as json. -func (s *PackagesRestorePackageVersionForOrgNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForOrgNotFound from json. -func (s *PackagesRestorePackageVersionForOrgNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForOrgNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForOrgNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForOrgNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100941,31 +95266,6 @@ func (s *PackagesRestorePackageVersionForOrgNotFound) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForOrgUnauthorized as json. -func (s *PackagesRestorePackageVersionForOrgUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForOrgUnauthorized from json. -func (s *PackagesRestorePackageVersionForOrgUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForOrgUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForOrgUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForOrgUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -100979,31 +95279,6 @@ func (s *PackagesRestorePackageVersionForOrgUnauthorized) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForUserForbidden as json. -func (s *PackagesRestorePackageVersionForUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForUserForbidden from json. -func (s *PackagesRestorePackageVersionForUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -101017,31 +95292,6 @@ func (s *PackagesRestorePackageVersionForUserForbidden) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForUserNotFound as json. -func (s *PackagesRestorePackageVersionForUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForUserNotFound from json. -func (s *PackagesRestorePackageVersionForUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -101055,31 +95305,6 @@ func (s *PackagesRestorePackageVersionForUserNotFound) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes PackagesRestorePackageVersionForUserUnauthorized as json. -func (s *PackagesRestorePackageVersionForUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PackagesRestorePackageVersionForUserUnauthorized from json. -func (s *PackagesRestorePackageVersionForUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PackagesRestorePackageVersionForUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PackagesRestorePackageVersionForUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PackagesRestorePackageVersionForUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -105726,31 +99951,6 @@ func (s *ProjectOrganizationPermission) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsAddCollaboratorForbidden as json. -func (s *ProjectsAddCollaboratorForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsAddCollaboratorForbidden from json. -func (s *ProjectsAddCollaboratorForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsAddCollaboratorForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsAddCollaboratorForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsAddCollaboratorForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -105764,31 +99964,6 @@ func (s *ProjectsAddCollaboratorForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsAddCollaboratorNotFound as json. -func (s *ProjectsAddCollaboratorNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsAddCollaboratorNotFound from json. -func (s *ProjectsAddCollaboratorNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsAddCollaboratorNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsAddCollaboratorNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsAddCollaboratorNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -105908,31 +100083,6 @@ func (s *ProjectsAddCollaboratorReqPermission) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ProjectsAddCollaboratorUnauthorized as json. -func (s *ProjectsAddCollaboratorUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsAddCollaboratorUnauthorized from json. -func (s *ProjectsAddCollaboratorUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsAddCollaboratorUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsAddCollaboratorUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsAddCollaboratorUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -105946,31 +100096,6 @@ func (s *ProjectsAddCollaboratorUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateColumnForbidden as json. -func (s *ProjectsCreateColumnForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateColumnForbidden from json. -func (s *ProjectsCreateColumnForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateColumnForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateColumnForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateColumnForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106080,31 +100205,6 @@ func (s *ProjectsCreateColumnReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateColumnUnauthorized as json. -func (s *ProjectsCreateColumnUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateColumnUnauthorized from json. -func (s *ProjectsCreateColumnUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateColumnUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateColumnUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateColumnUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106118,31 +100218,6 @@ func (s *ProjectsCreateColumnUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateForAuthenticatedUserForbidden as json. -func (s *ProjectsCreateForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForAuthenticatedUserForbidden from json. -func (s *ProjectsCreateForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106269,31 +100344,6 @@ func (s *ProjectsCreateForAuthenticatedUserReq) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ProjectsCreateForAuthenticatedUserUnauthorized as json. -func (s *ProjectsCreateForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForAuthenticatedUserUnauthorized from json. -func (s *ProjectsCreateForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106307,31 +100357,6 @@ func (s *ProjectsCreateForAuthenticatedUserUnauthorized) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes ProjectsCreateForOrgForbidden as json. -func (s *ProjectsCreateForOrgForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForOrgForbidden from json. -func (s *ProjectsCreateForOrgForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForOrgForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForOrgForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForOrgForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106345,31 +100370,6 @@ func (s *ProjectsCreateForOrgForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateForOrgGone as json. -func (s *ProjectsCreateForOrgGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForOrgGone from json. -func (s *ProjectsCreateForOrgGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForOrgGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForOrgGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForOrgGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106383,31 +100383,6 @@ func (s *ProjectsCreateForOrgGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateForOrgNotFound as json. -func (s *ProjectsCreateForOrgNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForOrgNotFound from json. -func (s *ProjectsCreateForOrgNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForOrgNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForOrgNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForOrgNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106534,31 +100509,6 @@ func (s *ProjectsCreateForOrgReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateForOrgUnauthorized as json. -func (s *ProjectsCreateForOrgUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForOrgUnauthorized from json. -func (s *ProjectsCreateForOrgUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForOrgUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForOrgUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForOrgUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106572,31 +100522,6 @@ func (s *ProjectsCreateForOrgUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateForRepoForbidden as json. -func (s *ProjectsCreateForRepoForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForRepoForbidden from json. -func (s *ProjectsCreateForRepoForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForRepoForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForRepoForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForRepoForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106610,31 +100535,6 @@ func (s *ProjectsCreateForRepoForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateForRepoGone as json. -func (s *ProjectsCreateForRepoGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForRepoGone from json. -func (s *ProjectsCreateForRepoGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForRepoGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForRepoGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForRepoGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106648,31 +100548,6 @@ func (s *ProjectsCreateForRepoGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateForRepoNotFound as json. -func (s *ProjectsCreateForRepoNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForRepoNotFound from json. -func (s *ProjectsCreateForRepoNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForRepoNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForRepoNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForRepoNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106799,31 +100674,6 @@ func (s *ProjectsCreateForRepoReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsCreateForRepoUnauthorized as json. -func (s *ProjectsCreateForRepoUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsCreateForRepoUnauthorized from json. -func (s *ProjectsCreateForRepoUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsCreateForRepoUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsCreateForRepoUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsCreateForRepoUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106947,31 +100797,6 @@ func (s *ProjectsDeleteCardForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsDeleteCardNotFound as json. -func (s *ProjectsDeleteCardNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsDeleteCardNotFound from json. -func (s *ProjectsDeleteCardNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsDeleteCardNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsDeleteCardNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsDeleteCardNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -106985,31 +100810,6 @@ func (s *ProjectsDeleteCardNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsDeleteCardUnauthorized as json. -func (s *ProjectsDeleteCardUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsDeleteCardUnauthorized from json. -func (s *ProjectsDeleteCardUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsDeleteCardUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsDeleteCardUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsDeleteCardUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107023,31 +100823,6 @@ func (s *ProjectsDeleteCardUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsDeleteColumnForbidden as json. -func (s *ProjectsDeleteColumnForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsDeleteColumnForbidden from json. -func (s *ProjectsDeleteColumnForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsDeleteColumnForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsDeleteColumnForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsDeleteColumnForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107061,31 +100836,6 @@ func (s *ProjectsDeleteColumnForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsDeleteColumnUnauthorized as json. -func (s *ProjectsDeleteColumnUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsDeleteColumnUnauthorized from json. -func (s *ProjectsDeleteColumnUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsDeleteColumnUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsDeleteColumnUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsDeleteColumnUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107209,31 +100959,6 @@ func (s *ProjectsDeleteForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsDeleteGone as json. -func (s *ProjectsDeleteGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsDeleteGone from json. -func (s *ProjectsDeleteGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsDeleteGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsDeleteGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsDeleteGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107247,31 +100972,6 @@ func (s *ProjectsDeleteGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsDeleteNotFound as json. -func (s *ProjectsDeleteNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsDeleteNotFound from json. -func (s *ProjectsDeleteNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsDeleteNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsDeleteNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsDeleteNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107285,31 +100985,6 @@ func (s *ProjectsDeleteNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsDeleteUnauthorized as json. -func (s *ProjectsDeleteUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsDeleteUnauthorized from json. -func (s *ProjectsDeleteUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsDeleteUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsDeleteUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsDeleteUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107323,31 +100998,6 @@ func (s *ProjectsDeleteUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsGetCardForbidden as json. -func (s *ProjectsGetCardForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetCardForbidden from json. -func (s *ProjectsGetCardForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetCardForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetCardForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetCardForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107361,31 +101011,6 @@ func (s *ProjectsGetCardForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsGetCardNotFound as json. -func (s *ProjectsGetCardNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetCardNotFound from json. -func (s *ProjectsGetCardNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetCardNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetCardNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetCardNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107399,31 +101024,6 @@ func (s *ProjectsGetCardNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsGetCardUnauthorized as json. -func (s *ProjectsGetCardUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetCardUnauthorized from json. -func (s *ProjectsGetCardUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetCardUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetCardUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetCardUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107437,31 +101037,6 @@ func (s *ProjectsGetCardUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsGetColumnForbidden as json. -func (s *ProjectsGetColumnForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetColumnForbidden from json. -func (s *ProjectsGetColumnForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetColumnForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetColumnForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetColumnForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107475,31 +101050,6 @@ func (s *ProjectsGetColumnForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsGetColumnNotFound as json. -func (s *ProjectsGetColumnNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetColumnNotFound from json. -func (s *ProjectsGetColumnNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetColumnNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetColumnNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetColumnNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107513,31 +101063,6 @@ func (s *ProjectsGetColumnNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsGetColumnUnauthorized as json. -func (s *ProjectsGetColumnUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetColumnUnauthorized from json. -func (s *ProjectsGetColumnUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetColumnUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetColumnUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetColumnUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107551,31 +101076,6 @@ func (s *ProjectsGetColumnUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsGetForbidden as json. -func (s *ProjectsGetForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetForbidden from json. -func (s *ProjectsGetForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107589,31 +101089,6 @@ func (s *ProjectsGetForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsGetPermissionForUserForbidden as json. -func (s *ProjectsGetPermissionForUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetPermissionForUserForbidden from json. -func (s *ProjectsGetPermissionForUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetPermissionForUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetPermissionForUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetPermissionForUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107627,31 +101102,6 @@ func (s *ProjectsGetPermissionForUserForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ProjectsGetPermissionForUserNotFound as json. -func (s *ProjectsGetPermissionForUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetPermissionForUserNotFound from json. -func (s *ProjectsGetPermissionForUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetPermissionForUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetPermissionForUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetPermissionForUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107665,31 +101115,6 @@ func (s *ProjectsGetPermissionForUserNotFound) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ProjectsGetPermissionForUserUnauthorized as json. -func (s *ProjectsGetPermissionForUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetPermissionForUserUnauthorized from json. -func (s *ProjectsGetPermissionForUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetPermissionForUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetPermissionForUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetPermissionForUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107703,31 +101128,6 @@ func (s *ProjectsGetPermissionForUserUnauthorized) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes ProjectsGetUnauthorized as json. -func (s *ProjectsGetUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsGetUnauthorized from json. -func (s *ProjectsGetUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsGetUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsGetUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsGetUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107741,31 +101141,6 @@ func (s *ProjectsGetUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListCardsForbidden as json. -func (s *ProjectsListCardsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListCardsForbidden from json. -func (s *ProjectsListCardsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListCardsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListCardsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListCardsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107779,31 +101154,6 @@ func (s *ProjectsListCardsForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListCardsUnauthorized as json. -func (s *ProjectsListCardsUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListCardsUnauthorized from json. -func (s *ProjectsListCardsUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListCardsUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListCardsUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListCardsUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107817,31 +101167,6 @@ func (s *ProjectsListCardsUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListCollaboratorsForbidden as json. -func (s *ProjectsListCollaboratorsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListCollaboratorsForbidden from json. -func (s *ProjectsListCollaboratorsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListCollaboratorsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListCollaboratorsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListCollaboratorsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107855,31 +101180,6 @@ func (s *ProjectsListCollaboratorsForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListCollaboratorsNotFound as json. -func (s *ProjectsListCollaboratorsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListCollaboratorsNotFound from json. -func (s *ProjectsListCollaboratorsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListCollaboratorsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListCollaboratorsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListCollaboratorsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107893,31 +101193,6 @@ func (s *ProjectsListCollaboratorsNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListCollaboratorsUnauthorized as json. -func (s *ProjectsListCollaboratorsUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListCollaboratorsUnauthorized from json. -func (s *ProjectsListCollaboratorsUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListCollaboratorsUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListCollaboratorsUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListCollaboratorsUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107931,31 +101206,6 @@ func (s *ProjectsListCollaboratorsUnauthorized) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ProjectsListColumnsForbidden as json. -func (s *ProjectsListColumnsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListColumnsForbidden from json. -func (s *ProjectsListColumnsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListColumnsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListColumnsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListColumnsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -107969,31 +101219,6 @@ func (s *ProjectsListColumnsForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListColumnsUnauthorized as json. -func (s *ProjectsListColumnsUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListColumnsUnauthorized from json. -func (s *ProjectsListColumnsUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListColumnsUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListColumnsUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListColumnsUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -108007,31 +101232,6 @@ func (s *ProjectsListColumnsUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListForRepoForbidden as json. -func (s *ProjectsListForRepoForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListForRepoForbidden from json. -func (s *ProjectsListForRepoForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListForRepoForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListForRepoForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListForRepoForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -108045,31 +101245,6 @@ func (s *ProjectsListForRepoForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListForRepoGone as json. -func (s *ProjectsListForRepoGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListForRepoGone from json. -func (s *ProjectsListForRepoGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListForRepoGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListForRepoGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListForRepoGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -108083,31 +101258,6 @@ func (s *ProjectsListForRepoGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListForRepoNotFound as json. -func (s *ProjectsListForRepoNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListForRepoNotFound from json. -func (s *ProjectsListForRepoNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListForRepoNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListForRepoNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListForRepoNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -108121,31 +101271,6 @@ func (s *ProjectsListForRepoNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsListForRepoUnauthorized as json. -func (s *ProjectsListForRepoUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsListForRepoUnauthorized from json. -func (s *ProjectsListForRepoUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsListForRepoUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsListForRepoUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsListForRepoUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -108787,31 +101912,6 @@ func (s *ProjectsMoveColumnCreated) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsMoveColumnForbidden as json. -func (s *ProjectsMoveColumnForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsMoveColumnForbidden from json. -func (s *ProjectsMoveColumnForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsMoveColumnForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsMoveColumnForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsMoveColumnForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -108921,31 +102021,6 @@ func (s *ProjectsMoveColumnReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsMoveColumnUnauthorized as json. -func (s *ProjectsMoveColumnUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsMoveColumnUnauthorized from json. -func (s *ProjectsMoveColumnUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsMoveColumnUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsMoveColumnUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsMoveColumnUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -108959,31 +102034,6 @@ func (s *ProjectsMoveColumnUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsRemoveCollaboratorForbidden as json. -func (s *ProjectsRemoveCollaboratorForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsRemoveCollaboratorForbidden from json. -func (s *ProjectsRemoveCollaboratorForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsRemoveCollaboratorForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsRemoveCollaboratorForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsRemoveCollaboratorForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -108997,31 +102047,6 @@ func (s *ProjectsRemoveCollaboratorForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsRemoveCollaboratorNotFound as json. -func (s *ProjectsRemoveCollaboratorNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsRemoveCollaboratorNotFound from json. -func (s *ProjectsRemoveCollaboratorNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsRemoveCollaboratorNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsRemoveCollaboratorNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsRemoveCollaboratorNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -109035,31 +102060,6 @@ func (s *ProjectsRemoveCollaboratorNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsRemoveCollaboratorUnauthorized as json. -func (s *ProjectsRemoveCollaboratorUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsRemoveCollaboratorUnauthorized from json. -func (s *ProjectsRemoveCollaboratorUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsRemoveCollaboratorUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsRemoveCollaboratorUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsRemoveCollaboratorUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -109073,31 +102073,6 @@ func (s *ProjectsRemoveCollaboratorUnauthorized) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes ProjectsUpdateCardForbidden as json. -func (s *ProjectsUpdateCardForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsUpdateCardForbidden from json. -func (s *ProjectsUpdateCardForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsUpdateCardForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsUpdateCardForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsUpdateCardForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -109111,31 +102086,6 @@ func (s *ProjectsUpdateCardForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsUpdateCardNotFound as json. -func (s *ProjectsUpdateCardNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsUpdateCardNotFound from json. -func (s *ProjectsUpdateCardNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsUpdateCardNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsUpdateCardNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsUpdateCardNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -109229,31 +102179,6 @@ func (s *ProjectsUpdateCardReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsUpdateCardUnauthorized as json. -func (s *ProjectsUpdateCardUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsUpdateCardUnauthorized from json. -func (s *ProjectsUpdateCardUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsUpdateCardUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsUpdateCardUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsUpdateCardUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -109267,31 +102192,6 @@ func (s *ProjectsUpdateCardUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsUpdateColumnForbidden as json. -func (s *ProjectsUpdateColumnForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsUpdateColumnForbidden from json. -func (s *ProjectsUpdateColumnForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsUpdateColumnForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsUpdateColumnForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsUpdateColumnForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -109401,31 +102301,6 @@ func (s *ProjectsUpdateColumnReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsUpdateColumnUnauthorized as json. -func (s *ProjectsUpdateColumnUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsUpdateColumnUnauthorized from json. -func (s *ProjectsUpdateColumnUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsUpdateColumnUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsUpdateColumnUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsUpdateColumnUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -109549,31 +102424,6 @@ func (s *ProjectsUpdateForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ProjectsUpdateGone as json. -func (s *ProjectsUpdateGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsUpdateGone from json. -func (s *ProjectsUpdateGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsUpdateGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsUpdateGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsUpdateGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -109762,31 +102612,6 @@ func (s *ProjectsUpdateReqOrganizationPermission) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes ProjectsUpdateUnauthorized as json. -func (s *ProjectsUpdateUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ProjectsUpdateUnauthorized from json. -func (s *ProjectsUpdateUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ProjectsUpdateUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ProjectsUpdateUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ProjectsUpdateUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -123878,31 +116703,6 @@ func (s *PullsDismissReviewReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes PullsGetInternalServerError as json. -func (s *PullsGetInternalServerError) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PullsGetInternalServerError from json. -func (s *PullsGetInternalServerError) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PullsGetInternalServerError to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PullsGetInternalServerError(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PullsGetInternalServerError) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -123916,31 +116716,6 @@ func (s *PullsGetInternalServerError) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes PullsGetNotFound as json. -func (s *PullsGetNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PullsGetNotFound from json. -func (s *PullsGetNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PullsGetNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PullsGetNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PullsGetNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -124034,31 +116809,6 @@ func (s *PullsMergeConflict) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes PullsMergeForbidden as json. -func (s *PullsMergeForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PullsMergeForbidden from json. -func (s *PullsMergeForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PullsMergeForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PullsMergeForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PullsMergeForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -124152,31 +116902,6 @@ func (s *PullsMergeMethodNotAllowed) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes PullsMergeNotFound as json. -func (s *PullsMergeNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PullsMergeNotFound from json. -func (s *PullsMergeNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PullsMergeNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PullsMergeNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PullsMergeNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -124484,31 +117209,6 @@ func (s *PullsRemoveRequestedReviewersReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes PullsSubmitReviewForbidden as json. -func (s *PullsSubmitReviewForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PullsSubmitReviewForbidden from json. -func (s *PullsSubmitReviewForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PullsSubmitReviewForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PullsSubmitReviewForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PullsSubmitReviewForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -124522,31 +117222,6 @@ func (s *PullsSubmitReviewForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes PullsSubmitReviewNotFound as json. -func (s *PullsSubmitReviewNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes PullsSubmitReviewNotFound from json. -func (s *PullsSubmitReviewNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode PullsSubmitReviewNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = PullsSubmitReviewNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *PullsSubmitReviewNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -126131,31 +118806,6 @@ func (s *ReactionRollup) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsCreateForCommitCommentCreated as json. -func (s *ReactionsCreateForCommitCommentCreated) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForCommitCommentCreated from json. -func (s *ReactionsCreateForCommitCommentCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForCommitCommentCreated to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForCommitCommentCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForCommitCommentCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -126169,31 +118819,6 @@ func (s *ReactionsCreateForCommitCommentCreated) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes ReactionsCreateForCommitCommentOK as json. -func (s *ReactionsCreateForCommitCommentOK) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForCommitCommentOK from json. -func (s *ReactionsCreateForCommitCommentOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForCommitCommentOK to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForCommitCommentOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForCommitCommentOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -126353,31 +118978,6 @@ func (s *ReactionsCreateForCommitCommentReqContent) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes ReactionsCreateForIssueCommentCreated as json. -func (s *ReactionsCreateForIssueCommentCreated) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForIssueCommentCreated from json. -func (s *ReactionsCreateForIssueCommentCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForIssueCommentCreated to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForIssueCommentCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForIssueCommentCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -126391,31 +118991,6 @@ func (s *ReactionsCreateForIssueCommentCreated) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ReactionsCreateForIssueCommentOK as json. -func (s *ReactionsCreateForIssueCommentOK) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForIssueCommentOK from json. -func (s *ReactionsCreateForIssueCommentOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForIssueCommentOK to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForIssueCommentOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForIssueCommentOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -126575,31 +119150,6 @@ func (s *ReactionsCreateForIssueCommentReqContent) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes ReactionsCreateForIssueCreated as json. -func (s *ReactionsCreateForIssueCreated) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForIssueCreated from json. -func (s *ReactionsCreateForIssueCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForIssueCreated to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForIssueCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForIssueCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -126613,31 +119163,6 @@ func (s *ReactionsCreateForIssueCreated) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsCreateForIssueOK as json. -func (s *ReactionsCreateForIssueOK) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForIssueOK from json. -func (s *ReactionsCreateForIssueOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForIssueOK to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForIssueOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForIssueOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -126797,31 +119322,6 @@ func (s *ReactionsCreateForIssueReqContent) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsCreateForPullRequestReviewCommentCreated as json. -func (s *ReactionsCreateForPullRequestReviewCommentCreated) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForPullRequestReviewCommentCreated from json. -func (s *ReactionsCreateForPullRequestReviewCommentCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForPullRequestReviewCommentCreated to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForPullRequestReviewCommentCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForPullRequestReviewCommentCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -126835,31 +119335,6 @@ func (s *ReactionsCreateForPullRequestReviewCommentCreated) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes ReactionsCreateForPullRequestReviewCommentOK as json. -func (s *ReactionsCreateForPullRequestReviewCommentOK) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForPullRequestReviewCommentOK from json. -func (s *ReactionsCreateForPullRequestReviewCommentOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForPullRequestReviewCommentOK to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForPullRequestReviewCommentOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForPullRequestReviewCommentOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -127019,31 +119494,6 @@ func (s *ReactionsCreateForPullRequestReviewCommentReqContent) UnmarshalJSON(dat return s.Decode(d) } -// Encode encodes ReactionsCreateForReleaseCreated as json. -func (s *ReactionsCreateForReleaseCreated) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForReleaseCreated from json. -func (s *ReactionsCreateForReleaseCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForReleaseCreated to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForReleaseCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForReleaseCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -127057,31 +119507,6 @@ func (s *ReactionsCreateForReleaseCreated) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsCreateForReleaseOK as json. -func (s *ReactionsCreateForReleaseOK) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForReleaseOK from json. -func (s *ReactionsCreateForReleaseOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForReleaseOK to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForReleaseOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForReleaseOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -127237,31 +119662,6 @@ func (s *ReactionsCreateForReleaseReqContent) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsCreateForTeamDiscussionCommentInOrgCreated as json. -func (s *ReactionsCreateForTeamDiscussionCommentInOrgCreated) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForTeamDiscussionCommentInOrgCreated from json. -func (s *ReactionsCreateForTeamDiscussionCommentInOrgCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForTeamDiscussionCommentInOrgCreated to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForTeamDiscussionCommentInOrgCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForTeamDiscussionCommentInOrgCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -127275,31 +119675,6 @@ func (s *ReactionsCreateForTeamDiscussionCommentInOrgCreated) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes ReactionsCreateForTeamDiscussionCommentInOrgOK as json. -func (s *ReactionsCreateForTeamDiscussionCommentInOrgOK) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForTeamDiscussionCommentInOrgOK from json. -func (s *ReactionsCreateForTeamDiscussionCommentInOrgOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForTeamDiscussionCommentInOrgOK to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForTeamDiscussionCommentInOrgOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForTeamDiscussionCommentInOrgOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -127605,31 +119980,6 @@ func (s *ReactionsCreateForTeamDiscussionCommentLegacyReqContent) UnmarshalJSON( return s.Decode(d) } -// Encode encodes ReactionsCreateForTeamDiscussionInOrgCreated as json. -func (s *ReactionsCreateForTeamDiscussionInOrgCreated) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForTeamDiscussionInOrgCreated from json. -func (s *ReactionsCreateForTeamDiscussionInOrgCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForTeamDiscussionInOrgCreated to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForTeamDiscussionInOrgCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForTeamDiscussionInOrgCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -127643,31 +119993,6 @@ func (s *ReactionsCreateForTeamDiscussionInOrgCreated) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes ReactionsCreateForTeamDiscussionInOrgOK as json. -func (s *ReactionsCreateForTeamDiscussionInOrgOK) Encode(e *jx.Encoder) { - unwrapped := (*Reaction)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsCreateForTeamDiscussionInOrgOK from json. -func (s *ReactionsCreateForTeamDiscussionInOrgOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsCreateForTeamDiscussionInOrgOK to nil") - } - var unwrapped Reaction - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsCreateForTeamDiscussionInOrgOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsCreateForTeamDiscussionInOrgOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -127973,31 +120298,6 @@ func (s *ReactionsCreateForTeamDiscussionLegacyReqContent) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes ReactionsDeleteLegacyForbidden as json. -func (s *ReactionsDeleteLegacyForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsDeleteLegacyForbidden from json. -func (s *ReactionsDeleteLegacyForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsDeleteLegacyForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsDeleteLegacyForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsDeleteLegacyForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -128011,31 +120311,6 @@ func (s *ReactionsDeleteLegacyForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsDeleteLegacyGone as json. -func (s *ReactionsDeleteLegacyGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsDeleteLegacyGone from json. -func (s *ReactionsDeleteLegacyGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsDeleteLegacyGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsDeleteLegacyGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsDeleteLegacyGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -128049,31 +120324,6 @@ func (s *ReactionsDeleteLegacyGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsDeleteLegacyUnauthorized as json. -func (s *ReactionsDeleteLegacyUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsDeleteLegacyUnauthorized from json. -func (s *ReactionsDeleteLegacyUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsDeleteLegacyUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsDeleteLegacyUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsDeleteLegacyUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -128087,31 +120337,6 @@ func (s *ReactionsDeleteLegacyUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsListForIssueGone as json. -func (s *ReactionsListForIssueGone) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsListForIssueGone from json. -func (s *ReactionsListForIssueGone) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsListForIssueGone to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsListForIssueGone(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsListForIssueGone) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -128125,31 +120350,6 @@ func (s *ReactionsListForIssueGone) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReactionsListForIssueNotFound as json. -func (s *ReactionsListForIssueNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReactionsListForIssueNotFound from json. -func (s *ReactionsListForIssueNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReactionsListForIssueNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReactionsListForIssueNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReactionsListForIssueNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -130798,31 +122998,6 @@ func (s *RepoSearchResultItemPermissions) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposAcceptInvitationConflict as json. -func (s *ReposAcceptInvitationConflict) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposAcceptInvitationConflict from json. -func (s *ReposAcceptInvitationConflict) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposAcceptInvitationConflict to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposAcceptInvitationConflict(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposAcceptInvitationConflict) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -130836,31 +123011,6 @@ func (s *ReposAcceptInvitationConflict) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposAcceptInvitationForbidden as json. -func (s *ReposAcceptInvitationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposAcceptInvitationForbidden from json. -func (s *ReposAcceptInvitationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposAcceptInvitationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposAcceptInvitationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposAcceptInvitationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -130874,31 +123024,6 @@ func (s *ReposAcceptInvitationForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposAcceptInvitationNotFound as json. -func (s *ReposAcceptInvitationNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposAcceptInvitationNotFound from json. -func (s *ReposAcceptInvitationNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposAcceptInvitationNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposAcceptInvitationNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposAcceptInvitationNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -131257,31 +123382,6 @@ func (s *ReposAddCollaboratorReqPermission) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposAddStatusCheckContextsForbidden as json. -func (s *ReposAddStatusCheckContextsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposAddStatusCheckContextsForbidden from json. -func (s *ReposAddStatusCheckContextsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposAddStatusCheckContextsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposAddStatusCheckContextsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposAddStatusCheckContextsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -131295,31 +123395,6 @@ func (s *ReposAddStatusCheckContextsForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ReposAddStatusCheckContextsNotFound as json. -func (s *ReposAddStatusCheckContextsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposAddStatusCheckContextsNotFound from json. -func (s *ReposAddStatusCheckContextsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposAddStatusCheckContextsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposAddStatusCheckContextsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposAddStatusCheckContextsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -131989,31 +124064,6 @@ func (s *ReposAddUserAccessRestrictionsReq0) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposCompareCommitsInternalServerError as json. -func (s *ReposCompareCommitsInternalServerError) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCompareCommitsInternalServerError from json. -func (s *ReposCompareCommitsInternalServerError) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCompareCommitsInternalServerError to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCompareCommitsInternalServerError(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCompareCommitsInternalServerError) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -132027,31 +124077,6 @@ func (s *ReposCompareCommitsInternalServerError) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes ReposCompareCommitsNotFound as json. -func (s *ReposCompareCommitsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCompareCommitsNotFound from json. -func (s *ReposCompareCommitsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCompareCommitsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCompareCommitsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCompareCommitsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -133532,31 +125557,6 @@ func (s *ReposCreateDispatchEventReqClientPayload) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes ReposCreateForAuthenticatedUserBadRequest as json. -func (s *ReposCreateForAuthenticatedUserBadRequest) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateForAuthenticatedUserBadRequest from json. -func (s *ReposCreateForAuthenticatedUserBadRequest) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateForAuthenticatedUserBadRequest to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateForAuthenticatedUserBadRequest(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateForAuthenticatedUserBadRequest) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -133570,31 +125570,6 @@ func (s *ReposCreateForAuthenticatedUserBadRequest) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes ReposCreateForAuthenticatedUserForbidden as json. -func (s *ReposCreateForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateForAuthenticatedUserForbidden from json. -func (s *ReposCreateForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -133608,31 +125583,6 @@ func (s *ReposCreateForAuthenticatedUserForbidden) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes ReposCreateForAuthenticatedUserNotFound as json. -func (s *ReposCreateForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateForAuthenticatedUserNotFound from json. -func (s *ReposCreateForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -134034,31 +125984,6 @@ func (s *ReposCreateForAuthenticatedUserReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposCreateForAuthenticatedUserUnauthorized as json. -func (s *ReposCreateForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateForAuthenticatedUserUnauthorized from json. -func (s *ReposCreateForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -134072,31 +125997,6 @@ func (s *ReposCreateForAuthenticatedUserUnauthorized) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes ReposCreateForkBadRequest as json. -func (s *ReposCreateForkBadRequest) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateForkBadRequest from json. -func (s *ReposCreateForkBadRequest) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateForkBadRequest to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateForkBadRequest(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateForkBadRequest) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -134110,31 +126010,6 @@ func (s *ReposCreateForkBadRequest) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposCreateForkForbidden as json. -func (s *ReposCreateForkForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateForkForbidden from json. -func (s *ReposCreateForkForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateForkForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateForkForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateForkForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -134148,31 +126023,6 @@ func (s *ReposCreateForkForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposCreateForkNotFound as json. -func (s *ReposCreateForkNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateForkNotFound from json. -func (s *ReposCreateForkNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateForkNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateForkNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateForkNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -134681,31 +126531,6 @@ func (s *ReposCreateInOrgReqVisibility) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposCreateOrUpdateFileContentsConflict as json. -func (s *ReposCreateOrUpdateFileContentsConflict) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateOrUpdateFileContentsConflict from json. -func (s *ReposCreateOrUpdateFileContentsConflict) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateOrUpdateFileContentsConflict to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateOrUpdateFileContentsConflict(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateOrUpdateFileContentsConflict) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -134719,31 +126544,6 @@ func (s *ReposCreateOrUpdateFileContentsConflict) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes ReposCreateOrUpdateFileContentsCreated as json. -func (s *ReposCreateOrUpdateFileContentsCreated) Encode(e *jx.Encoder) { - unwrapped := (*FileCommit)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateOrUpdateFileContentsCreated from json. -func (s *ReposCreateOrUpdateFileContentsCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateOrUpdateFileContentsCreated to nil") - } - var unwrapped FileCommit - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateOrUpdateFileContentsCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateOrUpdateFileContentsCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -134757,31 +126557,6 @@ func (s *ReposCreateOrUpdateFileContentsCreated) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes ReposCreateOrUpdateFileContentsNotFound as json. -func (s *ReposCreateOrUpdateFileContentsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateOrUpdateFileContentsNotFound from json. -func (s *ReposCreateOrUpdateFileContentsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateOrUpdateFileContentsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateOrUpdateFileContentsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateOrUpdateFileContentsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -134795,31 +126570,6 @@ func (s *ReposCreateOrUpdateFileContentsNotFound) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes ReposCreateOrUpdateFileContentsOK as json. -func (s *ReposCreateOrUpdateFileContentsOK) Encode(e *jx.Encoder) { - unwrapped := (*FileCommit)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateOrUpdateFileContentsOK from json. -func (s *ReposCreateOrUpdateFileContentsOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateOrUpdateFileContentsOK to nil") - } - var unwrapped FileCommit - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateOrUpdateFileContentsOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateOrUpdateFileContentsOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -135886,31 +127636,6 @@ func (s *ReposCreateUsingTemplateReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposCreateWebhookForbidden as json. -func (s *ReposCreateWebhookForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateWebhookForbidden from json. -func (s *ReposCreateWebhookForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateWebhookForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateWebhookForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateWebhookForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -135924,31 +127649,6 @@ func (s *ReposCreateWebhookForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposCreateWebhookNotFound as json. -func (s *ReposCreateWebhookNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposCreateWebhookNotFound from json. -func (s *ReposCreateWebhookNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposCreateWebhookNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposCreateWebhookNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposCreateWebhookNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -136238,31 +127938,6 @@ func (s *ReposCreateWebhookReqConfig) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposDeclineInvitationConflict as json. -func (s *ReposDeclineInvitationConflict) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposDeclineInvitationConflict from json. -func (s *ReposDeclineInvitationConflict) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposDeclineInvitationConflict to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposDeclineInvitationConflict(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposDeclineInvitationConflict) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -136276,31 +127951,6 @@ func (s *ReposDeclineInvitationConflict) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposDeclineInvitationForbidden as json. -func (s *ReposDeclineInvitationForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposDeclineInvitationForbidden from json. -func (s *ReposDeclineInvitationForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposDeclineInvitationForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposDeclineInvitationForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposDeclineInvitationForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -136314,31 +127964,6 @@ func (s *ReposDeclineInvitationForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposDeclineInvitationNotFound as json. -func (s *ReposDeclineInvitationNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposDeclineInvitationNotFound from json. -func (s *ReposDeclineInvitationNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposDeclineInvitationNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposDeclineInvitationNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposDeclineInvitationNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -136352,31 +127977,6 @@ func (s *ReposDeclineInvitationNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposDeleteFileConflict as json. -func (s *ReposDeleteFileConflict) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposDeleteFileConflict from json. -func (s *ReposDeleteFileConflict) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposDeleteFileConflict to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposDeleteFileConflict(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposDeleteFileConflict) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -136390,31 +127990,6 @@ func (s *ReposDeleteFileConflict) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposDeleteFileNotFound as json. -func (s *ReposDeleteFileNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposDeleteFileNotFound from json. -func (s *ReposDeleteFileNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposDeleteFileNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposDeleteFileNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposDeleteFileNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -136832,31 +128407,6 @@ func (s *ReposDeleteForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposDeleteNotFound as json. -func (s *ReposDeleteNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposDeleteNotFound from json. -func (s *ReposDeleteNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposDeleteNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposDeleteNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposDeleteNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -136870,31 +128420,6 @@ func (s *ReposDeleteNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposDeleteTemporaryRedirect as json. -func (s *ReposDeleteTemporaryRedirect) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposDeleteTemporaryRedirect from json. -func (s *ReposDeleteTemporaryRedirect) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposDeleteTemporaryRedirect to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposDeleteTemporaryRedirect(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposDeleteTemporaryRedirect) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137010,31 +128535,6 @@ func (s *ReposGetAppsWithAccessToProtectedBranchOKApplicationJSON) UnmarshalJSON return s.Decode(d) } -// Encode encodes ReposGetBranchMovedPermanently as json. -func (s *ReposGetBranchMovedPermanently) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposGetBranchMovedPermanently from json. -func (s *ReposGetBranchMovedPermanently) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposGetBranchMovedPermanently to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposGetBranchMovedPermanently(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposGetBranchMovedPermanently) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137048,31 +128548,6 @@ func (s *ReposGetBranchMovedPermanently) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposGetBranchNotFound as json. -func (s *ReposGetBranchNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposGetBranchNotFound from json. -func (s *ReposGetBranchNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposGetBranchNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposGetBranchNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposGetBranchNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137186,31 +128661,6 @@ func (s *ReposGetCommitActivityStatsOKApplicationJSON) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes ReposGetCommitInternalServerError as json. -func (s *ReposGetCommitInternalServerError) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposGetCommitInternalServerError from json. -func (s *ReposGetCommitInternalServerError) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposGetCommitInternalServerError to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposGetCommitInternalServerError(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposGetCommitInternalServerError) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137224,31 +128674,6 @@ func (s *ReposGetCommitInternalServerError) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposGetCommitNotFound as json. -func (s *ReposGetCommitNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposGetCommitNotFound from json. -func (s *ReposGetCommitNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposGetCommitNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposGetCommitNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposGetCommitNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137312,31 +128737,6 @@ func (s *ReposGetContributorsStatsOKApplicationJSON) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes ReposGetForbidden as json. -func (s *ReposGetForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposGetForbidden from json. -func (s *ReposGetForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposGetForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposGetForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposGetForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137350,31 +128750,6 @@ func (s *ReposGetForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposGetMovedPermanently as json. -func (s *ReposGetMovedPermanently) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposGetMovedPermanently from json. -func (s *ReposGetMovedPermanently) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposGetMovedPermanently to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposGetMovedPermanently(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposGetMovedPermanently) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137388,31 +128763,6 @@ func (s *ReposGetMovedPermanently) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposGetNotFound as json. -func (s *ReposGetNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposGetNotFound from json. -func (s *ReposGetNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposGetNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposGetNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposGetNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137726,31 +129076,6 @@ func (s *ReposListBranchesForHeadCommitOKApplicationJSON) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes ReposListCommitsBadRequest as json. -func (s *ReposListCommitsBadRequest) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListCommitsBadRequest from json. -func (s *ReposListCommitsBadRequest) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListCommitsBadRequest to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListCommitsBadRequest(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListCommitsBadRequest) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137764,31 +129089,6 @@ func (s *ReposListCommitsBadRequest) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposListCommitsConflict as json. -func (s *ReposListCommitsConflict) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListCommitsConflict from json. -func (s *ReposListCommitsConflict) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListCommitsConflict to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListCommitsConflict(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListCommitsConflict) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137802,31 +129102,6 @@ func (s *ReposListCommitsConflict) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposListCommitsInternalServerError as json. -func (s *ReposListCommitsInternalServerError) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListCommitsInternalServerError from json. -func (s *ReposListCommitsInternalServerError) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListCommitsInternalServerError to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListCommitsInternalServerError(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListCommitsInternalServerError) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137840,31 +129115,6 @@ func (s *ReposListCommitsInternalServerError) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposListCommitsNotFound as json. -func (s *ReposListCommitsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListCommitsNotFound from json. -func (s *ReposListCommitsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListCommitsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListCommitsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListCommitsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137878,31 +129128,6 @@ func (s *ReposListCommitsNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposListContributorsForbidden as json. -func (s *ReposListContributorsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListContributorsForbidden from json. -func (s *ReposListContributorsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListContributorsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListContributorsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListContributorsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137916,31 +129141,6 @@ func (s *ReposListContributorsForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposListContributorsNotFound as json. -func (s *ReposListContributorsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListContributorsNotFound from json. -func (s *ReposListContributorsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListContributorsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListContributorsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListContributorsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -137954,31 +129154,6 @@ func (s *ReposListContributorsNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposListForAuthenticatedUserForbidden as json. -func (s *ReposListForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListForAuthenticatedUserForbidden from json. -func (s *ReposListForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -138042,31 +129217,6 @@ func (s *ReposListForAuthenticatedUserOKApplicationJSON) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes ReposListForAuthenticatedUserUnauthorized as json. -func (s *ReposListForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListForAuthenticatedUserUnauthorized from json. -func (s *ReposListForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -138080,31 +129230,6 @@ func (s *ReposListForAuthenticatedUserUnauthorized) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes ReposListInvitationsForAuthenticatedUserForbidden as json. -func (s *ReposListInvitationsForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListInvitationsForAuthenticatedUserForbidden from json. -func (s *ReposListInvitationsForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListInvitationsForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListInvitationsForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListInvitationsForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -138118,31 +129243,6 @@ func (s *ReposListInvitationsForAuthenticatedUserForbidden) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes ReposListInvitationsForAuthenticatedUserNotFound as json. -func (s *ReposListInvitationsForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListInvitationsForAuthenticatedUserNotFound from json. -func (s *ReposListInvitationsForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListInvitationsForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListInvitationsForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListInvitationsForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -138156,31 +129256,6 @@ func (s *ReposListInvitationsForAuthenticatedUserNotFound) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes ReposListInvitationsForAuthenticatedUserUnauthorized as json. -func (s *ReposListInvitationsForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposListInvitationsForAuthenticatedUserUnauthorized from json. -func (s *ReposListInvitationsForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposListInvitationsForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposListInvitationsForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposListInvitationsForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -139344,31 +130419,6 @@ func (s *ReposRemoveUserAccessRestrictionsReq0) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ReposRenameBranchForbidden as json. -func (s *ReposRenameBranchForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposRenameBranchForbidden from json. -func (s *ReposRenameBranchForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposRenameBranchForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposRenameBranchForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposRenameBranchForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -139382,31 +130432,6 @@ func (s *ReposRenameBranchForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposRenameBranchNotFound as json. -func (s *ReposRenameBranchNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposRenameBranchNotFound from json. -func (s *ReposRenameBranchNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposRenameBranchNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposRenameBranchNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposRenameBranchNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -140624,31 +131649,6 @@ func (s *ReposTransferReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposUpdateBranchProtectionForbidden as json. -func (s *ReposUpdateBranchProtectionForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposUpdateBranchProtectionForbidden from json. -func (s *ReposUpdateBranchProtectionForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposUpdateBranchProtectionForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposUpdateBranchProtectionForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposUpdateBranchProtectionForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -140662,31 +131662,6 @@ func (s *ReposUpdateBranchProtectionForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes ReposUpdateBranchProtectionNotFound as json. -func (s *ReposUpdateBranchProtectionNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposUpdateBranchProtectionNotFound from json. -func (s *ReposUpdateBranchProtectionNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposUpdateBranchProtectionNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposUpdateBranchProtectionNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposUpdateBranchProtectionNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -141515,31 +132490,6 @@ func (s *ReposUpdateCommitCommentReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposUpdateForbidden as json. -func (s *ReposUpdateForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposUpdateForbidden from json. -func (s *ReposUpdateForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposUpdateForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposUpdateForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposUpdateForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -141662,31 +132612,6 @@ func (s *ReposUpdateInvitationReqPermissions) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposUpdateNotFound as json. -func (s *ReposUpdateNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposUpdateNotFound from json. -func (s *ReposUpdateNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposUpdateNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposUpdateNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposUpdateNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -142878,31 +133803,6 @@ func (s *ReposUpdateStatusCheckProtectionReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ReposUpdateTemporaryRedirect as json. -func (s *ReposUpdateTemporaryRedirect) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ReposUpdateTemporaryRedirect from json. -func (s *ReposUpdateTemporaryRedirect) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ReposUpdateTemporaryRedirect to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ReposUpdateTemporaryRedirect(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ReposUpdateTemporaryRedirect) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -149350,31 +140250,6 @@ func (s *RunnerLabelsItemType) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ScimDeleteUserFromOrgForbidden as json. -func (s *ScimDeleteUserFromOrgForbidden) Encode(e *jx.Encoder) { - unwrapped := (*ScimError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ScimDeleteUserFromOrgForbidden from json. -func (s *ScimDeleteUserFromOrgForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ScimDeleteUserFromOrgForbidden to nil") - } - var unwrapped ScimError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ScimDeleteUserFromOrgForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ScimDeleteUserFromOrgForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -149388,31 +140263,6 @@ func (s *ScimDeleteUserFromOrgForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes ScimDeleteUserFromOrgNotFound as json. -func (s *ScimDeleteUserFromOrgNotFound) Encode(e *jx.Encoder) { - unwrapped := (*ScimError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes ScimDeleteUserFromOrgNotFound from json. -func (s *ScimDeleteUserFromOrgNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode ScimDeleteUserFromOrgNotFound to nil") - } - var unwrapped ScimError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = ScimDeleteUserFromOrgNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *ScimDeleteUserFromOrgNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -152451,31 +143301,6 @@ func (s *SearchIssuesAndPullRequestsOK) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes SearchLabelsForbidden as json. -func (s *SearchLabelsForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes SearchLabelsForbidden from json. -func (s *SearchLabelsForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode SearchLabelsForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = SearchLabelsForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *SearchLabelsForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -152489,31 +143314,6 @@ func (s *SearchLabelsForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes SearchLabelsNotFound as json. -func (s *SearchLabelsNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes SearchLabelsNotFound from json. -func (s *SearchLabelsNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode SearchLabelsNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = SearchLabelsNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *SearchLabelsNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -162624,31 +153424,6 @@ func (s *TeamsCreateReqPrivacy) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes TeamsListChildLegacyForbidden as json. -func (s *TeamsListChildLegacyForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsListChildLegacyForbidden from json. -func (s *TeamsListChildLegacyForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsListChildLegacyForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsListChildLegacyForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsListChildLegacyForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -162662,31 +153437,6 @@ func (s *TeamsListChildLegacyForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes TeamsListChildLegacyNotFound as json. -func (s *TeamsListChildLegacyNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsListChildLegacyNotFound from json. -func (s *TeamsListChildLegacyNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsListChildLegacyNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsListChildLegacyNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsListChildLegacyNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -162700,31 +153450,6 @@ func (s *TeamsListChildLegacyNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes TeamsListForAuthenticatedUserForbidden as json. -func (s *TeamsListForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsListForAuthenticatedUserForbidden from json. -func (s *TeamsListForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsListForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsListForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsListForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -162738,31 +153463,6 @@ func (s *TeamsListForAuthenticatedUserForbidden) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes TeamsListForAuthenticatedUserNotFound as json. -func (s *TeamsListForAuthenticatedUserNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsListForAuthenticatedUserNotFound from json. -func (s *TeamsListForAuthenticatedUserNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsListForAuthenticatedUserNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsListForAuthenticatedUserNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsListForAuthenticatedUserNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -162776,31 +153476,6 @@ func (s *TeamsListForAuthenticatedUserNotFound) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes TeamsListIdpGroupsForLegacyForbidden as json. -func (s *TeamsListIdpGroupsForLegacyForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsListIdpGroupsForLegacyForbidden from json. -func (s *TeamsListIdpGroupsForLegacyForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsListIdpGroupsForLegacyForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsListIdpGroupsForLegacyForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsListIdpGroupsForLegacyForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -162814,31 +153489,6 @@ func (s *TeamsListIdpGroupsForLegacyForbidden) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes TeamsListIdpGroupsForLegacyNotFound as json. -func (s *TeamsListIdpGroupsForLegacyNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsListIdpGroupsForLegacyNotFound from json. -func (s *TeamsListIdpGroupsForLegacyNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsListIdpGroupsForLegacyNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsListIdpGroupsForLegacyNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsListIdpGroupsForLegacyNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -163418,31 +154068,6 @@ func (s *TeamsUpdateInOrgReqPrivacy) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes TeamsUpdateLegacyCreated as json. -func (s *TeamsUpdateLegacyCreated) Encode(e *jx.Encoder) { - unwrapped := (*TeamFull)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsUpdateLegacyCreated from json. -func (s *TeamsUpdateLegacyCreated) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsUpdateLegacyCreated to nil") - } - var unwrapped TeamFull - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsUpdateLegacyCreated(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsUpdateLegacyCreated) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -163456,31 +154081,6 @@ func (s *TeamsUpdateLegacyCreated) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes TeamsUpdateLegacyForbidden as json. -func (s *TeamsUpdateLegacyForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsUpdateLegacyForbidden from json. -func (s *TeamsUpdateLegacyForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsUpdateLegacyForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsUpdateLegacyForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsUpdateLegacyForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -163494,31 +154094,6 @@ func (s *TeamsUpdateLegacyForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes TeamsUpdateLegacyNotFound as json. -func (s *TeamsUpdateLegacyNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsUpdateLegacyNotFound from json. -func (s *TeamsUpdateLegacyNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsUpdateLegacyNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsUpdateLegacyNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsUpdateLegacyNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -163532,31 +154107,6 @@ func (s *TeamsUpdateLegacyNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes TeamsUpdateLegacyOK as json. -func (s *TeamsUpdateLegacyOK) Encode(e *jx.Encoder) { - unwrapped := (*TeamFull)(s) - - unwrapped.Encode(e) -} - -// Decode decodes TeamsUpdateLegacyOK from json. -func (s *TeamsUpdateLegacyOK) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode TeamsUpdateLegacyOK to nil") - } - var unwrapped TeamFull - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = TeamsUpdateLegacyOK(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *TeamsUpdateLegacyOK) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166229,31 +156779,6 @@ func (s *UsersAddEmailForAuthenticatedCreatedApplicationJSON) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes UsersAddEmailForAuthenticatedForbidden as json. -func (s *UsersAddEmailForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersAddEmailForAuthenticatedForbidden from json. -func (s *UsersAddEmailForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersAddEmailForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersAddEmailForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersAddEmailForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166267,31 +156792,6 @@ func (s *UsersAddEmailForAuthenticatedForbidden) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes UsersAddEmailForAuthenticatedNotFound as json. -func (s *UsersAddEmailForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersAddEmailForAuthenticatedNotFound from json. -func (s *UsersAddEmailForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersAddEmailForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersAddEmailForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersAddEmailForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166482,31 +156982,6 @@ func (s *UsersAddEmailForAuthenticatedReq0) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersAddEmailForAuthenticatedUnauthorized as json. -func (s *UsersAddEmailForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersAddEmailForAuthenticatedUnauthorized from json. -func (s *UsersAddEmailForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersAddEmailForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersAddEmailForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersAddEmailForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166520,31 +156995,6 @@ func (s *UsersAddEmailForAuthenticatedUnauthorized) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes UsersBlockForbidden as json. -func (s *UsersBlockForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersBlockForbidden from json. -func (s *UsersBlockForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersBlockForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersBlockForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersBlockForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166558,31 +157008,6 @@ func (s *UsersBlockForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersBlockNotFound as json. -func (s *UsersBlockNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersBlockNotFound from json. -func (s *UsersBlockNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersBlockNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersBlockNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersBlockNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166596,31 +157021,6 @@ func (s *UsersBlockNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersBlockUnauthorized as json. -func (s *UsersBlockUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersBlockUnauthorized from json. -func (s *UsersBlockUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersBlockUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersBlockUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersBlockUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166634,31 +157034,6 @@ func (s *UsersBlockUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersCheckBlockedForbidden as json. -func (s *UsersCheckBlockedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCheckBlockedForbidden from json. -func (s *UsersCheckBlockedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCheckBlockedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCheckBlockedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCheckBlockedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166672,31 +157047,6 @@ func (s *UsersCheckBlockedForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersCheckBlockedNotFound as json. -func (s *UsersCheckBlockedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCheckBlockedNotFound from json. -func (s *UsersCheckBlockedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCheckBlockedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCheckBlockedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCheckBlockedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166710,31 +157060,6 @@ func (s *UsersCheckBlockedNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersCheckBlockedUnauthorized as json. -func (s *UsersCheckBlockedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCheckBlockedUnauthorized from json. -func (s *UsersCheckBlockedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCheckBlockedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCheckBlockedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCheckBlockedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166748,31 +157073,6 @@ func (s *UsersCheckBlockedUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersCheckPersonIsFollowedByAuthenticatedForbidden as json. -func (s *UsersCheckPersonIsFollowedByAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCheckPersonIsFollowedByAuthenticatedForbidden from json. -func (s *UsersCheckPersonIsFollowedByAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCheckPersonIsFollowedByAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCheckPersonIsFollowedByAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCheckPersonIsFollowedByAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166786,31 +157086,6 @@ func (s *UsersCheckPersonIsFollowedByAuthenticatedForbidden) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes UsersCheckPersonIsFollowedByAuthenticatedNotFound as json. -func (s *UsersCheckPersonIsFollowedByAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCheckPersonIsFollowedByAuthenticatedNotFound from json. -func (s *UsersCheckPersonIsFollowedByAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCheckPersonIsFollowedByAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCheckPersonIsFollowedByAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCheckPersonIsFollowedByAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166824,31 +157099,6 @@ func (s *UsersCheckPersonIsFollowedByAuthenticatedNotFound) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes UsersCheckPersonIsFollowedByAuthenticatedUnauthorized as json. -func (s *UsersCheckPersonIsFollowedByAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCheckPersonIsFollowedByAuthenticatedUnauthorized from json. -func (s *UsersCheckPersonIsFollowedByAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCheckPersonIsFollowedByAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCheckPersonIsFollowedByAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCheckPersonIsFollowedByAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166862,31 +157112,6 @@ func (s *UsersCheckPersonIsFollowedByAuthenticatedUnauthorized) UnmarshalJSON(da return s.Decode(d) } -// Encode encodes UsersCreateGpgKeyForAuthenticatedForbidden as json. -func (s *UsersCreateGpgKeyForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCreateGpgKeyForAuthenticatedForbidden from json. -func (s *UsersCreateGpgKeyForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCreateGpgKeyForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCreateGpgKeyForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCreateGpgKeyForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -166900,31 +157125,6 @@ func (s *UsersCreateGpgKeyForAuthenticatedForbidden) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes UsersCreateGpgKeyForAuthenticatedNotFound as json. -func (s *UsersCreateGpgKeyForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCreateGpgKeyForAuthenticatedNotFound from json. -func (s *UsersCreateGpgKeyForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCreateGpgKeyForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCreateGpgKeyForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCreateGpgKeyForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167034,31 +157234,6 @@ func (s *UsersCreateGpgKeyForAuthenticatedReq) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes UsersCreateGpgKeyForAuthenticatedUnauthorized as json. -func (s *UsersCreateGpgKeyForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCreateGpgKeyForAuthenticatedUnauthorized from json. -func (s *UsersCreateGpgKeyForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCreateGpgKeyForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCreateGpgKeyForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCreateGpgKeyForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167072,31 +157247,6 @@ func (s *UsersCreateGpgKeyForAuthenticatedUnauthorized) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes UsersCreatePublicSSHKeyForAuthenticatedForbidden as json. -func (s *UsersCreatePublicSSHKeyForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCreatePublicSSHKeyForAuthenticatedForbidden from json. -func (s *UsersCreatePublicSSHKeyForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCreatePublicSSHKeyForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCreatePublicSSHKeyForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCreatePublicSSHKeyForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167110,31 +157260,6 @@ func (s *UsersCreatePublicSSHKeyForAuthenticatedForbidden) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes UsersCreatePublicSSHKeyForAuthenticatedNotFound as json. -func (s *UsersCreatePublicSSHKeyForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCreatePublicSSHKeyForAuthenticatedNotFound from json. -func (s *UsersCreatePublicSSHKeyForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCreatePublicSSHKeyForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCreatePublicSSHKeyForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCreatePublicSSHKeyForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167261,31 +157386,6 @@ func (s *UsersCreatePublicSSHKeyForAuthenticatedReq) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes UsersCreatePublicSSHKeyForAuthenticatedUnauthorized as json. -func (s *UsersCreatePublicSSHKeyForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersCreatePublicSSHKeyForAuthenticatedUnauthorized from json. -func (s *UsersCreatePublicSSHKeyForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersCreatePublicSSHKeyForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersCreatePublicSSHKeyForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersCreatePublicSSHKeyForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167299,31 +157399,6 @@ func (s *UsersCreatePublicSSHKeyForAuthenticatedUnauthorized) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes UsersDeleteEmailForAuthenticatedForbidden as json. -func (s *UsersDeleteEmailForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeleteEmailForAuthenticatedForbidden from json. -func (s *UsersDeleteEmailForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeleteEmailForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeleteEmailForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeleteEmailForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167337,31 +157412,6 @@ func (s *UsersDeleteEmailForAuthenticatedForbidden) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes UsersDeleteEmailForAuthenticatedNotFound as json. -func (s *UsersDeleteEmailForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeleteEmailForAuthenticatedNotFound from json. -func (s *UsersDeleteEmailForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeleteEmailForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeleteEmailForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeleteEmailForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167552,31 +157602,6 @@ func (s *UsersDeleteEmailForAuthenticatedReq0) UnmarshalJSON(data []byte) error return s.Decode(d) } -// Encode encodes UsersDeleteEmailForAuthenticatedUnauthorized as json. -func (s *UsersDeleteEmailForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeleteEmailForAuthenticatedUnauthorized from json. -func (s *UsersDeleteEmailForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeleteEmailForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeleteEmailForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeleteEmailForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167590,31 +157615,6 @@ func (s *UsersDeleteEmailForAuthenticatedUnauthorized) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes UsersDeleteGpgKeyForAuthenticatedForbidden as json. -func (s *UsersDeleteGpgKeyForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeleteGpgKeyForAuthenticatedForbidden from json. -func (s *UsersDeleteGpgKeyForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeleteGpgKeyForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeleteGpgKeyForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeleteGpgKeyForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167628,31 +157628,6 @@ func (s *UsersDeleteGpgKeyForAuthenticatedForbidden) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes UsersDeleteGpgKeyForAuthenticatedNotFound as json. -func (s *UsersDeleteGpgKeyForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeleteGpgKeyForAuthenticatedNotFound from json. -func (s *UsersDeleteGpgKeyForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeleteGpgKeyForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeleteGpgKeyForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeleteGpgKeyForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167666,31 +157641,6 @@ func (s *UsersDeleteGpgKeyForAuthenticatedNotFound) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes UsersDeleteGpgKeyForAuthenticatedUnauthorized as json. -func (s *UsersDeleteGpgKeyForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeleteGpgKeyForAuthenticatedUnauthorized from json. -func (s *UsersDeleteGpgKeyForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeleteGpgKeyForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeleteGpgKeyForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeleteGpgKeyForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167704,31 +157654,6 @@ func (s *UsersDeleteGpgKeyForAuthenticatedUnauthorized) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes UsersDeletePublicSSHKeyForAuthenticatedForbidden as json. -func (s *UsersDeletePublicSSHKeyForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeletePublicSSHKeyForAuthenticatedForbidden from json. -func (s *UsersDeletePublicSSHKeyForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeletePublicSSHKeyForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeletePublicSSHKeyForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeletePublicSSHKeyForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167742,31 +157667,6 @@ func (s *UsersDeletePublicSSHKeyForAuthenticatedForbidden) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes UsersDeletePublicSSHKeyForAuthenticatedNotFound as json. -func (s *UsersDeletePublicSSHKeyForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeletePublicSSHKeyForAuthenticatedNotFound from json. -func (s *UsersDeletePublicSSHKeyForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeletePublicSSHKeyForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeletePublicSSHKeyForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeletePublicSSHKeyForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167780,31 +157680,6 @@ func (s *UsersDeletePublicSSHKeyForAuthenticatedNotFound) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes UsersDeletePublicSSHKeyForAuthenticatedUnauthorized as json. -func (s *UsersDeletePublicSSHKeyForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersDeletePublicSSHKeyForAuthenticatedUnauthorized from json. -func (s *UsersDeletePublicSSHKeyForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersDeletePublicSSHKeyForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersDeletePublicSSHKeyForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersDeletePublicSSHKeyForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167818,31 +157693,6 @@ func (s *UsersDeletePublicSSHKeyForAuthenticatedUnauthorized) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes UsersFollowForbidden as json. -func (s *UsersFollowForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersFollowForbidden from json. -func (s *UsersFollowForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersFollowForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersFollowForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersFollowForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167856,31 +157706,6 @@ func (s *UsersFollowForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersFollowNotFound as json. -func (s *UsersFollowNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersFollowNotFound from json. -func (s *UsersFollowNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersFollowNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersFollowNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersFollowNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167894,31 +157719,6 @@ func (s *UsersFollowNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersFollowUnauthorized as json. -func (s *UsersFollowUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersFollowUnauthorized from json. -func (s *UsersFollowUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersFollowUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersFollowUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersFollowUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -167932,31 +157732,6 @@ func (s *UsersFollowUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersGetAuthenticatedForbidden as json. -func (s *UsersGetAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersGetAuthenticatedForbidden from json. -func (s *UsersGetAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersGetAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersGetAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersGetAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168064,31 +157839,6 @@ func (s *UsersGetAuthenticatedOK) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersGetAuthenticatedUnauthorized as json. -func (s *UsersGetAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersGetAuthenticatedUnauthorized from json. -func (s *UsersGetAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersGetAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersGetAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersGetAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168196,31 +157946,6 @@ func (s *UsersGetByUsernameOK) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersGetGpgKeyForAuthenticatedForbidden as json. -func (s *UsersGetGpgKeyForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersGetGpgKeyForAuthenticatedForbidden from json. -func (s *UsersGetGpgKeyForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersGetGpgKeyForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersGetGpgKeyForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersGetGpgKeyForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168234,31 +157959,6 @@ func (s *UsersGetGpgKeyForAuthenticatedForbidden) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes UsersGetGpgKeyForAuthenticatedNotFound as json. -func (s *UsersGetGpgKeyForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersGetGpgKeyForAuthenticatedNotFound from json. -func (s *UsersGetGpgKeyForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersGetGpgKeyForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersGetGpgKeyForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersGetGpgKeyForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168272,31 +157972,6 @@ func (s *UsersGetGpgKeyForAuthenticatedNotFound) UnmarshalJSON(data []byte) erro return s.Decode(d) } -// Encode encodes UsersGetGpgKeyForAuthenticatedUnauthorized as json. -func (s *UsersGetGpgKeyForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersGetGpgKeyForAuthenticatedUnauthorized from json. -func (s *UsersGetGpgKeyForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersGetGpgKeyForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersGetGpgKeyForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersGetGpgKeyForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168310,31 +157985,6 @@ func (s *UsersGetGpgKeyForAuthenticatedUnauthorized) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes UsersGetPublicSSHKeyForAuthenticatedForbidden as json. -func (s *UsersGetPublicSSHKeyForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersGetPublicSSHKeyForAuthenticatedForbidden from json. -func (s *UsersGetPublicSSHKeyForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersGetPublicSSHKeyForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersGetPublicSSHKeyForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersGetPublicSSHKeyForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168348,31 +157998,6 @@ func (s *UsersGetPublicSSHKeyForAuthenticatedForbidden) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes UsersGetPublicSSHKeyForAuthenticatedNotFound as json. -func (s *UsersGetPublicSSHKeyForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersGetPublicSSHKeyForAuthenticatedNotFound from json. -func (s *UsersGetPublicSSHKeyForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersGetPublicSSHKeyForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersGetPublicSSHKeyForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersGetPublicSSHKeyForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168386,31 +158011,6 @@ func (s *UsersGetPublicSSHKeyForAuthenticatedNotFound) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes UsersGetPublicSSHKeyForAuthenticatedUnauthorized as json. -func (s *UsersGetPublicSSHKeyForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersGetPublicSSHKeyForAuthenticatedUnauthorized from json. -func (s *UsersGetPublicSSHKeyForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersGetPublicSSHKeyForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersGetPublicSSHKeyForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersGetPublicSSHKeyForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168424,31 +158024,6 @@ func (s *UsersGetPublicSSHKeyForAuthenticatedUnauthorized) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes UsersListBlockedByAuthenticatedForbidden as json. -func (s *UsersListBlockedByAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListBlockedByAuthenticatedForbidden from json. -func (s *UsersListBlockedByAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListBlockedByAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListBlockedByAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListBlockedByAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168462,31 +158037,6 @@ func (s *UsersListBlockedByAuthenticatedForbidden) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes UsersListBlockedByAuthenticatedNotFound as json. -func (s *UsersListBlockedByAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListBlockedByAuthenticatedNotFound from json. -func (s *UsersListBlockedByAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListBlockedByAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListBlockedByAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListBlockedByAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168550,31 +158100,6 @@ func (s *UsersListBlockedByAuthenticatedOKApplicationJSON) UnmarshalJSON(data [] return s.Decode(d) } -// Encode encodes UsersListBlockedByAuthenticatedUnauthorized as json. -func (s *UsersListBlockedByAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListBlockedByAuthenticatedUnauthorized from json. -func (s *UsersListBlockedByAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListBlockedByAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListBlockedByAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListBlockedByAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168588,31 +158113,6 @@ func (s *UsersListBlockedByAuthenticatedUnauthorized) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes UsersListEmailsForAuthenticatedForbidden as json. -func (s *UsersListEmailsForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListEmailsForAuthenticatedForbidden from json. -func (s *UsersListEmailsForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListEmailsForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListEmailsForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListEmailsForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168626,31 +158126,6 @@ func (s *UsersListEmailsForAuthenticatedForbidden) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes UsersListEmailsForAuthenticatedNotFound as json. -func (s *UsersListEmailsForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListEmailsForAuthenticatedNotFound from json. -func (s *UsersListEmailsForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListEmailsForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListEmailsForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListEmailsForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168664,31 +158139,6 @@ func (s *UsersListEmailsForAuthenticatedNotFound) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes UsersListEmailsForAuthenticatedUnauthorized as json. -func (s *UsersListEmailsForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListEmailsForAuthenticatedUnauthorized from json. -func (s *UsersListEmailsForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListEmailsForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListEmailsForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListEmailsForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168702,31 +158152,6 @@ func (s *UsersListEmailsForAuthenticatedUnauthorized) UnmarshalJSON(data []byte) return s.Decode(d) } -// Encode encodes UsersListFollowedByAuthenticatedForbidden as json. -func (s *UsersListFollowedByAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListFollowedByAuthenticatedForbidden from json. -func (s *UsersListFollowedByAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListFollowedByAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListFollowedByAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListFollowedByAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168740,31 +158165,6 @@ func (s *UsersListFollowedByAuthenticatedForbidden) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes UsersListFollowedByAuthenticatedUnauthorized as json. -func (s *UsersListFollowedByAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListFollowedByAuthenticatedUnauthorized from json. -func (s *UsersListFollowedByAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListFollowedByAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListFollowedByAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListFollowedByAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168778,31 +158178,6 @@ func (s *UsersListFollowedByAuthenticatedUnauthorized) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes UsersListFollowersForAuthenticatedUserForbidden as json. -func (s *UsersListFollowersForAuthenticatedUserForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListFollowersForAuthenticatedUserForbidden from json. -func (s *UsersListFollowersForAuthenticatedUserForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListFollowersForAuthenticatedUserForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListFollowersForAuthenticatedUserForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListFollowersForAuthenticatedUserForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168816,31 +158191,6 @@ func (s *UsersListFollowersForAuthenticatedUserForbidden) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes UsersListFollowersForAuthenticatedUserUnauthorized as json. -func (s *UsersListFollowersForAuthenticatedUserUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListFollowersForAuthenticatedUserUnauthorized from json. -func (s *UsersListFollowersForAuthenticatedUserUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListFollowersForAuthenticatedUserUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListFollowersForAuthenticatedUserUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListFollowersForAuthenticatedUserUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168854,31 +158204,6 @@ func (s *UsersListFollowersForAuthenticatedUserUnauthorized) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes UsersListGpgKeysForAuthenticatedForbidden as json. -func (s *UsersListGpgKeysForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListGpgKeysForAuthenticatedForbidden from json. -func (s *UsersListGpgKeysForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListGpgKeysForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListGpgKeysForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListGpgKeysForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168892,31 +158217,6 @@ func (s *UsersListGpgKeysForAuthenticatedForbidden) UnmarshalJSON(data []byte) e return s.Decode(d) } -// Encode encodes UsersListGpgKeysForAuthenticatedNotFound as json. -func (s *UsersListGpgKeysForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListGpgKeysForAuthenticatedNotFound from json. -func (s *UsersListGpgKeysForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListGpgKeysForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListGpgKeysForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListGpgKeysForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168930,31 +158230,6 @@ func (s *UsersListGpgKeysForAuthenticatedNotFound) UnmarshalJSON(data []byte) er return s.Decode(d) } -// Encode encodes UsersListGpgKeysForAuthenticatedUnauthorized as json. -func (s *UsersListGpgKeysForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListGpgKeysForAuthenticatedUnauthorized from json. -func (s *UsersListGpgKeysForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListGpgKeysForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListGpgKeysForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListGpgKeysForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -168968,31 +158243,6 @@ func (s *UsersListGpgKeysForAuthenticatedUnauthorized) UnmarshalJSON(data []byte return s.Decode(d) } -// Encode encodes UsersListPublicEmailsForAuthenticatedForbidden as json. -func (s *UsersListPublicEmailsForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListPublicEmailsForAuthenticatedForbidden from json. -func (s *UsersListPublicEmailsForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListPublicEmailsForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListPublicEmailsForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListPublicEmailsForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169006,31 +158256,6 @@ func (s *UsersListPublicEmailsForAuthenticatedForbidden) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes UsersListPublicEmailsForAuthenticatedNotFound as json. -func (s *UsersListPublicEmailsForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListPublicEmailsForAuthenticatedNotFound from json. -func (s *UsersListPublicEmailsForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListPublicEmailsForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListPublicEmailsForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListPublicEmailsForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169044,31 +158269,6 @@ func (s *UsersListPublicEmailsForAuthenticatedNotFound) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes UsersListPublicEmailsForAuthenticatedUnauthorized as json. -func (s *UsersListPublicEmailsForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListPublicEmailsForAuthenticatedUnauthorized from json. -func (s *UsersListPublicEmailsForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListPublicEmailsForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListPublicEmailsForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListPublicEmailsForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169082,31 +158282,6 @@ func (s *UsersListPublicEmailsForAuthenticatedUnauthorized) UnmarshalJSON(data [ return s.Decode(d) } -// Encode encodes UsersListPublicSSHKeysForAuthenticatedForbidden as json. -func (s *UsersListPublicSSHKeysForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListPublicSSHKeysForAuthenticatedForbidden from json. -func (s *UsersListPublicSSHKeysForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListPublicSSHKeysForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListPublicSSHKeysForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListPublicSSHKeysForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169120,31 +158295,6 @@ func (s *UsersListPublicSSHKeysForAuthenticatedForbidden) UnmarshalJSON(data []b return s.Decode(d) } -// Encode encodes UsersListPublicSSHKeysForAuthenticatedNotFound as json. -func (s *UsersListPublicSSHKeysForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListPublicSSHKeysForAuthenticatedNotFound from json. -func (s *UsersListPublicSSHKeysForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListPublicSSHKeysForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListPublicSSHKeysForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListPublicSSHKeysForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169158,31 +158308,6 @@ func (s *UsersListPublicSSHKeysForAuthenticatedNotFound) UnmarshalJSON(data []by return s.Decode(d) } -// Encode encodes UsersListPublicSSHKeysForAuthenticatedUnauthorized as json. -func (s *UsersListPublicSSHKeysForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersListPublicSSHKeysForAuthenticatedUnauthorized from json. -func (s *UsersListPublicSSHKeysForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersListPublicSSHKeysForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersListPublicSSHKeysForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersListPublicSSHKeysForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169196,31 +158321,6 @@ func (s *UsersListPublicSSHKeysForAuthenticatedUnauthorized) UnmarshalJSON(data return s.Decode(d) } -// Encode encodes UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden as json. -func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden from json. -func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169234,31 +158334,6 @@ func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden) UnmarshalJSON( return s.Decode(d) } -// Encode encodes UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound as json. -func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound from json. -func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169456,31 +158531,6 @@ func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedReqVisibility) UnmarshalJ return s.Decode(d) } -// Encode encodes UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized as json. -func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized from json. -func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169494,31 +158544,6 @@ func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized) UnmarshalJS return s.Decode(d) } -// Encode encodes UsersUnblockForbidden as json. -func (s *UsersUnblockForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUnblockForbidden from json. -func (s *UsersUnblockForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUnblockForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUnblockForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUnblockForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169532,31 +158557,6 @@ func (s *UsersUnblockForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersUnblockNotFound as json. -func (s *UsersUnblockNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUnblockNotFound from json. -func (s *UsersUnblockNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUnblockNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUnblockNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUnblockNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169570,31 +158570,6 @@ func (s *UsersUnblockNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersUnblockUnauthorized as json. -func (s *UsersUnblockUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUnblockUnauthorized from json. -func (s *UsersUnblockUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUnblockUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUnblockUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUnblockUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169608,31 +158583,6 @@ func (s *UsersUnblockUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersUnfollowForbidden as json. -func (s *UsersUnfollowForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUnfollowForbidden from json. -func (s *UsersUnfollowForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUnfollowForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUnfollowForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUnfollowForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169646,31 +158596,6 @@ func (s *UsersUnfollowForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersUnfollowNotFound as json. -func (s *UsersUnfollowNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUnfollowNotFound from json. -func (s *UsersUnfollowNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUnfollowNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUnfollowNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUnfollowNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169684,31 +158609,6 @@ func (s *UsersUnfollowNotFound) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersUnfollowUnauthorized as json. -func (s *UsersUnfollowUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUnfollowUnauthorized from json. -func (s *UsersUnfollowUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUnfollowUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUnfollowUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUnfollowUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169722,31 +158622,6 @@ func (s *UsersUnfollowUnauthorized) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersUpdateAuthenticatedForbidden as json. -func (s *UsersUpdateAuthenticatedForbidden) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUpdateAuthenticatedForbidden from json. -func (s *UsersUpdateAuthenticatedForbidden) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUpdateAuthenticatedForbidden to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUpdateAuthenticatedForbidden(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUpdateAuthenticatedForbidden) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169760,31 +158635,6 @@ func (s *UsersUpdateAuthenticatedForbidden) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersUpdateAuthenticatedNotFound as json. -func (s *UsersUpdateAuthenticatedNotFound) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUpdateAuthenticatedNotFound from json. -func (s *UsersUpdateAuthenticatedNotFound) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUpdateAuthenticatedNotFound to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUpdateAuthenticatedNotFound(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUpdateAuthenticatedNotFound) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -169980,31 +158830,6 @@ func (s *UsersUpdateAuthenticatedReq) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes UsersUpdateAuthenticatedUnauthorized as json. -func (s *UsersUpdateAuthenticatedUnauthorized) Encode(e *jx.Encoder) { - unwrapped := (*BasicError)(s) - - unwrapped.Encode(e) -} - -// Decode decodes UsersUpdateAuthenticatedUnauthorized from json. -func (s *UsersUpdateAuthenticatedUnauthorized) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode UsersUpdateAuthenticatedUnauthorized to nil") - } - var unwrapped BasicError - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = UsersUpdateAuthenticatedUnauthorized(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *UsersUpdateAuthenticatedUnauthorized) MarshalJSON() ([]byte, error) { e := jx.Encoder{} diff --git a/examples/ex_github/oas_schemas_gen.go b/examples/ex_github/oas_schemas_gen.go index fdfcae4d9..a937053f2 100644 --- a/examples/ex_github/oas_schemas_gen.go +++ b/examples/ex_github/oas_schemas_gen.go @@ -213,11 +213,15 @@ func (*ActionsAddSelectedRepoToOrgSecretNoContent) actionsAddSelectedRepoToOrgSe // ActionsAddSelfHostedRunnerToGroupForOrgNoContent is response for ActionsAddSelfHostedRunnerToGroupForOrg operation. type ActionsAddSelfHostedRunnerToGroupForOrgNoContent struct{} -type ActionsApproveWorkflowRunForbidden BasicError +type ActionsApproveWorkflowRunForbidden struct { + BasicError +} func (*ActionsApproveWorkflowRunForbidden) actionsApproveWorkflowRunRes() {} -type ActionsApproveWorkflowRunNotFound BasicError +type ActionsApproveWorkflowRunNotFound struct { + BasicError +} func (*ActionsApproveWorkflowRunNotFound) actionsApproveWorkflowRunRes() {} @@ -1959,7 +1963,9 @@ func (s *ActionsUpdateSelfHostedRunnerGroupForOrgReqVisibility) UnmarshalText(da } } -type ActivityCheckRepoIsStarredByAuthenticatedUserForbidden BasicError +type ActivityCheckRepoIsStarredByAuthenticatedUserForbidden struct { + BasicError +} func (*ActivityCheckRepoIsStarredByAuthenticatedUserForbidden) activityCheckRepoIsStarredByAuthenticatedUserRes() { } @@ -1970,12 +1976,16 @@ type ActivityCheckRepoIsStarredByAuthenticatedUserNoContent struct{} func (*ActivityCheckRepoIsStarredByAuthenticatedUserNoContent) activityCheckRepoIsStarredByAuthenticatedUserRes() { } -type ActivityCheckRepoIsStarredByAuthenticatedUserNotFound BasicError +type ActivityCheckRepoIsStarredByAuthenticatedUserNotFound struct { + BasicError +} func (*ActivityCheckRepoIsStarredByAuthenticatedUserNotFound) activityCheckRepoIsStarredByAuthenticatedUserRes() { } -type ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized BasicError +type ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized struct { + BasicError +} func (*ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized) activityCheckRepoIsStarredByAuthenticatedUserRes() { } @@ -1983,7 +1993,9 @@ func (*ActivityCheckRepoIsStarredByAuthenticatedUserUnauthorized) activityCheckR // ActivityDeleteRepoSubscriptionNoContent is response for ActivityDeleteRepoSubscription operation. type ActivityDeleteRepoSubscriptionNoContent struct{} -type ActivityDeleteThreadSubscriptionForbidden BasicError +type ActivityDeleteThreadSubscriptionForbidden struct { + BasicError +} func (*ActivityDeleteThreadSubscriptionForbidden) activityDeleteThreadSubscriptionRes() {} @@ -1992,7 +2004,9 @@ type ActivityDeleteThreadSubscriptionNoContent struct{} func (*ActivityDeleteThreadSubscriptionNoContent) activityDeleteThreadSubscriptionRes() {} -type ActivityDeleteThreadSubscriptionUnauthorized BasicError +type ActivityDeleteThreadSubscriptionUnauthorized struct { + BasicError +} func (*ActivityDeleteThreadSubscriptionUnauthorized) activityDeleteThreadSubscriptionRes() {} @@ -2001,25 +2015,35 @@ type ActivityGetRepoSubscriptionNotFound struct{} func (*ActivityGetRepoSubscriptionNotFound) activityGetRepoSubscriptionRes() {} -type ActivityGetThreadForbidden BasicError +type ActivityGetThreadForbidden struct { + BasicError +} func (*ActivityGetThreadForbidden) activityGetThreadRes() {} -type ActivityGetThreadSubscriptionForAuthenticatedUserForbidden BasicError +type ActivityGetThreadSubscriptionForAuthenticatedUserForbidden struct { + BasicError +} func (*ActivityGetThreadSubscriptionForAuthenticatedUserForbidden) activityGetThreadSubscriptionForAuthenticatedUserRes() { } -type ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized BasicError +type ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ActivityGetThreadSubscriptionForAuthenticatedUserUnauthorized) activityGetThreadSubscriptionForAuthenticatedUserRes() { } -type ActivityGetThreadUnauthorized BasicError +type ActivityGetThreadUnauthorized struct { + BasicError +} func (*ActivityGetThreadUnauthorized) activityGetThreadRes() {} -type ActivityListNotificationsForAuthenticatedUserForbidden BasicError +type ActivityListNotificationsForAuthenticatedUserForbidden struct { + BasicError +} func (*ActivityListNotificationsForAuthenticatedUserForbidden) activityListNotificationsForAuthenticatedUserRes() { } @@ -2053,21 +2077,29 @@ func (s *ActivityListNotificationsForAuthenticatedUserOKHeaders) SetResponse(val func (*ActivityListNotificationsForAuthenticatedUserOKHeaders) activityListNotificationsForAuthenticatedUserRes() { } -type ActivityListNotificationsForAuthenticatedUserUnauthorized BasicError +type ActivityListNotificationsForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ActivityListNotificationsForAuthenticatedUserUnauthorized) activityListNotificationsForAuthenticatedUserRes() { } -type ActivityListPublicEventsForRepoNetworkForbidden BasicError +type ActivityListPublicEventsForRepoNetworkForbidden struct { + BasicError +} func (*ActivityListPublicEventsForRepoNetworkForbidden) activityListPublicEventsForRepoNetworkRes() {} -type ActivityListPublicEventsForRepoNetworkMovedPermanently BasicError +type ActivityListPublicEventsForRepoNetworkMovedPermanently struct { + BasicError +} func (*ActivityListPublicEventsForRepoNetworkMovedPermanently) activityListPublicEventsForRepoNetworkRes() { } -type ActivityListPublicEventsForRepoNetworkNotFound BasicError +type ActivityListPublicEventsForRepoNetworkNotFound struct { + BasicError +} func (*ActivityListPublicEventsForRepoNetworkNotFound) activityListPublicEventsForRepoNetworkRes() {} @@ -2106,7 +2138,9 @@ func (s *ActivityListRepoNotificationsForAuthenticatedUserOKHeaders) SetResponse s.Response = val } -type ActivityListReposStarredByAuthenticatedUserForbidden BasicError +type ActivityListReposStarredByAuthenticatedUserForbidden struct { + BasicError +} func (*ActivityListReposStarredByAuthenticatedUserForbidden) activityListReposStarredByAuthenticatedUserRes() { } @@ -2140,7 +2174,9 @@ func (s *ActivityListReposStarredByAuthenticatedUserOKHeaders) SetResponse(val [ func (*ActivityListReposStarredByAuthenticatedUserOKHeaders) activityListReposStarredByAuthenticatedUserRes() { } -type ActivityListReposStarredByAuthenticatedUserUnauthorized BasicError +type ActivityListReposStarredByAuthenticatedUserUnauthorized struct { + BasicError +} func (*ActivityListReposStarredByAuthenticatedUserUnauthorized) activityListReposStarredByAuthenticatedUserRes() { } @@ -2171,7 +2207,9 @@ func (s *ActivityListReposWatchedByUserOKHeaders) SetResponse(val []MinimalRepos s.Response = val } -type ActivityListWatchedReposForAuthenticatedUserForbidden BasicError +type ActivityListWatchedReposForAuthenticatedUserForbidden struct { + BasicError +} func (*ActivityListWatchedReposForAuthenticatedUserForbidden) activityListWatchedReposForAuthenticatedUserRes() { } @@ -2205,7 +2243,9 @@ func (s *ActivityListWatchedReposForAuthenticatedUserOKHeaders) SetResponse(val func (*ActivityListWatchedReposForAuthenticatedUserOKHeaders) activityListWatchedReposForAuthenticatedUserRes() { } -type ActivityListWatchedReposForAuthenticatedUserUnauthorized BasicError +type ActivityListWatchedReposForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ActivityListWatchedReposForAuthenticatedUserUnauthorized) activityListWatchedReposForAuthenticatedUserRes() { } @@ -2252,7 +2292,9 @@ func (s *ActivityMarkNotificationsAsReadAccepted) SetMessage(val OptString) { func (*ActivityMarkNotificationsAsReadAccepted) activityMarkNotificationsAsReadRes() {} -type ActivityMarkNotificationsAsReadForbidden BasicError +type ActivityMarkNotificationsAsReadForbidden struct { + BasicError +} func (*ActivityMarkNotificationsAsReadForbidden) activityMarkNotificationsAsReadRes() {} @@ -2288,7 +2330,9 @@ type ActivityMarkNotificationsAsReadResetContent struct{} func (*ActivityMarkNotificationsAsReadResetContent) activityMarkNotificationsAsReadRes() {} -type ActivityMarkNotificationsAsReadUnauthorized BasicError +type ActivityMarkNotificationsAsReadUnauthorized struct { + BasicError +} func (*ActivityMarkNotificationsAsReadUnauthorized) activityMarkNotificationsAsReadRes() {} @@ -2374,7 +2418,9 @@ func (s *ActivitySetRepoSubscriptionReq) SetIgnored(val OptBool) { s.Ignored = val } -type ActivitySetThreadSubscriptionForbidden BasicError +type ActivitySetThreadSubscriptionForbidden struct { + BasicError +} func (*ActivitySetThreadSubscriptionForbidden) activitySetThreadSubscriptionRes() {} @@ -2393,11 +2439,15 @@ func (s *ActivitySetThreadSubscriptionReq) SetIgnored(val OptBool) { s.Ignored = val } -type ActivitySetThreadSubscriptionUnauthorized BasicError +type ActivitySetThreadSubscriptionUnauthorized struct { + BasicError +} func (*ActivitySetThreadSubscriptionUnauthorized) activitySetThreadSubscriptionRes() {} -type ActivityStarRepoForAuthenticatedUserForbidden BasicError +type ActivityStarRepoForAuthenticatedUserForbidden struct { + BasicError +} func (*ActivityStarRepoForAuthenticatedUserForbidden) activityStarRepoForAuthenticatedUserRes() {} @@ -2406,15 +2456,21 @@ type ActivityStarRepoForAuthenticatedUserNoContent struct{} func (*ActivityStarRepoForAuthenticatedUserNoContent) activityStarRepoForAuthenticatedUserRes() {} -type ActivityStarRepoForAuthenticatedUserNotFound BasicError +type ActivityStarRepoForAuthenticatedUserNotFound struct { + BasicError +} func (*ActivityStarRepoForAuthenticatedUserNotFound) activityStarRepoForAuthenticatedUserRes() {} -type ActivityStarRepoForAuthenticatedUserUnauthorized BasicError +type ActivityStarRepoForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ActivityStarRepoForAuthenticatedUserUnauthorized) activityStarRepoForAuthenticatedUserRes() {} -type ActivityUnstarRepoForAuthenticatedUserForbidden BasicError +type ActivityUnstarRepoForAuthenticatedUserForbidden struct { + BasicError +} func (*ActivityUnstarRepoForAuthenticatedUserForbidden) activityUnstarRepoForAuthenticatedUserRes() {} @@ -2423,11 +2479,15 @@ type ActivityUnstarRepoForAuthenticatedUserNoContent struct{} func (*ActivityUnstarRepoForAuthenticatedUserNoContent) activityUnstarRepoForAuthenticatedUserRes() {} -type ActivityUnstarRepoForAuthenticatedUserNotFound BasicError +type ActivityUnstarRepoForAuthenticatedUserNotFound struct { + BasicError +} func (*ActivityUnstarRepoForAuthenticatedUserNotFound) activityUnstarRepoForAuthenticatedUserRes() {} -type ActivityUnstarRepoForAuthenticatedUserUnauthorized BasicError +type ActivityUnstarRepoForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ActivityUnstarRepoForAuthenticatedUserUnauthorized) activityUnstarRepoForAuthenticatedUserRes() { } @@ -4418,7 +4478,9 @@ func (s *ApplicationGrantApp) SetURL(val url.URL) { s.URL = val } -type AppsAddRepoToInstallationForbidden BasicError +type AppsAddRepoToInstallationForbidden struct { + BasicError +} func (*AppsAddRepoToInstallationForbidden) appsAddRepoToInstallationRes() {} @@ -4427,7 +4489,9 @@ type AppsAddRepoToInstallationNoContent struct{} func (*AppsAddRepoToInstallationNoContent) appsAddRepoToInstallationRes() {} -type AppsAddRepoToInstallationNotFound BasicError +type AppsAddRepoToInstallationNotFound struct { + BasicError +} func (*AppsAddRepoToInstallationNotFound) appsAddRepoToInstallationRes() {} @@ -4446,15 +4510,21 @@ func (s *AppsCheckTokenReq) SetAccessToken(val string) { s.AccessToken = val } -type AppsCreateContentAttachmentForbidden BasicError +type AppsCreateContentAttachmentForbidden struct { + BasicError +} func (*AppsCreateContentAttachmentForbidden) appsCreateContentAttachmentRes() {} -type AppsCreateContentAttachmentGone BasicError +type AppsCreateContentAttachmentGone struct { + BasicError +} func (*AppsCreateContentAttachmentGone) appsCreateContentAttachmentRes() {} -type AppsCreateContentAttachmentNotFound BasicError +type AppsCreateContentAttachmentNotFound struct { + BasicError +} func (*AppsCreateContentAttachmentNotFound) appsCreateContentAttachmentRes() {} @@ -4793,11 +4863,15 @@ func (s *AppsCreateFromManifestCreatedPermissionsAdditional) init() AppsCreateFr type AppsCreateFromManifestReq struct{} -type AppsCreateInstallationAccessTokenForbidden BasicError +type AppsCreateInstallationAccessTokenForbidden struct { + BasicError +} func (*AppsCreateInstallationAccessTokenForbidden) appsCreateInstallationAccessTokenRes() {} -type AppsCreateInstallationAccessTokenNotFound BasicError +type AppsCreateInstallationAccessTokenNotFound struct { + BasicError +} func (*AppsCreateInstallationAccessTokenNotFound) appsCreateInstallationAccessTokenRes() {} @@ -4839,7 +4913,9 @@ func (s *AppsCreateInstallationAccessTokenReq) SetPermissions(val OptAppPermissi s.Permissions = val } -type AppsCreateInstallationAccessTokenUnauthorized BasicError +type AppsCreateInstallationAccessTokenUnauthorized struct { + BasicError +} func (*AppsCreateInstallationAccessTokenUnauthorized) appsCreateInstallationAccessTokenRes() {} @@ -4888,15 +4964,21 @@ func (s *AppsDeleteTokenReq) SetAccessToken(val string) { s.AccessToken = val } -type AppsGetBySlugForbidden BasicError +type AppsGetBySlugForbidden struct { + BasicError +} func (*AppsGetBySlugForbidden) appsGetBySlugRes() {} -type AppsGetBySlugNotFound BasicError +type AppsGetBySlugNotFound struct { + BasicError +} func (*AppsGetBySlugNotFound) appsGetBySlugRes() {} -type AppsGetSubscriptionPlanForAccountNotFound BasicError +type AppsGetSubscriptionPlanForAccountNotFound struct { + BasicError +} func (*AppsGetSubscriptionPlanForAccountNotFound) appsGetSubscriptionPlanForAccountRes() {} @@ -4906,7 +4988,9 @@ type AppsGetSubscriptionPlanForAccountStubbedNotFound struct{} func (*AppsGetSubscriptionPlanForAccountStubbedNotFound) appsGetSubscriptionPlanForAccountStubbedRes() { } -type AppsGetSubscriptionPlanForAccountUnauthorized BasicError +type AppsGetSubscriptionPlanForAccountUnauthorized struct { + BasicError +} func (*AppsGetSubscriptionPlanForAccountUnauthorized) appsGetSubscriptionPlanForAccountRes() {} @@ -4951,7 +5035,9 @@ func (s *AppsListAccountsForPlanDirection) UnmarshalText(data []byte) error { } } -type AppsListAccountsForPlanNotFound BasicError +type AppsListAccountsForPlanNotFound struct { + BasicError +} func (*AppsListAccountsForPlanNotFound) appsListAccountsForPlanRes() {} @@ -5052,16 +5138,22 @@ func (s *AppsListAccountsForPlanStubbedOKHeaders) SetResponse(val []MarketplaceP func (*AppsListAccountsForPlanStubbedOKHeaders) appsListAccountsForPlanStubbedRes() {} -type AppsListAccountsForPlanUnauthorized BasicError +type AppsListAccountsForPlanUnauthorized struct { + BasicError +} func (*AppsListAccountsForPlanUnauthorized) appsListAccountsForPlanRes() {} -type AppsListInstallationReposForAuthenticatedUserForbidden BasicError +type AppsListInstallationReposForAuthenticatedUserForbidden struct { + BasicError +} func (*AppsListInstallationReposForAuthenticatedUserForbidden) appsListInstallationReposForAuthenticatedUserRes() { } -type AppsListInstallationReposForAuthenticatedUserNotFound BasicError +type AppsListInstallationReposForAuthenticatedUserNotFound struct { + BasicError +} func (*AppsListInstallationReposForAuthenticatedUserNotFound) appsListInstallationReposForAuthenticatedUserRes() { } @@ -5131,7 +5223,9 @@ func (s *AppsListInstallationReposForAuthenticatedUserOKHeaders) SetResponse(val func (*AppsListInstallationReposForAuthenticatedUserOKHeaders) appsListInstallationReposForAuthenticatedUserRes() { } -type AppsListPlansNotFound BasicError +type AppsListPlansNotFound struct { + BasicError +} func (*AppsListPlansNotFound) appsListPlansRes() {} @@ -5191,11 +5285,15 @@ func (s *AppsListPlansStubbedOKHeaders) SetResponse(val []MarketplaceListingPlan func (*AppsListPlansStubbedOKHeaders) appsListPlansStubbedRes() {} -type AppsListPlansUnauthorized BasicError +type AppsListPlansUnauthorized struct { + BasicError +} func (*AppsListPlansUnauthorized) appsListPlansRes() {} -type AppsListReposAccessibleToInstallationForbidden BasicError +type AppsListReposAccessibleToInstallationForbidden struct { + BasicError +} func (*AppsListReposAccessibleToInstallationForbidden) appsListReposAccessibleToInstallationRes() {} @@ -5263,12 +5361,16 @@ func (s *AppsListReposAccessibleToInstallationOKHeaders) SetResponse(val AppsLis func (*AppsListReposAccessibleToInstallationOKHeaders) appsListReposAccessibleToInstallationRes() {} -type AppsListReposAccessibleToInstallationUnauthorized BasicError +type AppsListReposAccessibleToInstallationUnauthorized struct { + BasicError +} func (*AppsListReposAccessibleToInstallationUnauthorized) appsListReposAccessibleToInstallationRes() { } -type AppsListSubscriptionsForAuthenticatedUserNotFound BasicError +type AppsListSubscriptionsForAuthenticatedUserNotFound struct { + BasicError +} func (*AppsListSubscriptionsForAuthenticatedUserNotFound) appsListSubscriptionsForAuthenticatedUserRes() { } @@ -5331,7 +5433,9 @@ func (s *AppsListSubscriptionsForAuthenticatedUserStubbedOKHeaders) SetResponse( func (*AppsListSubscriptionsForAuthenticatedUserStubbedOKHeaders) appsListSubscriptionsForAuthenticatedUserStubbedRes() { } -type AppsListSubscriptionsForAuthenticatedUserUnauthorized BasicError +type AppsListSubscriptionsForAuthenticatedUserUnauthorized struct { + BasicError +} func (*AppsListSubscriptionsForAuthenticatedUserUnauthorized) appsListSubscriptionsForAuthenticatedUserRes() { } @@ -5340,7 +5444,9 @@ type AppsListWebhookDeliveriesOKApplicationJSON []HookDeliveryItem func (*AppsListWebhookDeliveriesOKApplicationJSON) appsListWebhookDeliveriesRes() {} -type AppsRemoveRepoFromInstallationForbidden BasicError +type AppsRemoveRepoFromInstallationForbidden struct { + BasicError +} func (*AppsRemoveRepoFromInstallationForbidden) appsRemoveRepoFromInstallationRes() {} @@ -5349,7 +5455,9 @@ type AppsRemoveRepoFromInstallationNoContent struct{} func (*AppsRemoveRepoFromInstallationNoContent) appsRemoveRepoFromInstallationRes() {} -type AppsRemoveRepoFromInstallationNotFound BasicError +type AppsRemoveRepoFromInstallationNotFound struct { + BasicError +} func (*AppsRemoveRepoFromInstallationNotFound) appsRemoveRepoFromInstallationRes() {} @@ -5371,11 +5479,15 @@ func (s *AppsResetTokenReq) SetAccessToken(val string) { // AppsRevokeInstallationAccessTokenNoContent is response for AppsRevokeInstallationAccessToken operation. type AppsRevokeInstallationAccessTokenNoContent struct{} -type AppsScopeTokenForbidden BasicError +type AppsScopeTokenForbidden struct { + BasicError +} func (*AppsScopeTokenForbidden) appsScopeTokenRes() {} -type AppsScopeTokenNotFound BasicError +type AppsScopeTokenNotFound struct { + BasicError +} func (*AppsScopeTokenNotFound) appsScopeTokenRes() {} @@ -5457,7 +5569,9 @@ func (s *AppsScopeTokenReq) SetPermissions(val OptAppPermissions) { s.Permissions = val } -type AppsScopeTokenUnauthorized BasicError +type AppsScopeTokenUnauthorized struct { + BasicError +} func (*AppsScopeTokenUnauthorized) appsScopeTokenRes() {} @@ -9681,11 +9795,15 @@ func (s *CheckSuiteStatus) UnmarshalText(data []byte) error { } } -type ChecksCreateSuiteCreated CheckSuite +type ChecksCreateSuiteCreated struct { + CheckSuite +} func (*ChecksCreateSuiteCreated) checksCreateSuiteRes() {} -type ChecksCreateSuiteOK CheckSuite +type ChecksCreateSuiteOK struct { + CheckSuite +} func (*ChecksCreateSuiteOK) checksCreateSuiteRes() {} @@ -11451,31 +11569,45 @@ type CodeScanningAnalysisToolVersion string type CodeScanningAnalysisURL url.URL -type CodeScanningDeleteAnalysisBadRequest BasicError +type CodeScanningDeleteAnalysisBadRequest struct { + BasicError +} func (*CodeScanningDeleteAnalysisBadRequest) codeScanningDeleteAnalysisRes() {} -type CodeScanningDeleteAnalysisForbidden BasicError +type CodeScanningDeleteAnalysisForbidden struct { + BasicError +} func (*CodeScanningDeleteAnalysisForbidden) codeScanningDeleteAnalysisRes() {} -type CodeScanningDeleteAnalysisNotFound BasicError +type CodeScanningDeleteAnalysisNotFound struct { + BasicError +} func (*CodeScanningDeleteAnalysisNotFound) codeScanningDeleteAnalysisRes() {} -type CodeScanningGetAlertForbidden BasicError +type CodeScanningGetAlertForbidden struct { + BasicError +} func (*CodeScanningGetAlertForbidden) codeScanningGetAlertRes() {} -type CodeScanningGetAlertNotFound BasicError +type CodeScanningGetAlertNotFound struct { + BasicError +} func (*CodeScanningGetAlertNotFound) codeScanningGetAlertRes() {} -type CodeScanningGetAnalysisForbidden BasicError +type CodeScanningGetAnalysisForbidden struct { + BasicError +} func (*CodeScanningGetAnalysisForbidden) codeScanningGetAnalysisRes() {} -type CodeScanningGetAnalysisNotFound BasicError +type CodeScanningGetAnalysisNotFound struct { + BasicError +} func (*CodeScanningGetAnalysisNotFound) codeScanningGetAnalysisRes() {} @@ -11500,11 +11632,15 @@ type CodeScanningGetSarifNotFound struct{} func (*CodeScanningGetSarifNotFound) codeScanningGetSarifRes() {} -type CodeScanningListAlertInstancesForbidden BasicError +type CodeScanningListAlertInstancesForbidden struct { + BasicError +} func (*CodeScanningListAlertInstancesForbidden) codeScanningListAlertInstancesRes() {} -type CodeScanningListAlertInstancesNotFound BasicError +type CodeScanningListAlertInstancesNotFound struct { + BasicError +} func (*CodeScanningListAlertInstancesNotFound) codeScanningListAlertInstancesRes() {} @@ -11512,11 +11648,15 @@ type CodeScanningListAlertInstancesOKApplicationJSON []CodeScanningAlertInstance func (*CodeScanningListAlertInstancesOKApplicationJSON) codeScanningListAlertInstancesRes() {} -type CodeScanningListAlertsForRepoForbidden BasicError +type CodeScanningListAlertsForRepoForbidden struct { + BasicError +} func (*CodeScanningListAlertsForRepoForbidden) codeScanningListAlertsForRepoRes() {} -type CodeScanningListAlertsForRepoNotFound BasicError +type CodeScanningListAlertsForRepoNotFound struct { + BasicError +} func (*CodeScanningListAlertsForRepoNotFound) codeScanningListAlertsForRepoRes() {} @@ -11524,11 +11664,15 @@ type CodeScanningListAlertsForRepoOKApplicationJSON []CodeScanningAlertItems func (*CodeScanningListAlertsForRepoOKApplicationJSON) codeScanningListAlertsForRepoRes() {} -type CodeScanningListRecentAnalysesForbidden BasicError +type CodeScanningListRecentAnalysesForbidden struct { + BasicError +} func (*CodeScanningListRecentAnalysesForbidden) codeScanningListRecentAnalysesRes() {} -type CodeScanningListRecentAnalysesNotFound BasicError +type CodeScanningListRecentAnalysesNotFound struct { + BasicError +} func (*CodeScanningListRecentAnalysesNotFound) codeScanningListRecentAnalysesRes() {} @@ -11641,11 +11785,15 @@ func (s *CodeScanningSarifsStatusProcessingStatus) UnmarshalText(data []byte) er } } -type CodeScanningUpdateAlertForbidden BasicError +type CodeScanningUpdateAlertForbidden struct { + BasicError +} func (*CodeScanningUpdateAlertForbidden) codeScanningUpdateAlertRes() {} -type CodeScanningUpdateAlertNotFound BasicError +type CodeScanningUpdateAlertNotFound struct { + BasicError +} func (*CodeScanningUpdateAlertNotFound) codeScanningUpdateAlertRes() {} @@ -11679,11 +11827,15 @@ type CodeScanningUploadSarifBadRequest struct{} func (*CodeScanningUploadSarifBadRequest) codeScanningUploadSarifRes() {} -type CodeScanningUploadSarifForbidden BasicError +type CodeScanningUploadSarifForbidden struct { + BasicError +} func (*CodeScanningUploadSarifForbidden) codeScanningUploadSarifRes() {} -type CodeScanningUploadSarifNotFound BasicError +type CodeScanningUploadSarifNotFound struct { + BasicError +} func (*CodeScanningUploadSarifNotFound) codeScanningUploadSarifRes() {} @@ -20249,11 +20401,15 @@ type GistsCheckIsStarredNotFound struct{} func (*GistsCheckIsStarredNotFound) gistsCheckIsStarredRes() {} -type GistsCreateCommentForbidden BasicError +type GistsCreateCommentForbidden struct { + BasicError +} func (*GistsCreateCommentForbidden) gistsCreateCommentRes() {} -type GistsCreateCommentNotFound BasicError +type GistsCreateCommentNotFound struct { + BasicError +} func (*GistsCreateCommentNotFound) gistsCreateCommentRes() {} @@ -20272,11 +20428,15 @@ func (s *GistsCreateCommentReq) SetBody(val string) { s.Body = val } -type GistsCreateForbidden BasicError +type GistsCreateForbidden struct { + BasicError +} func (*GistsCreateForbidden) gistsCreateRes() {} -type GistsCreateNotFound BasicError +type GistsCreateNotFound struct { + BasicError +} func (*GistsCreateNotFound) gistsCreateRes() {} @@ -20452,7 +20612,9 @@ func (s *GistsCreateReqPublic1) UnmarshalText(data []byte) error { } } -type GistsDeleteCommentForbidden BasicError +type GistsDeleteCommentForbidden struct { + BasicError +} func (*GistsDeleteCommentForbidden) gistsDeleteCommentRes() {} @@ -20461,11 +20623,15 @@ type GistsDeleteCommentNoContent struct{} func (*GistsDeleteCommentNoContent) gistsDeleteCommentRes() {} -type GistsDeleteCommentNotFound BasicError +type GistsDeleteCommentNotFound struct { + BasicError +} func (*GistsDeleteCommentNotFound) gistsDeleteCommentRes() {} -type GistsDeleteForbidden BasicError +type GistsDeleteForbidden struct { + BasicError +} func (*GistsDeleteForbidden) gistsDeleteRes() {} @@ -20474,31 +20640,45 @@ type GistsDeleteNoContent struct{} func (*GistsDeleteNoContent) gistsDeleteRes() {} -type GistsDeleteNotFound BasicError +type GistsDeleteNotFound struct { + BasicError +} func (*GistsDeleteNotFound) gistsDeleteRes() {} -type GistsForkForbidden BasicError +type GistsForkForbidden struct { + BasicError +} func (*GistsForkForbidden) gistsForkRes() {} -type GistsForkNotFound BasicError +type GistsForkNotFound struct { + BasicError +} func (*GistsForkNotFound) gistsForkRes() {} -type GistsGetRevisionForbidden BasicError +type GistsGetRevisionForbidden struct { + BasicError +} func (*GistsGetRevisionForbidden) gistsGetRevisionRes() {} -type GistsGetRevisionNotFound BasicError +type GistsGetRevisionNotFound struct { + BasicError +} func (*GistsGetRevisionNotFound) gistsGetRevisionRes() {} -type GistsListCommentsForbidden BasicError +type GistsListCommentsForbidden struct { + BasicError +} func (*GistsListCommentsForbidden) gistsListCommentsRes() {} -type GistsListCommentsNotFound BasicError +type GistsListCommentsNotFound struct { + BasicError +} func (*GistsListCommentsNotFound) gistsListCommentsRes() {} @@ -20530,11 +20710,15 @@ func (s *GistsListCommentsOKHeaders) SetResponse(val []GistComment) { func (*GistsListCommentsOKHeaders) gistsListCommentsRes() {} -type GistsListCommitsForbidden BasicError +type GistsListCommitsForbidden struct { + BasicError +} func (*GistsListCommitsForbidden) gistsListCommitsRes() {} -type GistsListCommitsNotFound BasicError +type GistsListCommitsNotFound struct { + BasicError +} func (*GistsListCommitsNotFound) gistsListCommitsRes() {} @@ -20594,11 +20778,15 @@ func (s *GistsListForUserOKHeaders) SetResponse(val []BaseGist) { func (*GistsListForUserOKHeaders) gistsListForUserRes() {} -type GistsListForksForbidden BasicError +type GistsListForksForbidden struct { + BasicError +} func (*GistsListForksForbidden) gistsListForksRes() {} -type GistsListForksNotFound BasicError +type GistsListForksNotFound struct { + BasicError +} func (*GistsListForksNotFound) gistsListForksRes() {} @@ -20686,7 +20874,9 @@ func (s *GistsListPublicOKHeaders) SetResponse(val []BaseGist) { func (*GistsListPublicOKHeaders) gistsListPublicRes() {} -type GistsListStarredForbidden BasicError +type GistsListStarredForbidden struct { + BasicError +} func (*GistsListStarredForbidden) gistsListStarredRes() {} @@ -20718,11 +20908,15 @@ func (s *GistsListStarredOKHeaders) SetResponse(val []BaseGist) { func (*GistsListStarredOKHeaders) gistsListStarredRes() {} -type GistsListStarredUnauthorized BasicError +type GistsListStarredUnauthorized struct { + BasicError +} func (*GistsListStarredUnauthorized) gistsListStarredRes() {} -type GistsStarForbidden BasicError +type GistsStarForbidden struct { + BasicError +} func (*GistsStarForbidden) gistsStarRes() {} @@ -20731,11 +20925,15 @@ type GistsStarNoContent struct{} func (*GistsStarNoContent) gistsStarRes() {} -type GistsStarNotFound BasicError +type GistsStarNotFound struct { + BasicError +} func (*GistsStarNotFound) gistsStarRes() {} -type GistsUnstarForbidden BasicError +type GistsUnstarForbidden struct { + BasicError +} func (*GistsUnstarForbidden) gistsUnstarRes() {} @@ -20744,7 +20942,9 @@ type GistsUnstarNoContent struct{} func (*GistsUnstarNoContent) gistsUnstarRes() {} -type GistsUnstarNotFound BasicError +type GistsUnstarNotFound struct { + BasicError +} func (*GistsUnstarNotFound) gistsUnstarRes() {} @@ -21102,15 +21302,21 @@ func (s *GitCommitVerification) SetPayload(val NilString) { s.Payload = val } -type GitCreateBlobConflict BasicError +type GitCreateBlobConflict struct { + BasicError +} func (*GitCreateBlobConflict) gitCreateBlobRes() {} -type GitCreateBlobForbidden BasicError +type GitCreateBlobForbidden struct { + BasicError +} func (*GitCreateBlobForbidden) gitCreateBlobRes() {} -type GitCreateBlobNotFound BasicError +type GitCreateBlobNotFound struct { + BasicError +} func (*GitCreateBlobNotFound) gitCreateBlobRes() {} @@ -21504,11 +21710,15 @@ func (s *GitCreateTagReqType) UnmarshalText(data []byte) error { } } -type GitCreateTreeForbidden BasicError +type GitCreateTreeForbidden struct { + BasicError +} func (*GitCreateTreeForbidden) gitCreateTreeRes() {} -type GitCreateTreeNotFound BasicError +type GitCreateTreeNotFound struct { + BasicError +} func (*GitCreateTreeNotFound) gitCreateTreeRes() {} @@ -21738,11 +21948,15 @@ type GitDeleteRefNoContent struct{} func (*GitDeleteRefNoContent) gitDeleteRefRes() {} -type GitGetBlobForbidden BasicError +type GitGetBlobForbidden struct { + BasicError +} func (*GitGetBlobForbidden) gitGetBlobRes() {} -type GitGetBlobNotFound BasicError +type GitGetBlobNotFound struct { + BasicError +} func (*GitGetBlobNotFound) gitGetBlobRes() {} @@ -26748,15 +26962,21 @@ type IssuesCheckUserCanBeAssignedNoContent struct{} func (*IssuesCheckUserCanBeAssignedNoContent) issuesCheckUserCanBeAssignedRes() {} -type IssuesCreateCommentForbidden BasicError +type IssuesCreateCommentForbidden struct { + BasicError +} func (*IssuesCreateCommentForbidden) issuesCreateCommentRes() {} -type IssuesCreateCommentGone BasicError +type IssuesCreateCommentGone struct { + BasicError +} func (*IssuesCreateCommentGone) issuesCreateCommentRes() {} -type IssuesCreateCommentNotFound BasicError +type IssuesCreateCommentNotFound struct { + BasicError +} func (*IssuesCreateCommentNotFound) issuesCreateCommentRes() {} @@ -26775,11 +26995,15 @@ func (s *IssuesCreateCommentReq) SetBody(val string) { s.Body = val } -type IssuesCreateForbidden BasicError +type IssuesCreateForbidden struct { + BasicError +} func (*IssuesCreateForbidden) issuesCreateRes() {} -type IssuesCreateGone BasicError +type IssuesCreateGone struct { + BasicError +} func (*IssuesCreateGone) issuesCreateRes() {} @@ -26920,7 +27144,9 @@ func (s *IssuesCreateMilestoneReqState) UnmarshalText(data []byte) error { } } -type IssuesCreateNotFound BasicError +type IssuesCreateNotFound struct { + BasicError +} func (*IssuesCreateNotFound) issuesCreateRes() {} @@ -27255,27 +27481,39 @@ type IssuesDeleteMilestoneNoContent struct{} func (*IssuesDeleteMilestoneNoContent) issuesDeleteMilestoneRes() {} -type IssuesGetEventForbidden BasicError +type IssuesGetEventForbidden struct { + BasicError +} func (*IssuesGetEventForbidden) issuesGetEventRes() {} -type IssuesGetEventGone BasicError +type IssuesGetEventGone struct { + BasicError +} func (*IssuesGetEventGone) issuesGetEventRes() {} -type IssuesGetEventNotFound BasicError +type IssuesGetEventNotFound struct { + BasicError +} func (*IssuesGetEventNotFound) issuesGetEventRes() {} -type IssuesGetGone BasicError +type IssuesGetGone struct { + BasicError +} func (*IssuesGetGone) issuesGetRes() {} -type IssuesGetMovedPermanently BasicError +type IssuesGetMovedPermanently struct { + BasicError +} func (*IssuesGetMovedPermanently) issuesGetRes() {} -type IssuesGetNotFound BasicError +type IssuesGetNotFound struct { + BasicError +} func (*IssuesGetNotFound) issuesGetRes() {} @@ -27376,11 +27614,15 @@ func (s *IssuesListCommentsForRepoOKHeaders) SetResponse(val []IssueComment) { func (*IssuesListCommentsForRepoOKHeaders) issuesListCommentsForRepoRes() {} -type IssuesListCommentsGone BasicError +type IssuesListCommentsGone struct { + BasicError +} func (*IssuesListCommentsGone) issuesListCommentsRes() {} -type IssuesListCommentsNotFound BasicError +type IssuesListCommentsNotFound struct { + BasicError +} func (*IssuesListCommentsNotFound) issuesListCommentsRes() {} @@ -27895,11 +28137,15 @@ func (s *IssuesListForOrgState) UnmarshalText(data []byte) error { } } -type IssuesListForRepoMovedPermanently BasicError +type IssuesListForRepoMovedPermanently struct { + BasicError +} func (*IssuesListForRepoMovedPermanently) issuesListForRepoRes() {} -type IssuesListForRepoNotFound BasicError +type IssuesListForRepoNotFound struct { + BasicError +} func (*IssuesListForRepoNotFound) issuesListForRepoRes() {} @@ -28391,11 +28637,15 @@ func (s *IssuesListState) UnmarshalText(data []byte) error { } } -type IssuesLockForbidden BasicError +type IssuesLockForbidden struct { + BasicError +} func (*IssuesLockForbidden) issuesLockRes() {} -type IssuesLockGone BasicError +type IssuesLockGone struct { + BasicError +} func (*IssuesLockGone) issuesLockRes() {} @@ -28404,7 +28654,9 @@ type IssuesLockNoContent struct{} func (*IssuesLockNoContent) issuesLockRes() {} -type IssuesLockNotFound BasicError +type IssuesLockNotFound struct { + BasicError +} func (*IssuesLockNotFound) issuesLockRes() {} @@ -28510,11 +28762,15 @@ func (s *IssuesRemoveAssigneesReq) SetAssignees(val []string) { s.Assignees = val } -type IssuesRemoveLabelGone BasicError +type IssuesRemoveLabelGone struct { + BasicError +} func (*IssuesRemoveLabelGone) issuesRemoveLabelRes() {} -type IssuesRemoveLabelNotFound BasicError +type IssuesRemoveLabelNotFound struct { + BasicError +} func (*IssuesRemoveLabelNotFound) issuesRemoveLabelRes() {} @@ -28522,7 +28778,9 @@ type IssuesRemoveLabelOKApplicationJSON []Label func (*IssuesRemoveLabelOKApplicationJSON) issuesRemoveLabelRes() {} -type IssuesUnlockForbidden BasicError +type IssuesUnlockForbidden struct { + BasicError +} func (*IssuesUnlockForbidden) issuesUnlockRes() {} @@ -28531,7 +28789,9 @@ type IssuesUnlockNoContent struct{} func (*IssuesUnlockNoContent) issuesUnlockRes() {} -type IssuesUnlockNotFound BasicError +type IssuesUnlockNotFound struct { + BasicError +} func (*IssuesUnlockNotFound) issuesUnlockRes() {} @@ -28550,11 +28810,15 @@ func (s *IssuesUpdateCommentReq) SetBody(val string) { s.Body = val } -type IssuesUpdateForbidden BasicError +type IssuesUpdateForbidden struct { + BasicError +} func (*IssuesUpdateForbidden) issuesUpdateRes() {} -type IssuesUpdateGone BasicError +type IssuesUpdateGone struct { + BasicError +} func (*IssuesUpdateGone) issuesUpdateRes() {} @@ -28695,11 +28959,15 @@ func (s *IssuesUpdateMilestoneReqState) UnmarshalText(data []byte) error { } } -type IssuesUpdateMovedPermanently BasicError +type IssuesUpdateMovedPermanently struct { + BasicError +} func (*IssuesUpdateMovedPermanently) issuesUpdateRes() {} -type IssuesUpdateNotFound BasicError +type IssuesUpdateNotFound struct { + BasicError +} func (*IssuesUpdateNotFound) issuesUpdateRes() {} @@ -30171,11 +30439,15 @@ type LicensesGetAllCommonlyUsedOKApplicationJSON []LicenseSimple func (*LicensesGetAllCommonlyUsedOKApplicationJSON) licensesGetAllCommonlyUsedRes() {} -type LicensesGetForbidden BasicError +type LicensesGetForbidden struct { + BasicError +} func (*LicensesGetForbidden) licensesGetRes() {} -type LicensesGetNotFound BasicError +type LicensesGetNotFound struct { + BasicError +} func (*LicensesGetNotFound) licensesGetRes() {} @@ -31590,7 +31862,9 @@ func (*Migration) migrationsStartForOrgRes() {} // MigrationsCancelImportNoContent is response for MigrationsCancelImport operation. type MigrationsCancelImportNoContent struct{} -type MigrationsDeleteArchiveForAuthenticatedUserForbidden BasicError +type MigrationsDeleteArchiveForAuthenticatedUserForbidden struct { + BasicError +} func (*MigrationsDeleteArchiveForAuthenticatedUserForbidden) migrationsDeleteArchiveForAuthenticatedUserRes() { } @@ -31601,12 +31875,16 @@ type MigrationsDeleteArchiveForAuthenticatedUserNoContent struct{} func (*MigrationsDeleteArchiveForAuthenticatedUserNoContent) migrationsDeleteArchiveForAuthenticatedUserRes() { } -type MigrationsDeleteArchiveForAuthenticatedUserNotFound BasicError +type MigrationsDeleteArchiveForAuthenticatedUserNotFound struct { + BasicError +} func (*MigrationsDeleteArchiveForAuthenticatedUserNotFound) migrationsDeleteArchiveForAuthenticatedUserRes() { } -type MigrationsDeleteArchiveForAuthenticatedUserUnauthorized BasicError +type MigrationsDeleteArchiveForAuthenticatedUserUnauthorized struct { + BasicError +} func (*MigrationsDeleteArchiveForAuthenticatedUserUnauthorized) migrationsDeleteArchiveForAuthenticatedUserRes() { } @@ -31621,7 +31899,9 @@ type MigrationsDownloadArchiveForOrgFound struct{} func (*MigrationsDownloadArchiveForOrgFound) migrationsDownloadArchiveForOrgRes() {} -type MigrationsGetArchiveForAuthenticatedUserForbidden BasicError +type MigrationsGetArchiveForAuthenticatedUserForbidden struct { + BasicError +} func (*MigrationsGetArchiveForAuthenticatedUserForbidden) migrationsGetArchiveForAuthenticatedUserRes() { } @@ -31631,7 +31911,9 @@ type MigrationsGetArchiveForAuthenticatedUserFound struct{} func (*MigrationsGetArchiveForAuthenticatedUserFound) migrationsGetArchiveForAuthenticatedUserRes() {} -type MigrationsGetArchiveForAuthenticatedUserUnauthorized BasicError +type MigrationsGetArchiveForAuthenticatedUserUnauthorized struct { + BasicError +} func (*MigrationsGetArchiveForAuthenticatedUserUnauthorized) migrationsGetArchiveForAuthenticatedUserRes() { } @@ -31640,17 +31922,23 @@ type MigrationsGetCommitAuthorsOKApplicationJSON []PorterAuthor func (*MigrationsGetCommitAuthorsOKApplicationJSON) migrationsGetCommitAuthorsRes() {} -type MigrationsGetStatusForAuthenticatedUserForbidden BasicError +type MigrationsGetStatusForAuthenticatedUserForbidden struct { + BasicError +} func (*MigrationsGetStatusForAuthenticatedUserForbidden) migrationsGetStatusForAuthenticatedUserRes() { } -type MigrationsGetStatusForAuthenticatedUserNotFound BasicError +type MigrationsGetStatusForAuthenticatedUserNotFound struct { + BasicError +} func (*MigrationsGetStatusForAuthenticatedUserNotFound) migrationsGetStatusForAuthenticatedUserRes() { } -type MigrationsGetStatusForAuthenticatedUserUnauthorized BasicError +type MigrationsGetStatusForAuthenticatedUserUnauthorized struct { + BasicError +} func (*MigrationsGetStatusForAuthenticatedUserUnauthorized) migrationsGetStatusForAuthenticatedUserRes() { } @@ -31690,7 +31978,9 @@ func (s *MigrationsGetStatusForOrgExcludeItem) UnmarshalText(data []byte) error } } -type MigrationsListForAuthenticatedUserForbidden BasicError +type MigrationsListForAuthenticatedUserForbidden struct { + BasicError +} func (*MigrationsListForAuthenticatedUserForbidden) migrationsListForAuthenticatedUserRes() {} @@ -31722,7 +32012,9 @@ func (s *MigrationsListForAuthenticatedUserOKHeaders) SetResponse(val []Migratio func (*MigrationsListForAuthenticatedUserOKHeaders) migrationsListForAuthenticatedUserRes() {} -type MigrationsListForAuthenticatedUserUnauthorized BasicError +type MigrationsListForAuthenticatedUserUnauthorized struct { + BasicError +} func (*MigrationsListForAuthenticatedUserUnauthorized) migrationsListForAuthenticatedUserRes() {} @@ -31929,7 +32221,9 @@ func (s *MigrationsSetLfsPreferenceReqUseLfs) UnmarshalText(data []byte) error { } } -type MigrationsStartForAuthenticatedUserForbidden BasicError +type MigrationsStartForAuthenticatedUserForbidden struct { + BasicError +} func (*MigrationsStartForAuthenticatedUserForbidden) migrationsStartForAuthenticatedUserRes() {} @@ -32042,7 +32336,9 @@ func (s *MigrationsStartForAuthenticatedUserReqExcludeItem) UnmarshalText(data [ } } -type MigrationsStartForAuthenticatedUserUnauthorized BasicError +type MigrationsStartForAuthenticatedUserUnauthorized struct { + BasicError +} func (*MigrationsStartForAuthenticatedUserUnauthorized) migrationsStartForAuthenticatedUserRes() {} @@ -32280,7 +32576,9 @@ func (s *MigrationsStartImportReqVcs) UnmarshalText(data []byte) error { } } -type MigrationsUnlockRepoForAuthenticatedUserForbidden BasicError +type MigrationsUnlockRepoForAuthenticatedUserForbidden struct { + BasicError +} func (*MigrationsUnlockRepoForAuthenticatedUserForbidden) migrationsUnlockRepoForAuthenticatedUserRes() { } @@ -32291,12 +32589,16 @@ type MigrationsUnlockRepoForAuthenticatedUserNoContent struct{} func (*MigrationsUnlockRepoForAuthenticatedUserNoContent) migrationsUnlockRepoForAuthenticatedUserRes() { } -type MigrationsUnlockRepoForAuthenticatedUserNotFound BasicError +type MigrationsUnlockRepoForAuthenticatedUserNotFound struct { + BasicError +} func (*MigrationsUnlockRepoForAuthenticatedUserNotFound) migrationsUnlockRepoForAuthenticatedUserRes() { } -type MigrationsUnlockRepoForAuthenticatedUserUnauthorized BasicError +type MigrationsUnlockRepoForAuthenticatedUserUnauthorized struct { + BasicError +} func (*MigrationsUnlockRepoForAuthenticatedUserUnauthorized) migrationsUnlockRepoForAuthenticatedUserRes() { } @@ -40093,11 +40395,15 @@ func (s *NullableTeamSimple) SetLdapDn(val OptString) { s.LdapDn = val } -type OAuthAuthorizationsCreateAuthorizationForbidden BasicError +type OAuthAuthorizationsCreateAuthorizationForbidden struct { + BasicError +} func (*OAuthAuthorizationsCreateAuthorizationForbidden) oAuthAuthorizationsCreateAuthorizationRes() {} -type OAuthAuthorizationsCreateAuthorizationGone BasicError +type OAuthAuthorizationsCreateAuthorizationGone struct { + BasicError +} func (*OAuthAuthorizationsCreateAuthorizationGone) oAuthAuthorizationsCreateAuthorizationRes() {} @@ -40177,12 +40483,16 @@ func (s *OAuthAuthorizationsCreateAuthorizationReq) SetFingerprint(val OptString s.Fingerprint = val } -type OAuthAuthorizationsCreateAuthorizationUnauthorized BasicError +type OAuthAuthorizationsCreateAuthorizationUnauthorized struct { + BasicError +} func (*OAuthAuthorizationsCreateAuthorizationUnauthorized) oAuthAuthorizationsCreateAuthorizationRes() { } -type OAuthAuthorizationsDeleteAuthorizationForbidden BasicError +type OAuthAuthorizationsDeleteAuthorizationForbidden struct { + BasicError +} func (*OAuthAuthorizationsDeleteAuthorizationForbidden) oAuthAuthorizationsDeleteAuthorizationRes() {} @@ -40191,12 +40501,16 @@ type OAuthAuthorizationsDeleteAuthorizationNoContent struct{} func (*OAuthAuthorizationsDeleteAuthorizationNoContent) oAuthAuthorizationsDeleteAuthorizationRes() {} -type OAuthAuthorizationsDeleteAuthorizationUnauthorized BasicError +type OAuthAuthorizationsDeleteAuthorizationUnauthorized struct { + BasicError +} func (*OAuthAuthorizationsDeleteAuthorizationUnauthorized) oAuthAuthorizationsDeleteAuthorizationRes() { } -type OAuthAuthorizationsDeleteGrantForbidden BasicError +type OAuthAuthorizationsDeleteGrantForbidden struct { + BasicError +} func (*OAuthAuthorizationsDeleteGrantForbidden) oAuthAuthorizationsDeleteGrantRes() {} @@ -40205,32 +40519,46 @@ type OAuthAuthorizationsDeleteGrantNoContent struct{} func (*OAuthAuthorizationsDeleteGrantNoContent) oAuthAuthorizationsDeleteGrantRes() {} -type OAuthAuthorizationsDeleteGrantUnauthorized BasicError +type OAuthAuthorizationsDeleteGrantUnauthorized struct { + BasicError +} func (*OAuthAuthorizationsDeleteGrantUnauthorized) oAuthAuthorizationsDeleteGrantRes() {} -type OAuthAuthorizationsGetAuthorizationForbidden BasicError +type OAuthAuthorizationsGetAuthorizationForbidden struct { + BasicError +} func (*OAuthAuthorizationsGetAuthorizationForbidden) oAuthAuthorizationsGetAuthorizationRes() {} -type OAuthAuthorizationsGetAuthorizationUnauthorized BasicError +type OAuthAuthorizationsGetAuthorizationUnauthorized struct { + BasicError +} func (*OAuthAuthorizationsGetAuthorizationUnauthorized) oAuthAuthorizationsGetAuthorizationRes() {} -type OAuthAuthorizationsGetGrantForbidden BasicError +type OAuthAuthorizationsGetGrantForbidden struct { + BasicError +} func (*OAuthAuthorizationsGetGrantForbidden) oAuthAuthorizationsGetGrantRes() {} -type OAuthAuthorizationsGetGrantUnauthorized BasicError +type OAuthAuthorizationsGetGrantUnauthorized struct { + BasicError +} func (*OAuthAuthorizationsGetGrantUnauthorized) oAuthAuthorizationsGetGrantRes() {} -type OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintCreated AuthorizationHeaders +type OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintCreated struct { + AuthorizationHeaders +} func (*OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintCreated) oAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRes() { } -type OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintOK AuthorizationHeaders +type OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintOK struct { + AuthorizationHeaders +} func (*OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintOK) oAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRes() { } @@ -40286,17 +40614,23 @@ func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintReq) Set s.NoteURL = val } -type OAuthAuthorizationsGetOrCreateAuthorizationForAppCreated AuthorizationHeaders +type OAuthAuthorizationsGetOrCreateAuthorizationForAppCreated struct { + AuthorizationHeaders +} func (*OAuthAuthorizationsGetOrCreateAuthorizationForAppCreated) oAuthAuthorizationsGetOrCreateAuthorizationForAppRes() { } -type OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden BasicError +type OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden struct { + BasicError +} func (*OAuthAuthorizationsGetOrCreateAuthorizationForAppForbidden) oAuthAuthorizationsGetOrCreateAuthorizationForAppRes() { } -type OAuthAuthorizationsGetOrCreateAuthorizationForAppOK AuthorizationHeaders +type OAuthAuthorizationsGetOrCreateAuthorizationForAppOK struct { + AuthorizationHeaders +} func (*OAuthAuthorizationsGetOrCreateAuthorizationForAppOK) oAuthAuthorizationsGetOrCreateAuthorizationForAppRes() { } @@ -40365,16 +40699,22 @@ func (s *OAuthAuthorizationsGetOrCreateAuthorizationForAppReq) SetFingerprint(va s.Fingerprint = val } -type OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized BasicError +type OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized struct { + BasicError +} func (*OAuthAuthorizationsGetOrCreateAuthorizationForAppUnauthorized) oAuthAuthorizationsGetOrCreateAuthorizationForAppRes() { } -type OAuthAuthorizationsListAuthorizationsForbidden BasicError +type OAuthAuthorizationsListAuthorizationsForbidden struct { + BasicError +} func (*OAuthAuthorizationsListAuthorizationsForbidden) oAuthAuthorizationsListAuthorizationsRes() {} -type OAuthAuthorizationsListAuthorizationsNotFound BasicError +type OAuthAuthorizationsListAuthorizationsNotFound struct { + BasicError +} func (*OAuthAuthorizationsListAuthorizationsNotFound) oAuthAuthorizationsListAuthorizationsRes() {} @@ -40406,16 +40746,22 @@ func (s *OAuthAuthorizationsListAuthorizationsOKHeaders) SetResponse(val []Autho func (*OAuthAuthorizationsListAuthorizationsOKHeaders) oAuthAuthorizationsListAuthorizationsRes() {} -type OAuthAuthorizationsListAuthorizationsUnauthorized BasicError +type OAuthAuthorizationsListAuthorizationsUnauthorized struct { + BasicError +} func (*OAuthAuthorizationsListAuthorizationsUnauthorized) oAuthAuthorizationsListAuthorizationsRes() { } -type OAuthAuthorizationsListGrantsForbidden BasicError +type OAuthAuthorizationsListGrantsForbidden struct { + BasicError +} func (*OAuthAuthorizationsListGrantsForbidden) oAuthAuthorizationsListGrantsRes() {} -type OAuthAuthorizationsListGrantsNotFound BasicError +type OAuthAuthorizationsListGrantsNotFound struct { + BasicError +} func (*OAuthAuthorizationsListGrantsNotFound) oAuthAuthorizationsListGrantsRes() {} @@ -40447,7 +40793,9 @@ func (s *OAuthAuthorizationsListGrantsOKHeaders) SetResponse(val []ApplicationGr func (*OAuthAuthorizationsListGrantsOKHeaders) oAuthAuthorizationsListGrantsRes() {} -type OAuthAuthorizationsListGrantsUnauthorized BasicError +type OAuthAuthorizationsListGrantsUnauthorized struct { + BasicError +} func (*OAuthAuthorizationsListGrantsUnauthorized) oAuthAuthorizationsListGrantsRes() {} @@ -62067,19 +62415,27 @@ type OrgsDeleteWebhookNoContent struct{} func (*OrgsDeleteWebhookNoContent) orgsDeleteWebhookRes() {} -type OrgsGetMembershipForAuthenticatedUserForbidden BasicError +type OrgsGetMembershipForAuthenticatedUserForbidden struct { + BasicError +} func (*OrgsGetMembershipForAuthenticatedUserForbidden) orgsGetMembershipForAuthenticatedUserRes() {} -type OrgsGetMembershipForAuthenticatedUserNotFound BasicError +type OrgsGetMembershipForAuthenticatedUserNotFound struct { + BasicError +} func (*OrgsGetMembershipForAuthenticatedUserNotFound) orgsGetMembershipForAuthenticatedUserRes() {} -type OrgsGetMembershipForUserForbidden BasicError +type OrgsGetMembershipForUserForbidden struct { + BasicError +} func (*OrgsGetMembershipForUserForbidden) orgsGetMembershipForUserRes() {} -type OrgsGetMembershipForUserNotFound BasicError +type OrgsGetMembershipForUserNotFound struct { + BasicError +} func (*OrgsGetMembershipForUserNotFound) orgsGetMembershipForUserRes() {} @@ -62115,7 +62471,9 @@ func (s *OrgsListFailedInvitationsOKHeaders) SetResponse(val []OrganizationInvit func (*OrgsListFailedInvitationsOKHeaders) orgsListFailedInvitationsRes() {} -type OrgsListForAuthenticatedUserForbidden BasicError +type OrgsListForAuthenticatedUserForbidden struct { + BasicError +} func (*OrgsListForAuthenticatedUserForbidden) orgsListForAuthenticatedUserRes() {} @@ -62147,7 +62505,9 @@ func (s *OrgsListForAuthenticatedUserOKHeaders) SetResponse(val []OrganizationSi func (*OrgsListForAuthenticatedUserOKHeaders) orgsListForAuthenticatedUserRes() {} -type OrgsListForAuthenticatedUserUnauthorized BasicError +type OrgsListForAuthenticatedUserUnauthorized struct { + BasicError +} func (*OrgsListForAuthenticatedUserUnauthorized) orgsListForAuthenticatedUserRes() {} @@ -62339,7 +62699,9 @@ func (s *OrgsListMembersRole) UnmarshalText(data []byte) error { } } -type OrgsListMembershipsForAuthenticatedUserForbidden BasicError +type OrgsListMembershipsForAuthenticatedUserForbidden struct { + BasicError +} func (*OrgsListMembershipsForAuthenticatedUserForbidden) orgsListMembershipsForAuthenticatedUserRes() { } @@ -62414,7 +62776,9 @@ func (s *OrgsListMembershipsForAuthenticatedUserState) UnmarshalText(data []byte } } -type OrgsListMembershipsForAuthenticatedUserUnauthorized BasicError +type OrgsListMembershipsForAuthenticatedUserUnauthorized struct { + BasicError +} func (*OrgsListMembershipsForAuthenticatedUserUnauthorized) orgsListMembershipsForAuthenticatedUserRes() { } @@ -62610,7 +62974,9 @@ type OrgsRemoveMemberNoContent struct{} func (*OrgsRemoveMemberNoContent) orgsRemoveMemberRes() {} -type OrgsRemoveMembershipForUserForbidden BasicError +type OrgsRemoveMembershipForUserForbidden struct { + BasicError +} func (*OrgsRemoveMembershipForUserForbidden) orgsRemoveMembershipForUserRes() {} @@ -62619,7 +62985,9 @@ type OrgsRemoveMembershipForUserNoContent struct{} func (*OrgsRemoveMembershipForUserNoContent) orgsRemoveMembershipForUserRes() {} -type OrgsRemoveMembershipForUserNotFound BasicError +type OrgsRemoveMembershipForUserNotFound struct { + BasicError +} func (*OrgsRemoveMembershipForUserNotFound) orgsRemoveMembershipForUserRes() {} @@ -62733,12 +63101,16 @@ func (*OrgsSetPublicMembershipForAuthenticatedUserNoContent) orgsSetPublicMember // OrgsUnblockUserNoContent is response for OrgsUnblockUser operation. type OrgsUnblockUserNoContent struct{} -type OrgsUpdateMembershipForAuthenticatedUserForbidden BasicError +type OrgsUpdateMembershipForAuthenticatedUserForbidden struct { + BasicError +} func (*OrgsUpdateMembershipForAuthenticatedUserForbidden) orgsUpdateMembershipForAuthenticatedUserRes() { } -type OrgsUpdateMembershipForAuthenticatedUserNotFound BasicError +type OrgsUpdateMembershipForAuthenticatedUserNotFound struct { + BasicError +} func (*OrgsUpdateMembershipForAuthenticatedUserNotFound) orgsUpdateMembershipForAuthenticatedUserRes() { } @@ -63599,7 +63971,9 @@ func (s *PackagesBillingUsage) SetIncludedGigabytesBandwidth(val int) { s.IncludedGigabytesBandwidth = val } -type PackagesDeletePackageForAuthenticatedUserForbidden BasicError +type PackagesDeletePackageForAuthenticatedUserForbidden struct { + BasicError +} func (*PackagesDeletePackageForAuthenticatedUserForbidden) packagesDeletePackageForAuthenticatedUserRes() { } @@ -63610,17 +63984,23 @@ type PackagesDeletePackageForAuthenticatedUserNoContent struct{} func (*PackagesDeletePackageForAuthenticatedUserNoContent) packagesDeletePackageForAuthenticatedUserRes() { } -type PackagesDeletePackageForAuthenticatedUserNotFound BasicError +type PackagesDeletePackageForAuthenticatedUserNotFound struct { + BasicError +} func (*PackagesDeletePackageForAuthenticatedUserNotFound) packagesDeletePackageForAuthenticatedUserRes() { } -type PackagesDeletePackageForAuthenticatedUserUnauthorized BasicError +type PackagesDeletePackageForAuthenticatedUserUnauthorized struct { + BasicError +} func (*PackagesDeletePackageForAuthenticatedUserUnauthorized) packagesDeletePackageForAuthenticatedUserRes() { } -type PackagesDeletePackageForOrgForbidden BasicError +type PackagesDeletePackageForOrgForbidden struct { + BasicError +} func (*PackagesDeletePackageForOrgForbidden) packagesDeletePackageForOrgRes() {} @@ -63629,15 +64009,21 @@ type PackagesDeletePackageForOrgNoContent struct{} func (*PackagesDeletePackageForOrgNoContent) packagesDeletePackageForOrgRes() {} -type PackagesDeletePackageForOrgNotFound BasicError +type PackagesDeletePackageForOrgNotFound struct { + BasicError +} func (*PackagesDeletePackageForOrgNotFound) packagesDeletePackageForOrgRes() {} -type PackagesDeletePackageForOrgUnauthorized BasicError +type PackagesDeletePackageForOrgUnauthorized struct { + BasicError +} func (*PackagesDeletePackageForOrgUnauthorized) packagesDeletePackageForOrgRes() {} -type PackagesDeletePackageForUserForbidden BasicError +type PackagesDeletePackageForUserForbidden struct { + BasicError +} func (*PackagesDeletePackageForUserForbidden) packagesDeletePackageForUserRes() {} @@ -63646,15 +64032,21 @@ type PackagesDeletePackageForUserNoContent struct{} func (*PackagesDeletePackageForUserNoContent) packagesDeletePackageForUserRes() {} -type PackagesDeletePackageForUserNotFound BasicError +type PackagesDeletePackageForUserNotFound struct { + BasicError +} func (*PackagesDeletePackageForUserNotFound) packagesDeletePackageForUserRes() {} -type PackagesDeletePackageForUserUnauthorized BasicError +type PackagesDeletePackageForUserUnauthorized struct { + BasicError +} func (*PackagesDeletePackageForUserUnauthorized) packagesDeletePackageForUserRes() {} -type PackagesDeletePackageVersionForAuthenticatedUserForbidden BasicError +type PackagesDeletePackageVersionForAuthenticatedUserForbidden struct { + BasicError +} func (*PackagesDeletePackageVersionForAuthenticatedUserForbidden) packagesDeletePackageVersionForAuthenticatedUserRes() { } @@ -63665,17 +64057,23 @@ type PackagesDeletePackageVersionForAuthenticatedUserNoContent struct{} func (*PackagesDeletePackageVersionForAuthenticatedUserNoContent) packagesDeletePackageVersionForAuthenticatedUserRes() { } -type PackagesDeletePackageVersionForAuthenticatedUserNotFound BasicError +type PackagesDeletePackageVersionForAuthenticatedUserNotFound struct { + BasicError +} func (*PackagesDeletePackageVersionForAuthenticatedUserNotFound) packagesDeletePackageVersionForAuthenticatedUserRes() { } -type PackagesDeletePackageVersionForAuthenticatedUserUnauthorized BasicError +type PackagesDeletePackageVersionForAuthenticatedUserUnauthorized struct { + BasicError +} func (*PackagesDeletePackageVersionForAuthenticatedUserUnauthorized) packagesDeletePackageVersionForAuthenticatedUserRes() { } -type PackagesDeletePackageVersionForOrgForbidden BasicError +type PackagesDeletePackageVersionForOrgForbidden struct { + BasicError +} func (*PackagesDeletePackageVersionForOrgForbidden) packagesDeletePackageVersionForOrgRes() {} @@ -63684,15 +64082,21 @@ type PackagesDeletePackageVersionForOrgNoContent struct{} func (*PackagesDeletePackageVersionForOrgNoContent) packagesDeletePackageVersionForOrgRes() {} -type PackagesDeletePackageVersionForOrgNotFound BasicError +type PackagesDeletePackageVersionForOrgNotFound struct { + BasicError +} func (*PackagesDeletePackageVersionForOrgNotFound) packagesDeletePackageVersionForOrgRes() {} -type PackagesDeletePackageVersionForOrgUnauthorized BasicError +type PackagesDeletePackageVersionForOrgUnauthorized struct { + BasicError +} func (*PackagesDeletePackageVersionForOrgUnauthorized) packagesDeletePackageVersionForOrgRes() {} -type PackagesDeletePackageVersionForUserForbidden BasicError +type PackagesDeletePackageVersionForUserForbidden struct { + BasicError +} func (*PackagesDeletePackageVersionForUserForbidden) packagesDeletePackageVersionForUserRes() {} @@ -63701,20 +64105,28 @@ type PackagesDeletePackageVersionForUserNoContent struct{} func (*PackagesDeletePackageVersionForUserNoContent) packagesDeletePackageVersionForUserRes() {} -type PackagesDeletePackageVersionForUserNotFound BasicError +type PackagesDeletePackageVersionForUserNotFound struct { + BasicError +} func (*PackagesDeletePackageVersionForUserNotFound) packagesDeletePackageVersionForUserRes() {} -type PackagesDeletePackageVersionForUserUnauthorized BasicError +type PackagesDeletePackageVersionForUserUnauthorized struct { + BasicError +} func (*PackagesDeletePackageVersionForUserUnauthorized) packagesDeletePackageVersionForUserRes() {} -type PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserForbidden) packagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserRes() { } -type PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserNotFound) packagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserRes() { } @@ -63765,17 +64177,23 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState) U } } -type PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserUnauthorized) packagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserRes() { } -type PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByOrgForbidden) packagesGetAllPackageVersionsForPackageOwnedByOrgRes() { } -type PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByOrgNotFound) packagesGetAllPackageVersionsForPackageOwnedByOrgRes() { } @@ -63826,17 +64244,23 @@ func (s *PackagesGetAllPackageVersionsForPackageOwnedByOrgState) UnmarshalText(d } } -type PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByOrgUnauthorized) packagesGetAllPackageVersionsForPackageOwnedByOrgRes() { } -type PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByUserForbidden) packagesGetAllPackageVersionsForPackageOwnedByUserRes() { } -type PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByUserNotFound) packagesGetAllPackageVersionsForPackageOwnedByUserRes() { } @@ -63846,7 +64270,9 @@ type PackagesGetAllPackageVersionsForPackageOwnedByUserOKApplicationJSON []Packa func (*PackagesGetAllPackageVersionsForPackageOwnedByUserOKApplicationJSON) packagesGetAllPackageVersionsForPackageOwnedByUserRes() { } -type PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized BasicError +type PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized struct { + BasicError +} func (*PackagesGetAllPackageVersionsForPackageOwnedByUserUnauthorized) packagesGetAllPackageVersionsForPackageOwnedByUserRes() { } @@ -63920,7 +64346,9 @@ func (s *PackagesListPackagesForAuthenticatedUserPackageType) UnmarshalText(data } } -type PackagesListPackagesForOrganizationForbidden BasicError +type PackagesListPackagesForOrganizationForbidden struct { + BasicError +} func (*PackagesListPackagesForOrganizationForbidden) packagesListPackagesForOrganizationRes() {} @@ -63998,11 +64426,15 @@ func (s *PackagesListPackagesForOrganizationPackageType) UnmarshalText(data []by } } -type PackagesListPackagesForOrganizationUnauthorized BasicError +type PackagesListPackagesForOrganizationUnauthorized struct { + BasicError +} func (*PackagesListPackagesForOrganizationUnauthorized) packagesListPackagesForOrganizationRes() {} -type PackagesListPackagesForUserForbidden BasicError +type PackagesListPackagesForUserForbidden struct { + BasicError +} func (*PackagesListPackagesForUserForbidden) packagesListPackagesForUserRes() {} @@ -64079,11 +64511,15 @@ func (s *PackagesListPackagesForUserPackageType) UnmarshalText(data []byte) erro } } -type PackagesListPackagesForUserUnauthorized BasicError +type PackagesListPackagesForUserUnauthorized struct { + BasicError +} func (*PackagesListPackagesForUserUnauthorized) packagesListPackagesForUserRes() {} -type PackagesRestorePackageForAuthenticatedUserForbidden BasicError +type PackagesRestorePackageForAuthenticatedUserForbidden struct { + BasicError +} func (*PackagesRestorePackageForAuthenticatedUserForbidden) packagesRestorePackageForAuthenticatedUserRes() { } @@ -64094,17 +64530,23 @@ type PackagesRestorePackageForAuthenticatedUserNoContent struct{} func (*PackagesRestorePackageForAuthenticatedUserNoContent) packagesRestorePackageForAuthenticatedUserRes() { } -type PackagesRestorePackageForAuthenticatedUserNotFound BasicError +type PackagesRestorePackageForAuthenticatedUserNotFound struct { + BasicError +} func (*PackagesRestorePackageForAuthenticatedUserNotFound) packagesRestorePackageForAuthenticatedUserRes() { } -type PackagesRestorePackageForAuthenticatedUserUnauthorized BasicError +type PackagesRestorePackageForAuthenticatedUserUnauthorized struct { + BasicError +} func (*PackagesRestorePackageForAuthenticatedUserUnauthorized) packagesRestorePackageForAuthenticatedUserRes() { } -type PackagesRestorePackageForOrgForbidden BasicError +type PackagesRestorePackageForOrgForbidden struct { + BasicError +} func (*PackagesRestorePackageForOrgForbidden) packagesRestorePackageForOrgRes() {} @@ -64113,15 +64555,21 @@ type PackagesRestorePackageForOrgNoContent struct{} func (*PackagesRestorePackageForOrgNoContent) packagesRestorePackageForOrgRes() {} -type PackagesRestorePackageForOrgNotFound BasicError +type PackagesRestorePackageForOrgNotFound struct { + BasicError +} func (*PackagesRestorePackageForOrgNotFound) packagesRestorePackageForOrgRes() {} -type PackagesRestorePackageForOrgUnauthorized BasicError +type PackagesRestorePackageForOrgUnauthorized struct { + BasicError +} func (*PackagesRestorePackageForOrgUnauthorized) packagesRestorePackageForOrgRes() {} -type PackagesRestorePackageForUserForbidden BasicError +type PackagesRestorePackageForUserForbidden struct { + BasicError +} func (*PackagesRestorePackageForUserForbidden) packagesRestorePackageForUserRes() {} @@ -64130,15 +64578,21 @@ type PackagesRestorePackageForUserNoContent struct{} func (*PackagesRestorePackageForUserNoContent) packagesRestorePackageForUserRes() {} -type PackagesRestorePackageForUserNotFound BasicError +type PackagesRestorePackageForUserNotFound struct { + BasicError +} func (*PackagesRestorePackageForUserNotFound) packagesRestorePackageForUserRes() {} -type PackagesRestorePackageForUserUnauthorized BasicError +type PackagesRestorePackageForUserUnauthorized struct { + BasicError +} func (*PackagesRestorePackageForUserUnauthorized) packagesRestorePackageForUserRes() {} -type PackagesRestorePackageVersionForAuthenticatedUserForbidden BasicError +type PackagesRestorePackageVersionForAuthenticatedUserForbidden struct { + BasicError +} func (*PackagesRestorePackageVersionForAuthenticatedUserForbidden) packagesRestorePackageVersionForAuthenticatedUserRes() { } @@ -64149,17 +64603,23 @@ type PackagesRestorePackageVersionForAuthenticatedUserNoContent struct{} func (*PackagesRestorePackageVersionForAuthenticatedUserNoContent) packagesRestorePackageVersionForAuthenticatedUserRes() { } -type PackagesRestorePackageVersionForAuthenticatedUserNotFound BasicError +type PackagesRestorePackageVersionForAuthenticatedUserNotFound struct { + BasicError +} func (*PackagesRestorePackageVersionForAuthenticatedUserNotFound) packagesRestorePackageVersionForAuthenticatedUserRes() { } -type PackagesRestorePackageVersionForAuthenticatedUserUnauthorized BasicError +type PackagesRestorePackageVersionForAuthenticatedUserUnauthorized struct { + BasicError +} func (*PackagesRestorePackageVersionForAuthenticatedUserUnauthorized) packagesRestorePackageVersionForAuthenticatedUserRes() { } -type PackagesRestorePackageVersionForOrgForbidden BasicError +type PackagesRestorePackageVersionForOrgForbidden struct { + BasicError +} func (*PackagesRestorePackageVersionForOrgForbidden) packagesRestorePackageVersionForOrgRes() {} @@ -64168,15 +64628,21 @@ type PackagesRestorePackageVersionForOrgNoContent struct{} func (*PackagesRestorePackageVersionForOrgNoContent) packagesRestorePackageVersionForOrgRes() {} -type PackagesRestorePackageVersionForOrgNotFound BasicError +type PackagesRestorePackageVersionForOrgNotFound struct { + BasicError +} func (*PackagesRestorePackageVersionForOrgNotFound) packagesRestorePackageVersionForOrgRes() {} -type PackagesRestorePackageVersionForOrgUnauthorized BasicError +type PackagesRestorePackageVersionForOrgUnauthorized struct { + BasicError +} func (*PackagesRestorePackageVersionForOrgUnauthorized) packagesRestorePackageVersionForOrgRes() {} -type PackagesRestorePackageVersionForUserForbidden BasicError +type PackagesRestorePackageVersionForUserForbidden struct { + BasicError +} func (*PackagesRestorePackageVersionForUserForbidden) packagesRestorePackageVersionForUserRes() {} @@ -64185,11 +64651,15 @@ type PackagesRestorePackageVersionForUserNoContent struct{} func (*PackagesRestorePackageVersionForUserNoContent) packagesRestorePackageVersionForUserRes() {} -type PackagesRestorePackageVersionForUserNotFound BasicError +type PackagesRestorePackageVersionForUserNotFound struct { + BasicError +} func (*PackagesRestorePackageVersionForUserNotFound) packagesRestorePackageVersionForUserRes() {} -type PackagesRestorePackageVersionForUserUnauthorized BasicError +type PackagesRestorePackageVersionForUserUnauthorized struct { + BasicError +} func (*PackagesRestorePackageVersionForUserUnauthorized) packagesRestorePackageVersionForUserRes() {} @@ -66670,7 +67140,9 @@ func (s *ProjectOrganizationPermission) UnmarshalText(data []byte) error { } } -type ProjectsAddCollaboratorForbidden BasicError +type ProjectsAddCollaboratorForbidden struct { + BasicError +} func (*ProjectsAddCollaboratorForbidden) projectsAddCollaboratorRes() {} @@ -66679,7 +67151,9 @@ type ProjectsAddCollaboratorNoContent struct{} func (*ProjectsAddCollaboratorNoContent) projectsAddCollaboratorRes() {} -type ProjectsAddCollaboratorNotFound BasicError +type ProjectsAddCollaboratorNotFound struct { + BasicError +} func (*ProjectsAddCollaboratorNotFound) projectsAddCollaboratorRes() {} @@ -66747,11 +67221,15 @@ func (s *ProjectsAddCollaboratorReqPermission) UnmarshalText(data []byte) error } } -type ProjectsAddCollaboratorUnauthorized BasicError +type ProjectsAddCollaboratorUnauthorized struct { + BasicError +} func (*ProjectsAddCollaboratorUnauthorized) projectsAddCollaboratorRes() {} -type ProjectsCreateColumnForbidden BasicError +type ProjectsCreateColumnForbidden struct { + BasicError +} func (*ProjectsCreateColumnForbidden) projectsCreateColumnRes() {} @@ -66770,11 +67248,15 @@ func (s *ProjectsCreateColumnReq) SetName(val string) { s.Name = val } -type ProjectsCreateColumnUnauthorized BasicError +type ProjectsCreateColumnUnauthorized struct { + BasicError +} func (*ProjectsCreateColumnUnauthorized) projectsCreateColumnRes() {} -type ProjectsCreateForAuthenticatedUserForbidden BasicError +type ProjectsCreateForAuthenticatedUserForbidden struct { + BasicError +} func (*ProjectsCreateForAuthenticatedUserForbidden) projectsCreateForAuthenticatedUserRes() {} @@ -66805,19 +67287,27 @@ func (s *ProjectsCreateForAuthenticatedUserReq) SetBody(val OptNilString) { s.Body = val } -type ProjectsCreateForAuthenticatedUserUnauthorized BasicError +type ProjectsCreateForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ProjectsCreateForAuthenticatedUserUnauthorized) projectsCreateForAuthenticatedUserRes() {} -type ProjectsCreateForOrgForbidden BasicError +type ProjectsCreateForOrgForbidden struct { + BasicError +} func (*ProjectsCreateForOrgForbidden) projectsCreateForOrgRes() {} -type ProjectsCreateForOrgGone BasicError +type ProjectsCreateForOrgGone struct { + BasicError +} func (*ProjectsCreateForOrgGone) projectsCreateForOrgRes() {} -type ProjectsCreateForOrgNotFound BasicError +type ProjectsCreateForOrgNotFound struct { + BasicError +} func (*ProjectsCreateForOrgNotFound) projectsCreateForOrgRes() {} @@ -66848,19 +67338,27 @@ func (s *ProjectsCreateForOrgReq) SetBody(val OptString) { s.Body = val } -type ProjectsCreateForOrgUnauthorized BasicError +type ProjectsCreateForOrgUnauthorized struct { + BasicError +} func (*ProjectsCreateForOrgUnauthorized) projectsCreateForOrgRes() {} -type ProjectsCreateForRepoForbidden BasicError +type ProjectsCreateForRepoForbidden struct { + BasicError +} func (*ProjectsCreateForRepoForbidden) projectsCreateForRepoRes() {} -type ProjectsCreateForRepoGone BasicError +type ProjectsCreateForRepoGone struct { + BasicError +} func (*ProjectsCreateForRepoGone) projectsCreateForRepoRes() {} -type ProjectsCreateForRepoNotFound BasicError +type ProjectsCreateForRepoNotFound struct { + BasicError +} func (*ProjectsCreateForRepoNotFound) projectsCreateForRepoRes() {} @@ -66891,7 +67389,9 @@ func (s *ProjectsCreateForRepoReq) SetBody(val OptString) { s.Body = val } -type ProjectsCreateForRepoUnauthorized BasicError +type ProjectsCreateForRepoUnauthorized struct { + BasicError +} func (*ProjectsCreateForRepoUnauthorized) projectsCreateForRepoRes() {} @@ -66938,15 +67438,21 @@ type ProjectsDeleteCardNoContent struct{} func (*ProjectsDeleteCardNoContent) projectsDeleteCardRes() {} -type ProjectsDeleteCardNotFound BasicError +type ProjectsDeleteCardNotFound struct { + BasicError +} func (*ProjectsDeleteCardNotFound) projectsDeleteCardRes() {} -type ProjectsDeleteCardUnauthorized BasicError +type ProjectsDeleteCardUnauthorized struct { + BasicError +} func (*ProjectsDeleteCardUnauthorized) projectsDeleteCardRes() {} -type ProjectsDeleteColumnForbidden BasicError +type ProjectsDeleteColumnForbidden struct { + BasicError +} func (*ProjectsDeleteColumnForbidden) projectsDeleteColumnRes() {} @@ -66955,7 +67461,9 @@ type ProjectsDeleteColumnNoContent struct{} func (*ProjectsDeleteColumnNoContent) projectsDeleteColumnRes() {} -type ProjectsDeleteColumnUnauthorized BasicError +type ProjectsDeleteColumnUnauthorized struct { + BasicError +} func (*ProjectsDeleteColumnUnauthorized) projectsDeleteColumnRes() {} @@ -66997,7 +67505,9 @@ func (s *ProjectsDeleteForbidden) SetErrors(val []string) { func (*ProjectsDeleteForbidden) projectsDeleteRes() {} -type ProjectsDeleteGone BasicError +type ProjectsDeleteGone struct { + BasicError +} func (*ProjectsDeleteGone) projectsDeleteRes() {} @@ -67006,55 +67516,81 @@ type ProjectsDeleteNoContent struct{} func (*ProjectsDeleteNoContent) projectsDeleteRes() {} -type ProjectsDeleteNotFound BasicError +type ProjectsDeleteNotFound struct { + BasicError +} func (*ProjectsDeleteNotFound) projectsDeleteRes() {} -type ProjectsDeleteUnauthorized BasicError +type ProjectsDeleteUnauthorized struct { + BasicError +} func (*ProjectsDeleteUnauthorized) projectsDeleteRes() {} -type ProjectsGetCardForbidden BasicError +type ProjectsGetCardForbidden struct { + BasicError +} func (*ProjectsGetCardForbidden) projectsGetCardRes() {} -type ProjectsGetCardNotFound BasicError +type ProjectsGetCardNotFound struct { + BasicError +} func (*ProjectsGetCardNotFound) projectsGetCardRes() {} -type ProjectsGetCardUnauthorized BasicError +type ProjectsGetCardUnauthorized struct { + BasicError +} func (*ProjectsGetCardUnauthorized) projectsGetCardRes() {} -type ProjectsGetColumnForbidden BasicError +type ProjectsGetColumnForbidden struct { + BasicError +} func (*ProjectsGetColumnForbidden) projectsGetColumnRes() {} -type ProjectsGetColumnNotFound BasicError +type ProjectsGetColumnNotFound struct { + BasicError +} func (*ProjectsGetColumnNotFound) projectsGetColumnRes() {} -type ProjectsGetColumnUnauthorized BasicError +type ProjectsGetColumnUnauthorized struct { + BasicError +} func (*ProjectsGetColumnUnauthorized) projectsGetColumnRes() {} -type ProjectsGetForbidden BasicError +type ProjectsGetForbidden struct { + BasicError +} func (*ProjectsGetForbidden) projectsGetRes() {} -type ProjectsGetPermissionForUserForbidden BasicError +type ProjectsGetPermissionForUserForbidden struct { + BasicError +} func (*ProjectsGetPermissionForUserForbidden) projectsGetPermissionForUserRes() {} -type ProjectsGetPermissionForUserNotFound BasicError +type ProjectsGetPermissionForUserNotFound struct { + BasicError +} func (*ProjectsGetPermissionForUserNotFound) projectsGetPermissionForUserRes() {} -type ProjectsGetPermissionForUserUnauthorized BasicError +type ProjectsGetPermissionForUserUnauthorized struct { + BasicError +} func (*ProjectsGetPermissionForUserUnauthorized) projectsGetPermissionForUserRes() {} -type ProjectsGetUnauthorized BasicError +type ProjectsGetUnauthorized struct { + BasicError +} func (*ProjectsGetUnauthorized) projectsGetRes() {} @@ -67106,7 +67642,9 @@ func (s *ProjectsListCardsArchivedState) UnmarshalText(data []byte) error { } } -type ProjectsListCardsForbidden BasicError +type ProjectsListCardsForbidden struct { + BasicError +} func (*ProjectsListCardsForbidden) projectsListCardsRes() {} @@ -67138,7 +67676,9 @@ func (s *ProjectsListCardsOKHeaders) SetResponse(val []ProjectCard) { func (*ProjectsListCardsOKHeaders) projectsListCardsRes() {} -type ProjectsListCardsUnauthorized BasicError +type ProjectsListCardsUnauthorized struct { + BasicError +} func (*ProjectsListCardsUnauthorized) projectsListCardsRes() {} @@ -67190,11 +67730,15 @@ func (s *ProjectsListCollaboratorsAffiliation) UnmarshalText(data []byte) error } } -type ProjectsListCollaboratorsForbidden BasicError +type ProjectsListCollaboratorsForbidden struct { + BasicError +} func (*ProjectsListCollaboratorsForbidden) projectsListCollaboratorsRes() {} -type ProjectsListCollaboratorsNotFound BasicError +type ProjectsListCollaboratorsNotFound struct { + BasicError +} func (*ProjectsListCollaboratorsNotFound) projectsListCollaboratorsRes() {} @@ -67226,11 +67770,15 @@ func (s *ProjectsListCollaboratorsOKHeaders) SetResponse(val []SimpleUser) { func (*ProjectsListCollaboratorsOKHeaders) projectsListCollaboratorsRes() {} -type ProjectsListCollaboratorsUnauthorized BasicError +type ProjectsListCollaboratorsUnauthorized struct { + BasicError +} func (*ProjectsListCollaboratorsUnauthorized) projectsListCollaboratorsRes() {} -type ProjectsListColumnsForbidden BasicError +type ProjectsListColumnsForbidden struct { + BasicError +} func (*ProjectsListColumnsForbidden) projectsListColumnsRes() {} @@ -67262,7 +67810,9 @@ func (s *ProjectsListColumnsOKHeaders) SetResponse(val []ProjectColumn) { func (*ProjectsListColumnsOKHeaders) projectsListColumnsRes() {} -type ProjectsListColumnsUnauthorized BasicError +type ProjectsListColumnsUnauthorized struct { + BasicError +} func (*ProjectsListColumnsUnauthorized) projectsListColumnsRes() {} @@ -67342,15 +67892,21 @@ func (s *ProjectsListForOrgState) UnmarshalText(data []byte) error { } } -type ProjectsListForRepoForbidden BasicError +type ProjectsListForRepoForbidden struct { + BasicError +} func (*ProjectsListForRepoForbidden) projectsListForRepoRes() {} -type ProjectsListForRepoGone BasicError +type ProjectsListForRepoGone struct { + BasicError +} func (*ProjectsListForRepoGone) projectsListForRepoRes() {} -type ProjectsListForRepoNotFound BasicError +type ProjectsListForRepoNotFound struct { + BasicError +} func (*ProjectsListForRepoNotFound) projectsListForRepoRes() {} @@ -67430,7 +67986,9 @@ func (s *ProjectsListForRepoState) UnmarshalText(data []byte) error { } } -type ProjectsListForRepoUnauthorized BasicError +type ProjectsListForRepoUnauthorized struct { + BasicError +} func (*ProjectsListForRepoUnauthorized) projectsListForRepoRes() {} @@ -67705,7 +68263,9 @@ type ProjectsMoveColumnCreated struct{} func (*ProjectsMoveColumnCreated) projectsMoveColumnRes() {} -type ProjectsMoveColumnForbidden BasicError +type ProjectsMoveColumnForbidden struct { + BasicError +} func (*ProjectsMoveColumnForbidden) projectsMoveColumnRes() {} @@ -67725,11 +68285,15 @@ func (s *ProjectsMoveColumnReq) SetPosition(val string) { s.Position = val } -type ProjectsMoveColumnUnauthorized BasicError +type ProjectsMoveColumnUnauthorized struct { + BasicError +} func (*ProjectsMoveColumnUnauthorized) projectsMoveColumnRes() {} -type ProjectsRemoveCollaboratorForbidden BasicError +type ProjectsRemoveCollaboratorForbidden struct { + BasicError +} func (*ProjectsRemoveCollaboratorForbidden) projectsRemoveCollaboratorRes() {} @@ -67738,19 +68302,27 @@ type ProjectsRemoveCollaboratorNoContent struct{} func (*ProjectsRemoveCollaboratorNoContent) projectsRemoveCollaboratorRes() {} -type ProjectsRemoveCollaboratorNotFound BasicError +type ProjectsRemoveCollaboratorNotFound struct { + BasicError +} func (*ProjectsRemoveCollaboratorNotFound) projectsRemoveCollaboratorRes() {} -type ProjectsRemoveCollaboratorUnauthorized BasicError +type ProjectsRemoveCollaboratorUnauthorized struct { + BasicError +} func (*ProjectsRemoveCollaboratorUnauthorized) projectsRemoveCollaboratorRes() {} -type ProjectsUpdateCardForbidden BasicError +type ProjectsUpdateCardForbidden struct { + BasicError +} func (*ProjectsUpdateCardForbidden) projectsUpdateCardRes() {} -type ProjectsUpdateCardNotFound BasicError +type ProjectsUpdateCardNotFound struct { + BasicError +} func (*ProjectsUpdateCardNotFound) projectsUpdateCardRes() {} @@ -67781,11 +68353,15 @@ func (s *ProjectsUpdateCardReq) SetArchived(val OptBool) { s.Archived = val } -type ProjectsUpdateCardUnauthorized BasicError +type ProjectsUpdateCardUnauthorized struct { + BasicError +} func (*ProjectsUpdateCardUnauthorized) projectsUpdateCardRes() {} -type ProjectsUpdateColumnForbidden BasicError +type ProjectsUpdateColumnForbidden struct { + BasicError +} func (*ProjectsUpdateColumnForbidden) projectsUpdateColumnRes() {} @@ -67804,7 +68380,9 @@ func (s *ProjectsUpdateColumnReq) SetName(val string) { s.Name = val } -type ProjectsUpdateColumnUnauthorized BasicError +type ProjectsUpdateColumnUnauthorized struct { + BasicError +} func (*ProjectsUpdateColumnUnauthorized) projectsUpdateColumnRes() {} @@ -67846,7 +68424,9 @@ func (s *ProjectsUpdateForbidden) SetErrors(val []string) { func (*ProjectsUpdateForbidden) projectsUpdateRes() {} -type ProjectsUpdateGone BasicError +type ProjectsUpdateGone struct { + BasicError +} func (*ProjectsUpdateGone) projectsUpdateRes() {} @@ -67974,7 +68554,9 @@ func (s *ProjectsUpdateReqOrganizationPermission) UnmarshalText(data []byte) err } } -type ProjectsUpdateUnauthorized BasicError +type ProjectsUpdateUnauthorized struct { + BasicError +} func (*ProjectsUpdateUnauthorized) projectsUpdateRes() {} @@ -74921,11 +75503,15 @@ func (s *PullsDismissReviewReq) SetEvent(val OptString) { s.Event = val } -type PullsGetInternalServerError BasicError +type PullsGetInternalServerError struct { + BasicError +} func (*PullsGetInternalServerError) pullsGetRes() {} -type PullsGetNotFound BasicError +type PullsGetNotFound struct { + BasicError +} func (*PullsGetNotFound) pullsGetRes() {} @@ -75418,7 +76004,9 @@ func (s *PullsMergeConflict) SetDocumentationURL(val OptString) { func (*PullsMergeConflict) pullsMergeRes() {} -type PullsMergeForbidden BasicError +type PullsMergeForbidden struct { + BasicError +} func (*PullsMergeForbidden) pullsMergeRes() {} @@ -75449,7 +76037,9 @@ func (s *PullsMergeMethodNotAllowed) SetDocumentationURL(val OptString) { func (*PullsMergeMethodNotAllowed) pullsMergeRes() {} -type PullsMergeNotFound BasicError +type PullsMergeNotFound struct { + BasicError +} func (*PullsMergeNotFound) pullsMergeRes() {} @@ -75580,11 +76170,15 @@ func (s *PullsRemoveRequestedReviewersReq) SetTeamReviewers(val []string) { s.TeamReviewers = val } -type PullsSubmitReviewForbidden BasicError +type PullsSubmitReviewForbidden struct { + BasicError +} func (*PullsSubmitReviewForbidden) pullsSubmitReviewRes() {} -type PullsSubmitReviewNotFound BasicError +type PullsSubmitReviewNotFound struct { + BasicError +} func (*PullsSubmitReviewNotFound) pullsSubmitReviewRes() {} @@ -76319,11 +76913,15 @@ func (s *ReactionRollup) SetRocket(val int) { s.Rocket = val } -type ReactionsCreateForCommitCommentCreated Reaction +type ReactionsCreateForCommitCommentCreated struct { + Reaction +} func (*ReactionsCreateForCommitCommentCreated) reactionsCreateForCommitCommentRes() {} -type ReactionsCreateForCommitCommentOK Reaction +type ReactionsCreateForCommitCommentOK struct { + Reaction +} func (*ReactionsCreateForCommitCommentOK) reactionsCreateForCommitCommentRes() {} @@ -76428,11 +77026,15 @@ func (s *ReactionsCreateForCommitCommentReqContent) UnmarshalText(data []byte) e } } -type ReactionsCreateForIssueCommentCreated Reaction +type ReactionsCreateForIssueCommentCreated struct { + Reaction +} func (*ReactionsCreateForIssueCommentCreated) reactionsCreateForIssueCommentRes() {} -type ReactionsCreateForIssueCommentOK Reaction +type ReactionsCreateForIssueCommentOK struct { + Reaction +} func (*ReactionsCreateForIssueCommentOK) reactionsCreateForIssueCommentRes() {} @@ -76537,11 +77139,15 @@ func (s *ReactionsCreateForIssueCommentReqContent) UnmarshalText(data []byte) er } } -type ReactionsCreateForIssueCreated Reaction +type ReactionsCreateForIssueCreated struct { + Reaction +} func (*ReactionsCreateForIssueCreated) reactionsCreateForIssueRes() {} -type ReactionsCreateForIssueOK Reaction +type ReactionsCreateForIssueOK struct { + Reaction +} func (*ReactionsCreateForIssueOK) reactionsCreateForIssueRes() {} @@ -76646,12 +77252,16 @@ func (s *ReactionsCreateForIssueReqContent) UnmarshalText(data []byte) error { } } -type ReactionsCreateForPullRequestReviewCommentCreated Reaction +type ReactionsCreateForPullRequestReviewCommentCreated struct { + Reaction +} func (*ReactionsCreateForPullRequestReviewCommentCreated) reactionsCreateForPullRequestReviewCommentRes() { } -type ReactionsCreateForPullRequestReviewCommentOK Reaction +type ReactionsCreateForPullRequestReviewCommentOK struct { + Reaction +} func (*ReactionsCreateForPullRequestReviewCommentOK) reactionsCreateForPullRequestReviewCommentRes() { } @@ -76757,11 +77367,15 @@ func (s *ReactionsCreateForPullRequestReviewCommentReqContent) UnmarshalText(dat } } -type ReactionsCreateForReleaseCreated Reaction +type ReactionsCreateForReleaseCreated struct { + Reaction +} func (*ReactionsCreateForReleaseCreated) reactionsCreateForReleaseRes() {} -type ReactionsCreateForReleaseOK Reaction +type ReactionsCreateForReleaseOK struct { + Reaction +} func (*ReactionsCreateForReleaseOK) reactionsCreateForReleaseRes() {} @@ -76852,12 +77466,16 @@ func (s *ReactionsCreateForReleaseReqContent) UnmarshalText(data []byte) error { } } -type ReactionsCreateForTeamDiscussionCommentInOrgCreated Reaction +type ReactionsCreateForTeamDiscussionCommentInOrgCreated struct { + Reaction +} func (*ReactionsCreateForTeamDiscussionCommentInOrgCreated) reactionsCreateForTeamDiscussionCommentInOrgRes() { } -type ReactionsCreateForTeamDiscussionCommentInOrgOK Reaction +type ReactionsCreateForTeamDiscussionCommentInOrgOK struct { + Reaction +} func (*ReactionsCreateForTeamDiscussionCommentInOrgOK) reactionsCreateForTeamDiscussionCommentInOrgRes() { } @@ -77064,11 +77682,15 @@ func (s *ReactionsCreateForTeamDiscussionCommentLegacyReqContent) UnmarshalText( } } -type ReactionsCreateForTeamDiscussionInOrgCreated Reaction +type ReactionsCreateForTeamDiscussionInOrgCreated struct { + Reaction +} func (*ReactionsCreateForTeamDiscussionInOrgCreated) reactionsCreateForTeamDiscussionInOrgRes() {} -type ReactionsCreateForTeamDiscussionInOrgOK Reaction +type ReactionsCreateForTeamDiscussionInOrgOK struct { + Reaction +} func (*ReactionsCreateForTeamDiscussionInOrgOK) reactionsCreateForTeamDiscussionInOrgRes() {} @@ -77292,11 +77914,15 @@ type ReactionsDeleteForTeamDiscussionCommentNoContent struct{} // ReactionsDeleteForTeamDiscussionNoContent is response for ReactionsDeleteForTeamDiscussion operation. type ReactionsDeleteForTeamDiscussionNoContent struct{} -type ReactionsDeleteLegacyForbidden BasicError +type ReactionsDeleteLegacyForbidden struct { + BasicError +} func (*ReactionsDeleteLegacyForbidden) reactionsDeleteLegacyRes() {} -type ReactionsDeleteLegacyGone BasicError +type ReactionsDeleteLegacyGone struct { + BasicError +} func (*ReactionsDeleteLegacyGone) reactionsDeleteLegacyRes() {} @@ -77305,7 +77931,9 @@ type ReactionsDeleteLegacyNoContent struct{} func (*ReactionsDeleteLegacyNoContent) reactionsDeleteLegacyRes() {} -type ReactionsDeleteLegacyUnauthorized BasicError +type ReactionsDeleteLegacyUnauthorized struct { + BasicError +} func (*ReactionsDeleteLegacyUnauthorized) reactionsDeleteLegacyRes() {} @@ -77614,11 +78242,15 @@ func (s *ReactionsListForIssueContent) UnmarshalText(data []byte) error { } } -type ReactionsListForIssueGone BasicError +type ReactionsListForIssueGone struct { + BasicError +} func (*ReactionsListForIssueGone) reactionsListForIssueRes() {} -type ReactionsListForIssueNotFound BasicError +type ReactionsListForIssueNotFound struct { + BasicError +} func (*ReactionsListForIssueNotFound) reactionsListForIssueRes() {} @@ -79724,11 +80356,15 @@ func (s *RepoSearchResultItemPermissions) SetPull(val bool) { s.Pull = val } -type ReposAcceptInvitationConflict BasicError +type ReposAcceptInvitationConflict struct { + BasicError +} func (*ReposAcceptInvitationConflict) reposAcceptInvitationRes() {} -type ReposAcceptInvitationForbidden BasicError +type ReposAcceptInvitationForbidden struct { + BasicError +} func (*ReposAcceptInvitationForbidden) reposAcceptInvitationRes() {} @@ -79737,7 +80373,9 @@ type ReposAcceptInvitationNoContent struct{} func (*ReposAcceptInvitationNoContent) reposAcceptInvitationRes() {} -type ReposAcceptInvitationNotFound BasicError +type ReposAcceptInvitationNotFound struct { + BasicError +} func (*ReposAcceptInvitationNotFound) reposAcceptInvitationRes() {} @@ -79942,11 +80580,15 @@ func (s *ReposAddCollaboratorReqPermission) UnmarshalText(data []byte) error { } } -type ReposAddStatusCheckContextsForbidden BasicError +type ReposAddStatusCheckContextsForbidden struct { + BasicError +} func (*ReposAddStatusCheckContextsForbidden) reposAddStatusCheckContextsRes() {} -type ReposAddStatusCheckContextsNotFound BasicError +type ReposAddStatusCheckContextsNotFound struct { + BasicError +} func (*ReposAddStatusCheckContextsNotFound) reposAddStatusCheckContextsRes() {} @@ -80231,11 +80873,15 @@ type ReposCheckVulnerabilityAlertsNotFound struct{} func (*ReposCheckVulnerabilityAlertsNotFound) reposCheckVulnerabilityAlertsRes() {} -type ReposCompareCommitsInternalServerError BasicError +type ReposCompareCommitsInternalServerError struct { + BasicError +} func (*ReposCompareCommitsInternalServerError) reposCompareCommitsRes() {} -type ReposCompareCommitsNotFound BasicError +type ReposCompareCommitsNotFound struct { + BasicError +} func (*ReposCompareCommitsNotFound) reposCompareCommitsRes() {} @@ -80993,15 +81639,21 @@ func (s *ReposCreateDispatchEventReqClientPayload) init() ReposCreateDispatchEve return m } -type ReposCreateForAuthenticatedUserBadRequest BasicError +type ReposCreateForAuthenticatedUserBadRequest struct { + BasicError +} func (*ReposCreateForAuthenticatedUserBadRequest) reposCreateForAuthenticatedUserRes() {} -type ReposCreateForAuthenticatedUserForbidden BasicError +type ReposCreateForAuthenticatedUserForbidden struct { + BasicError +} func (*ReposCreateForAuthenticatedUserForbidden) reposCreateForAuthenticatedUserRes() {} -type ReposCreateForAuthenticatedUserNotFound BasicError +type ReposCreateForAuthenticatedUserNotFound struct { + BasicError +} func (*ReposCreateForAuthenticatedUserNotFound) reposCreateForAuthenticatedUserRes() {} @@ -81225,19 +81877,27 @@ func (s *ReposCreateForAuthenticatedUserReq) SetIsTemplate(val OptBool) { s.IsTemplate = val } -type ReposCreateForAuthenticatedUserUnauthorized BasicError +type ReposCreateForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ReposCreateForAuthenticatedUserUnauthorized) reposCreateForAuthenticatedUserRes() {} -type ReposCreateForkBadRequest BasicError +type ReposCreateForkBadRequest struct { + BasicError +} func (*ReposCreateForkBadRequest) reposCreateForkRes() {} -type ReposCreateForkForbidden BasicError +type ReposCreateForkForbidden struct { + BasicError +} func (*ReposCreateForkForbidden) reposCreateForkRes() {} -type ReposCreateForkNotFound BasicError +type ReposCreateForkNotFound struct { + BasicError +} func (*ReposCreateForkNotFound) reposCreateForkRes() {} @@ -81554,19 +82214,27 @@ func (s *ReposCreateInOrgReqVisibility) UnmarshalText(data []byte) error { } } -type ReposCreateOrUpdateFileContentsConflict BasicError +type ReposCreateOrUpdateFileContentsConflict struct { + BasicError +} func (*ReposCreateOrUpdateFileContentsConflict) reposCreateOrUpdateFileContentsRes() {} -type ReposCreateOrUpdateFileContentsCreated FileCommit +type ReposCreateOrUpdateFileContentsCreated struct { + FileCommit +} func (*ReposCreateOrUpdateFileContentsCreated) reposCreateOrUpdateFileContentsRes() {} -type ReposCreateOrUpdateFileContentsNotFound BasicError +type ReposCreateOrUpdateFileContentsNotFound struct { + BasicError +} func (*ReposCreateOrUpdateFileContentsNotFound) reposCreateOrUpdateFileContentsRes() {} -type ReposCreateOrUpdateFileContentsOK FileCommit +type ReposCreateOrUpdateFileContentsOK struct { + FileCommit +} func (*ReposCreateOrUpdateFileContentsOK) reposCreateOrUpdateFileContentsRes() {} @@ -81972,11 +82640,15 @@ func (s *ReposCreateUsingTemplateReq) SetPrivate(val OptBool) { s.Private = val } -type ReposCreateWebhookForbidden BasicError +type ReposCreateWebhookForbidden struct { + BasicError +} func (*ReposCreateWebhookForbidden) reposCreateWebhookRes() {} -type ReposCreateWebhookNotFound BasicError +type ReposCreateWebhookNotFound struct { + BasicError +} func (*ReposCreateWebhookNotFound) reposCreateWebhookRes() {} @@ -82105,11 +82777,15 @@ func (s *ReposCreateWebhookReqConfig) SetDigest(val OptString) { s.Digest = val } -type ReposDeclineInvitationConflict BasicError +type ReposDeclineInvitationConflict struct { + BasicError +} func (*ReposDeclineInvitationConflict) reposDeclineInvitationRes() {} -type ReposDeclineInvitationForbidden BasicError +type ReposDeclineInvitationForbidden struct { + BasicError +} func (*ReposDeclineInvitationForbidden) reposDeclineInvitationRes() {} @@ -82118,7 +82794,9 @@ type ReposDeclineInvitationNoContent struct{} func (*ReposDeclineInvitationNoContent) reposDeclineInvitationRes() {} -type ReposDeclineInvitationNotFound BasicError +type ReposDeclineInvitationNotFound struct { + BasicError +} func (*ReposDeclineInvitationNotFound) reposDeclineInvitationRes() {} @@ -82161,11 +82839,15 @@ type ReposDeleteDeploymentNoContent struct{} func (*ReposDeleteDeploymentNoContent) reposDeleteDeploymentRes() {} -type ReposDeleteFileConflict BasicError +type ReposDeleteFileConflict struct { + BasicError +} func (*ReposDeleteFileConflict) reposDeleteFileRes() {} -type ReposDeleteFileNotFound BasicError +type ReposDeleteFileNotFound struct { + BasicError +} func (*ReposDeleteFileNotFound) reposDeleteFileRes() {} @@ -82323,7 +83005,9 @@ type ReposDeleteNoContent struct{} func (*ReposDeleteNoContent) reposDeleteRes() {} -type ReposDeleteNotFound BasicError +type ReposDeleteNotFound struct { + BasicError +} func (*ReposDeleteNotFound) reposDeleteRes() {} @@ -82343,7 +83027,9 @@ type ReposDeleteReleaseAssetNoContent struct{} // ReposDeleteReleaseNoContent is response for ReposDeleteRelease operation. type ReposDeleteReleaseNoContent struct{} -type ReposDeleteTemporaryRedirect BasicError +type ReposDeleteTemporaryRedirect struct { + BasicError +} func (*ReposDeleteTemporaryRedirect) reposDeleteRes() {} @@ -82411,11 +83097,15 @@ type ReposGetAppsWithAccessToProtectedBranchOKApplicationJSON []Integration func (*ReposGetAppsWithAccessToProtectedBranchOKApplicationJSON) reposGetAppsWithAccessToProtectedBranchRes() { } -type ReposGetBranchMovedPermanently BasicError +type ReposGetBranchMovedPermanently struct { + BasicError +} func (*ReposGetBranchMovedPermanently) reposGetBranchRes() {} -type ReposGetBranchNotFound BasicError +type ReposGetBranchNotFound struct { + BasicError +} func (*ReposGetBranchNotFound) reposGetBranchRes() {} @@ -82427,11 +83117,15 @@ type ReposGetCommitActivityStatsOKApplicationJSON []CommitActivity func (*ReposGetCommitActivityStatsOKApplicationJSON) reposGetCommitActivityStatsRes() {} -type ReposGetCommitInternalServerError BasicError +type ReposGetCommitInternalServerError struct { + BasicError +} func (*ReposGetCommitInternalServerError) reposGetCommitRes() {} -type ReposGetCommitNotFound BasicError +type ReposGetCommitNotFound struct { + BasicError +} func (*ReposGetCommitNotFound) reposGetCommitRes() {} @@ -82439,15 +83133,21 @@ type ReposGetContributorsStatsOKApplicationJSON []ContributorActivity func (*ReposGetContributorsStatsOKApplicationJSON) reposGetContributorsStatsRes() {} -type ReposGetForbidden BasicError +type ReposGetForbidden struct { + BasicError +} func (*ReposGetForbidden) reposGetRes() {} -type ReposGetMovedPermanently BasicError +type ReposGetMovedPermanently struct { + BasicError +} func (*ReposGetMovedPermanently) reposGetRes() {} -type ReposGetNotFound BasicError +type ReposGetNotFound struct { + BasicError +} func (*ReposGetNotFound) reposGetRes() {} @@ -82671,19 +83371,27 @@ func (s *ReposListCommitStatusesForRefOKHeaders) SetResponse(val []Status) { func (*ReposListCommitStatusesForRefOKHeaders) reposListCommitStatusesForRefRes() {} -type ReposListCommitsBadRequest BasicError +type ReposListCommitsBadRequest struct { + BasicError +} func (*ReposListCommitsBadRequest) reposListCommitsRes() {} -type ReposListCommitsConflict BasicError +type ReposListCommitsConflict struct { + BasicError +} func (*ReposListCommitsConflict) reposListCommitsRes() {} -type ReposListCommitsInternalServerError BasicError +type ReposListCommitsInternalServerError struct { + BasicError +} func (*ReposListCommitsInternalServerError) reposListCommitsRes() {} -type ReposListCommitsNotFound BasicError +type ReposListCommitsNotFound struct { + BasicError +} func (*ReposListCommitsNotFound) reposListCommitsRes() {} @@ -82715,7 +83423,9 @@ func (s *ReposListCommitsOKHeaders) SetResponse(val []Commit) { func (*ReposListCommitsOKHeaders) reposListCommitsRes() {} -type ReposListContributorsForbidden BasicError +type ReposListContributorsForbidden struct { + BasicError +} func (*ReposListContributorsForbidden) reposListContributorsRes() {} @@ -82724,7 +83434,9 @@ type ReposListContributorsNoContent struct{} func (*ReposListContributorsNoContent) reposListContributorsRes() {} -type ReposListContributorsNotFound BasicError +type ReposListContributorsNotFound struct { + BasicError +} func (*ReposListContributorsNotFound) reposListContributorsRes() {} @@ -82877,7 +83589,9 @@ func (s *ReposListForAuthenticatedUserDirection) UnmarshalText(data []byte) erro } } -type ReposListForAuthenticatedUserForbidden BasicError +type ReposListForAuthenticatedUserForbidden struct { + BasicError +} func (*ReposListForAuthenticatedUserForbidden) reposListForAuthenticatedUserRes() {} @@ -83002,7 +83716,9 @@ func (s *ReposListForAuthenticatedUserType) UnmarshalText(data []byte) error { } } -type ReposListForAuthenticatedUserUnauthorized BasicError +type ReposListForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ReposListForAuthenticatedUserUnauthorized) reposListForAuthenticatedUserRes() {} @@ -83505,12 +84221,16 @@ func (s *ReposListForksSort) UnmarshalText(data []byte) error { } } -type ReposListInvitationsForAuthenticatedUserForbidden BasicError +type ReposListInvitationsForAuthenticatedUserForbidden struct { + BasicError +} func (*ReposListInvitationsForAuthenticatedUserForbidden) reposListInvitationsForAuthenticatedUserRes() { } -type ReposListInvitationsForAuthenticatedUserNotFound BasicError +type ReposListInvitationsForAuthenticatedUserNotFound struct { + BasicError +} func (*ReposListInvitationsForAuthenticatedUserNotFound) reposListInvitationsForAuthenticatedUserRes() { } @@ -83544,7 +84264,9 @@ func (s *ReposListInvitationsForAuthenticatedUserOKHeaders) SetResponse(val []Re func (*ReposListInvitationsForAuthenticatedUserOKHeaders) reposListInvitationsForAuthenticatedUserRes() { } -type ReposListInvitationsForAuthenticatedUserUnauthorized BasicError +type ReposListInvitationsForAuthenticatedUserUnauthorized struct { + BasicError +} func (*ReposListInvitationsForAuthenticatedUserUnauthorized) reposListInvitationsForAuthenticatedUserRes() { } @@ -84231,11 +84953,15 @@ func (s *ReposRemoveUserAccessRestrictionsReq0) SetUsers(val []string) { s.Users = val } -type ReposRenameBranchForbidden BasicError +type ReposRenameBranchForbidden struct { + BasicError +} func (*ReposRenameBranchForbidden) reposRenameBranchRes() {} -type ReposRenameBranchNotFound BasicError +type ReposRenameBranchNotFound struct { + BasicError +} func (*ReposRenameBranchNotFound) reposRenameBranchRes() {} @@ -84652,11 +85378,15 @@ func (s *ReposTransferReq) SetTeamIds(val []int) { s.TeamIds = val } -type ReposUpdateBranchProtectionForbidden BasicError +type ReposUpdateBranchProtectionForbidden struct { + BasicError +} func (*ReposUpdateBranchProtectionForbidden) reposUpdateBranchProtectionRes() {} -type ReposUpdateBranchProtectionNotFound BasicError +type ReposUpdateBranchProtectionNotFound struct { + BasicError +} func (*ReposUpdateBranchProtectionNotFound) reposUpdateBranchProtectionRes() {} @@ -84946,7 +85676,9 @@ func (s *ReposUpdateCommitCommentReq) SetBody(val string) { s.Body = val } -type ReposUpdateForbidden BasicError +type ReposUpdateForbidden struct { + BasicError +} func (*ReposUpdateForbidden) reposUpdateRes() {} @@ -85030,7 +85762,9 @@ func (s *ReposUpdateInvitationReqPermissions) UnmarshalText(data []byte) error { } } -type ReposUpdateNotFound BasicError +type ReposUpdateNotFound struct { + BasicError +} func (*ReposUpdateNotFound) reposUpdateRes() {} @@ -85639,7 +86373,9 @@ func (s *ReposUpdateStatusCheckProtectionReq) SetContexts(val []string) { s.Contexts = val } -type ReposUpdateTemporaryRedirect BasicError +type ReposUpdateTemporaryRedirect struct { + BasicError +} func (*ReposUpdateTemporaryRedirect) reposUpdateRes() {} @@ -89265,7 +90001,9 @@ func (s *RunnerLabelsItemType) UnmarshalText(data []byte) error { } } -type ScimDeleteUserFromOrgForbidden ScimError +type ScimDeleteUserFromOrgForbidden struct { + ScimError +} func (*ScimDeleteUserFromOrgForbidden) scimDeleteUserFromOrgRes() {} @@ -89274,7 +90012,9 @@ type ScimDeleteUserFromOrgNoContent struct{} func (*ScimDeleteUserFromOrgNoContent) scimDeleteUserFromOrgRes() {} -type ScimDeleteUserFromOrgNotFound ScimError +type ScimDeleteUserFromOrgNotFound struct { + ScimError +} func (*ScimDeleteUserFromOrgNotFound) scimDeleteUserFromOrgRes() {} @@ -90514,11 +91254,15 @@ func (s *SearchIssuesAndPullRequestsSort) UnmarshalText(data []byte) error { } } -type SearchLabelsForbidden BasicError +type SearchLabelsForbidden struct { + BasicError +} func (*SearchLabelsForbidden) searchLabelsRes() {} -type SearchLabelsNotFound BasicError +type SearchLabelsNotFound struct { + BasicError +} func (*SearchLabelsNotFound) searchLabelsRes() {} @@ -95893,11 +96637,15 @@ func (s *TeamsListChildInOrgOKHeaders) SetResponse(val []Team) { s.Response = val } -type TeamsListChildLegacyForbidden BasicError +type TeamsListChildLegacyForbidden struct { + BasicError +} func (*TeamsListChildLegacyForbidden) teamsListChildLegacyRes() {} -type TeamsListChildLegacyNotFound BasicError +type TeamsListChildLegacyNotFound struct { + BasicError +} func (*TeamsListChildLegacyNotFound) teamsListChildLegacyRes() {} @@ -96033,11 +96781,15 @@ func (s *TeamsListDiscussionsLegacyOKHeaders) SetResponse(val []TeamDiscussion) s.Response = val } -type TeamsListForAuthenticatedUserForbidden BasicError +type TeamsListForAuthenticatedUserForbidden struct { + BasicError +} func (*TeamsListForAuthenticatedUserForbidden) teamsListForAuthenticatedUserRes() {} -type TeamsListForAuthenticatedUserNotFound BasicError +type TeamsListForAuthenticatedUserNotFound struct { + BasicError +} func (*TeamsListForAuthenticatedUserNotFound) teamsListForAuthenticatedUserRes() {} @@ -96069,11 +96821,15 @@ func (s *TeamsListForAuthenticatedUserOKHeaders) SetResponse(val []TeamFull) { func (*TeamsListForAuthenticatedUserOKHeaders) teamsListForAuthenticatedUserRes() {} -type TeamsListIdpGroupsForLegacyForbidden BasicError +type TeamsListIdpGroupsForLegacyForbidden struct { + BasicError +} func (*TeamsListIdpGroupsForLegacyForbidden) teamsListIdpGroupsForLegacyRes() {} -type TeamsListIdpGroupsForLegacyNotFound BasicError +type TeamsListIdpGroupsForLegacyNotFound struct { + BasicError +} func (*TeamsListIdpGroupsForLegacyNotFound) teamsListIdpGroupsForLegacyRes() {} @@ -96719,19 +97475,27 @@ func (s *TeamsUpdateInOrgReqPrivacy) UnmarshalText(data []byte) error { } } -type TeamsUpdateLegacyCreated TeamFull +type TeamsUpdateLegacyCreated struct { + TeamFull +} func (*TeamsUpdateLegacyCreated) teamsUpdateLegacyRes() {} -type TeamsUpdateLegacyForbidden BasicError +type TeamsUpdateLegacyForbidden struct { + BasicError +} func (*TeamsUpdateLegacyForbidden) teamsUpdateLegacyRes() {} -type TeamsUpdateLegacyNotFound BasicError +type TeamsUpdateLegacyNotFound struct { + BasicError +} func (*TeamsUpdateLegacyNotFound) teamsUpdateLegacyRes() {} -type TeamsUpdateLegacyOK TeamFull +type TeamsUpdateLegacyOK struct { + TeamFull +} func (*TeamsUpdateLegacyOK) teamsUpdateLegacyRes() {} @@ -97982,11 +98746,15 @@ type UsersAddEmailForAuthenticatedCreatedApplicationJSON []Email func (*UsersAddEmailForAuthenticatedCreatedApplicationJSON) usersAddEmailForAuthenticatedRes() {} -type UsersAddEmailForAuthenticatedForbidden BasicError +type UsersAddEmailForAuthenticatedForbidden struct { + BasicError +} func (*UsersAddEmailForAuthenticatedForbidden) usersAddEmailForAuthenticatedRes() {} -type UsersAddEmailForAuthenticatedNotFound BasicError +type UsersAddEmailForAuthenticatedNotFound struct { + BasicError +} func (*UsersAddEmailForAuthenticatedNotFound) usersAddEmailForAuthenticatedRes() {} @@ -98103,11 +98871,15 @@ func (s *UsersAddEmailForAuthenticatedReq0) SetEmails(val []string) { s.Emails = val } -type UsersAddEmailForAuthenticatedUnauthorized BasicError +type UsersAddEmailForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersAddEmailForAuthenticatedUnauthorized) usersAddEmailForAuthenticatedRes() {} -type UsersBlockForbidden BasicError +type UsersBlockForbidden struct { + BasicError +} func (*UsersBlockForbidden) usersBlockRes() {} @@ -98116,15 +98888,21 @@ type UsersBlockNoContent struct{} func (*UsersBlockNoContent) usersBlockRes() {} -type UsersBlockNotFound BasicError +type UsersBlockNotFound struct { + BasicError +} func (*UsersBlockNotFound) usersBlockRes() {} -type UsersBlockUnauthorized BasicError +type UsersBlockUnauthorized struct { + BasicError +} func (*UsersBlockUnauthorized) usersBlockRes() {} -type UsersCheckBlockedForbidden BasicError +type UsersCheckBlockedForbidden struct { + BasicError +} func (*UsersCheckBlockedForbidden) usersCheckBlockedRes() {} @@ -98133,11 +98911,15 @@ type UsersCheckBlockedNoContent struct{} func (*UsersCheckBlockedNoContent) usersCheckBlockedRes() {} -type UsersCheckBlockedNotFound BasicError +type UsersCheckBlockedNotFound struct { + BasicError +} func (*UsersCheckBlockedNotFound) usersCheckBlockedRes() {} -type UsersCheckBlockedUnauthorized BasicError +type UsersCheckBlockedUnauthorized struct { + BasicError +} func (*UsersCheckBlockedUnauthorized) usersCheckBlockedRes() {} @@ -98151,7 +98933,9 @@ type UsersCheckFollowingForUserNotFound struct{} func (*UsersCheckFollowingForUserNotFound) usersCheckFollowingForUserRes() {} -type UsersCheckPersonIsFollowedByAuthenticatedForbidden BasicError +type UsersCheckPersonIsFollowedByAuthenticatedForbidden struct { + BasicError +} func (*UsersCheckPersonIsFollowedByAuthenticatedForbidden) usersCheckPersonIsFollowedByAuthenticatedRes() { } @@ -98162,21 +98946,29 @@ type UsersCheckPersonIsFollowedByAuthenticatedNoContent struct{} func (*UsersCheckPersonIsFollowedByAuthenticatedNoContent) usersCheckPersonIsFollowedByAuthenticatedRes() { } -type UsersCheckPersonIsFollowedByAuthenticatedNotFound BasicError +type UsersCheckPersonIsFollowedByAuthenticatedNotFound struct { + BasicError +} func (*UsersCheckPersonIsFollowedByAuthenticatedNotFound) usersCheckPersonIsFollowedByAuthenticatedRes() { } -type UsersCheckPersonIsFollowedByAuthenticatedUnauthorized BasicError +type UsersCheckPersonIsFollowedByAuthenticatedUnauthorized struct { + BasicError +} func (*UsersCheckPersonIsFollowedByAuthenticatedUnauthorized) usersCheckPersonIsFollowedByAuthenticatedRes() { } -type UsersCreateGpgKeyForAuthenticatedForbidden BasicError +type UsersCreateGpgKeyForAuthenticatedForbidden struct { + BasicError +} func (*UsersCreateGpgKeyForAuthenticatedForbidden) usersCreateGpgKeyForAuthenticatedRes() {} -type UsersCreateGpgKeyForAuthenticatedNotFound BasicError +type UsersCreateGpgKeyForAuthenticatedNotFound struct { + BasicError +} func (*UsersCreateGpgKeyForAuthenticatedNotFound) usersCreateGpgKeyForAuthenticatedRes() {} @@ -98195,16 +98987,22 @@ func (s *UsersCreateGpgKeyForAuthenticatedReq) SetArmoredPublicKey(val string) { s.ArmoredPublicKey = val } -type UsersCreateGpgKeyForAuthenticatedUnauthorized BasicError +type UsersCreateGpgKeyForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersCreateGpgKeyForAuthenticatedUnauthorized) usersCreateGpgKeyForAuthenticatedRes() {} -type UsersCreatePublicSSHKeyForAuthenticatedForbidden BasicError +type UsersCreatePublicSSHKeyForAuthenticatedForbidden struct { + BasicError +} func (*UsersCreatePublicSSHKeyForAuthenticatedForbidden) usersCreatePublicSSHKeyForAuthenticatedRes() { } -type UsersCreatePublicSSHKeyForAuthenticatedNotFound BasicError +type UsersCreatePublicSSHKeyForAuthenticatedNotFound struct { + BasicError +} func (*UsersCreatePublicSSHKeyForAuthenticatedNotFound) usersCreatePublicSSHKeyForAuthenticatedRes() { } @@ -98236,12 +99034,16 @@ func (s *UsersCreatePublicSSHKeyForAuthenticatedReq) SetKey(val string) { s.Key = val } -type UsersCreatePublicSSHKeyForAuthenticatedUnauthorized BasicError +type UsersCreatePublicSSHKeyForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersCreatePublicSSHKeyForAuthenticatedUnauthorized) usersCreatePublicSSHKeyForAuthenticatedRes() { } -type UsersDeleteEmailForAuthenticatedForbidden BasicError +type UsersDeleteEmailForAuthenticatedForbidden struct { + BasicError +} func (*UsersDeleteEmailForAuthenticatedForbidden) usersDeleteEmailForAuthenticatedRes() {} @@ -98250,7 +99052,9 @@ type UsersDeleteEmailForAuthenticatedNoContent struct{} func (*UsersDeleteEmailForAuthenticatedNoContent) usersDeleteEmailForAuthenticatedRes() {} -type UsersDeleteEmailForAuthenticatedNotFound BasicError +type UsersDeleteEmailForAuthenticatedNotFound struct { + BasicError +} func (*UsersDeleteEmailForAuthenticatedNotFound) usersDeleteEmailForAuthenticatedRes() {} @@ -98368,11 +99172,15 @@ func (s *UsersDeleteEmailForAuthenticatedReq0) SetEmails(val []string) { s.Emails = val } -type UsersDeleteEmailForAuthenticatedUnauthorized BasicError +type UsersDeleteEmailForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersDeleteEmailForAuthenticatedUnauthorized) usersDeleteEmailForAuthenticatedRes() {} -type UsersDeleteGpgKeyForAuthenticatedForbidden BasicError +type UsersDeleteGpgKeyForAuthenticatedForbidden struct { + BasicError +} func (*UsersDeleteGpgKeyForAuthenticatedForbidden) usersDeleteGpgKeyForAuthenticatedRes() {} @@ -98381,15 +99189,21 @@ type UsersDeleteGpgKeyForAuthenticatedNoContent struct{} func (*UsersDeleteGpgKeyForAuthenticatedNoContent) usersDeleteGpgKeyForAuthenticatedRes() {} -type UsersDeleteGpgKeyForAuthenticatedNotFound BasicError +type UsersDeleteGpgKeyForAuthenticatedNotFound struct { + BasicError +} func (*UsersDeleteGpgKeyForAuthenticatedNotFound) usersDeleteGpgKeyForAuthenticatedRes() {} -type UsersDeleteGpgKeyForAuthenticatedUnauthorized BasicError +type UsersDeleteGpgKeyForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersDeleteGpgKeyForAuthenticatedUnauthorized) usersDeleteGpgKeyForAuthenticatedRes() {} -type UsersDeletePublicSSHKeyForAuthenticatedForbidden BasicError +type UsersDeletePublicSSHKeyForAuthenticatedForbidden struct { + BasicError +} func (*UsersDeletePublicSSHKeyForAuthenticatedForbidden) usersDeletePublicSSHKeyForAuthenticatedRes() { } @@ -98400,17 +99214,23 @@ type UsersDeletePublicSSHKeyForAuthenticatedNoContent struct{} func (*UsersDeletePublicSSHKeyForAuthenticatedNoContent) usersDeletePublicSSHKeyForAuthenticatedRes() { } -type UsersDeletePublicSSHKeyForAuthenticatedNotFound BasicError +type UsersDeletePublicSSHKeyForAuthenticatedNotFound struct { + BasicError +} func (*UsersDeletePublicSSHKeyForAuthenticatedNotFound) usersDeletePublicSSHKeyForAuthenticatedRes() { } -type UsersDeletePublicSSHKeyForAuthenticatedUnauthorized BasicError +type UsersDeletePublicSSHKeyForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersDeletePublicSSHKeyForAuthenticatedUnauthorized) usersDeletePublicSSHKeyForAuthenticatedRes() { } -type UsersFollowForbidden BasicError +type UsersFollowForbidden struct { + BasicError +} func (*UsersFollowForbidden) usersFollowRes() {} @@ -98419,15 +99239,21 @@ type UsersFollowNoContent struct{} func (*UsersFollowNoContent) usersFollowRes() {} -type UsersFollowNotFound BasicError +type UsersFollowNotFound struct { + BasicError +} func (*UsersFollowNotFound) usersFollowRes() {} -type UsersFollowUnauthorized BasicError +type UsersFollowUnauthorized struct { + BasicError +} func (*UsersFollowUnauthorized) usersFollowRes() {} -type UsersGetAuthenticatedForbidden BasicError +type UsersGetAuthenticatedForbidden struct { + BasicError +} func (*UsersGetAuthenticatedForbidden) usersGetAuthenticatedRes() {} @@ -98501,7 +99327,9 @@ func NewPublicUserUsersGetAuthenticatedOK(v PublicUser) UsersGetAuthenticatedOK func (*UsersGetAuthenticatedOK) usersGetAuthenticatedRes() {} -type UsersGetAuthenticatedUnauthorized BasicError +type UsersGetAuthenticatedUnauthorized struct { + BasicError +} func (*UsersGetAuthenticatedUnauthorized) usersGetAuthenticatedRes() {} @@ -98626,35 +99454,51 @@ func (s *UsersGetContextForUserSubjectType) UnmarshalText(data []byte) error { } } -type UsersGetGpgKeyForAuthenticatedForbidden BasicError +type UsersGetGpgKeyForAuthenticatedForbidden struct { + BasicError +} func (*UsersGetGpgKeyForAuthenticatedForbidden) usersGetGpgKeyForAuthenticatedRes() {} -type UsersGetGpgKeyForAuthenticatedNotFound BasicError +type UsersGetGpgKeyForAuthenticatedNotFound struct { + BasicError +} func (*UsersGetGpgKeyForAuthenticatedNotFound) usersGetGpgKeyForAuthenticatedRes() {} -type UsersGetGpgKeyForAuthenticatedUnauthorized BasicError +type UsersGetGpgKeyForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersGetGpgKeyForAuthenticatedUnauthorized) usersGetGpgKeyForAuthenticatedRes() {} -type UsersGetPublicSSHKeyForAuthenticatedForbidden BasicError +type UsersGetPublicSSHKeyForAuthenticatedForbidden struct { + BasicError +} func (*UsersGetPublicSSHKeyForAuthenticatedForbidden) usersGetPublicSSHKeyForAuthenticatedRes() {} -type UsersGetPublicSSHKeyForAuthenticatedNotFound BasicError +type UsersGetPublicSSHKeyForAuthenticatedNotFound struct { + BasicError +} func (*UsersGetPublicSSHKeyForAuthenticatedNotFound) usersGetPublicSSHKeyForAuthenticatedRes() {} -type UsersGetPublicSSHKeyForAuthenticatedUnauthorized BasicError +type UsersGetPublicSSHKeyForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersGetPublicSSHKeyForAuthenticatedUnauthorized) usersGetPublicSSHKeyForAuthenticatedRes() {} -type UsersListBlockedByAuthenticatedForbidden BasicError +type UsersListBlockedByAuthenticatedForbidden struct { + BasicError +} func (*UsersListBlockedByAuthenticatedForbidden) usersListBlockedByAuthenticatedRes() {} -type UsersListBlockedByAuthenticatedNotFound BasicError +type UsersListBlockedByAuthenticatedNotFound struct { + BasicError +} func (*UsersListBlockedByAuthenticatedNotFound) usersListBlockedByAuthenticatedRes() {} @@ -98662,15 +99506,21 @@ type UsersListBlockedByAuthenticatedOKApplicationJSON []SimpleUser func (*UsersListBlockedByAuthenticatedOKApplicationJSON) usersListBlockedByAuthenticatedRes() {} -type UsersListBlockedByAuthenticatedUnauthorized BasicError +type UsersListBlockedByAuthenticatedUnauthorized struct { + BasicError +} func (*UsersListBlockedByAuthenticatedUnauthorized) usersListBlockedByAuthenticatedRes() {} -type UsersListEmailsForAuthenticatedForbidden BasicError +type UsersListEmailsForAuthenticatedForbidden struct { + BasicError +} func (*UsersListEmailsForAuthenticatedForbidden) usersListEmailsForAuthenticatedRes() {} -type UsersListEmailsForAuthenticatedNotFound BasicError +type UsersListEmailsForAuthenticatedNotFound struct { + BasicError +} func (*UsersListEmailsForAuthenticatedNotFound) usersListEmailsForAuthenticatedRes() {} @@ -98702,11 +99552,15 @@ func (s *UsersListEmailsForAuthenticatedOKHeaders) SetResponse(val []Email) { func (*UsersListEmailsForAuthenticatedOKHeaders) usersListEmailsForAuthenticatedRes() {} -type UsersListEmailsForAuthenticatedUnauthorized BasicError +type UsersListEmailsForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersListEmailsForAuthenticatedUnauthorized) usersListEmailsForAuthenticatedRes() {} -type UsersListFollowedByAuthenticatedForbidden BasicError +type UsersListFollowedByAuthenticatedForbidden struct { + BasicError +} func (*UsersListFollowedByAuthenticatedForbidden) usersListFollowedByAuthenticatedRes() {} @@ -98738,11 +99592,15 @@ func (s *UsersListFollowedByAuthenticatedOKHeaders) SetResponse(val []SimpleUser func (*UsersListFollowedByAuthenticatedOKHeaders) usersListFollowedByAuthenticatedRes() {} -type UsersListFollowedByAuthenticatedUnauthorized BasicError +type UsersListFollowedByAuthenticatedUnauthorized struct { + BasicError +} func (*UsersListFollowedByAuthenticatedUnauthorized) usersListFollowedByAuthenticatedRes() {} -type UsersListFollowersForAuthenticatedUserForbidden BasicError +type UsersListFollowersForAuthenticatedUserForbidden struct { + BasicError +} func (*UsersListFollowersForAuthenticatedUserForbidden) usersListFollowersForAuthenticatedUserRes() {} @@ -98774,7 +99632,9 @@ func (s *UsersListFollowersForAuthenticatedUserOKHeaders) SetResponse(val []Simp func (*UsersListFollowersForAuthenticatedUserOKHeaders) usersListFollowersForAuthenticatedUserRes() {} -type UsersListFollowersForAuthenticatedUserUnauthorized BasicError +type UsersListFollowersForAuthenticatedUserUnauthorized struct { + BasicError +} func (*UsersListFollowersForAuthenticatedUserUnauthorized) usersListFollowersForAuthenticatedUserRes() { } @@ -98831,11 +99691,15 @@ func (s *UsersListFollowingForUserOKHeaders) SetResponse(val []SimpleUser) { s.Response = val } -type UsersListGpgKeysForAuthenticatedForbidden BasicError +type UsersListGpgKeysForAuthenticatedForbidden struct { + BasicError +} func (*UsersListGpgKeysForAuthenticatedForbidden) usersListGpgKeysForAuthenticatedRes() {} -type UsersListGpgKeysForAuthenticatedNotFound BasicError +type UsersListGpgKeysForAuthenticatedNotFound struct { + BasicError +} func (*UsersListGpgKeysForAuthenticatedNotFound) usersListGpgKeysForAuthenticatedRes() {} @@ -98867,7 +99731,9 @@ func (s *UsersListGpgKeysForAuthenticatedOKHeaders) SetResponse(val []GpgKey) { func (*UsersListGpgKeysForAuthenticatedOKHeaders) usersListGpgKeysForAuthenticatedRes() {} -type UsersListGpgKeysForAuthenticatedUnauthorized BasicError +type UsersListGpgKeysForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersListGpgKeysForAuthenticatedUnauthorized) usersListGpgKeysForAuthenticatedRes() {} @@ -98925,11 +99791,15 @@ func (s *UsersListOKHeaders) SetResponse(val []SimpleUser) { func (*UsersListOKHeaders) usersListRes() {} -type UsersListPublicEmailsForAuthenticatedForbidden BasicError +type UsersListPublicEmailsForAuthenticatedForbidden struct { + BasicError +} func (*UsersListPublicEmailsForAuthenticatedForbidden) usersListPublicEmailsForAuthenticatedRes() {} -type UsersListPublicEmailsForAuthenticatedNotFound BasicError +type UsersListPublicEmailsForAuthenticatedNotFound struct { + BasicError +} func (*UsersListPublicEmailsForAuthenticatedNotFound) usersListPublicEmailsForAuthenticatedRes() {} @@ -98961,7 +99831,9 @@ func (s *UsersListPublicEmailsForAuthenticatedOKHeaders) SetResponse(val []Email func (*UsersListPublicEmailsForAuthenticatedOKHeaders) usersListPublicEmailsForAuthenticatedRes() {} -type UsersListPublicEmailsForAuthenticatedUnauthorized BasicError +type UsersListPublicEmailsForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersListPublicEmailsForAuthenticatedUnauthorized) usersListPublicEmailsForAuthenticatedRes() { } @@ -98992,11 +99864,15 @@ func (s *UsersListPublicKeysForUserOKHeaders) SetResponse(val []KeySimple) { s.Response = val } -type UsersListPublicSSHKeysForAuthenticatedForbidden BasicError +type UsersListPublicSSHKeysForAuthenticatedForbidden struct { + BasicError +} func (*UsersListPublicSSHKeysForAuthenticatedForbidden) usersListPublicSSHKeysForAuthenticatedRes() {} -type UsersListPublicSSHKeysForAuthenticatedNotFound BasicError +type UsersListPublicSSHKeysForAuthenticatedNotFound struct { + BasicError +} func (*UsersListPublicSSHKeysForAuthenticatedNotFound) usersListPublicSSHKeysForAuthenticatedRes() {} @@ -99028,17 +99904,23 @@ func (s *UsersListPublicSSHKeysForAuthenticatedOKHeaders) SetResponse(val []Key) func (*UsersListPublicSSHKeysForAuthenticatedOKHeaders) usersListPublicSSHKeysForAuthenticatedRes() {} -type UsersListPublicSSHKeysForAuthenticatedUnauthorized BasicError +type UsersListPublicSSHKeysForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersListPublicSSHKeysForAuthenticatedUnauthorized) usersListPublicSSHKeysForAuthenticatedRes() { } -type UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden BasicError +type UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden struct { + BasicError +} func (*UsersSetPrimaryEmailVisibilityForAuthenticatedForbidden) usersSetPrimaryEmailVisibilityForAuthenticatedRes() { } -type UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound BasicError +type UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound struct { + BasicError +} func (*UsersSetPrimaryEmailVisibilityForAuthenticatedNotFound) usersSetPrimaryEmailVisibilityForAuthenticatedRes() { } @@ -99105,12 +99987,16 @@ func (s *UsersSetPrimaryEmailVisibilityForAuthenticatedReqVisibility) UnmarshalT } } -type UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized BasicError +type UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized struct { + BasicError +} func (*UsersSetPrimaryEmailVisibilityForAuthenticatedUnauthorized) usersSetPrimaryEmailVisibilityForAuthenticatedRes() { } -type UsersUnblockForbidden BasicError +type UsersUnblockForbidden struct { + BasicError +} func (*UsersUnblockForbidden) usersUnblockRes() {} @@ -99119,15 +100005,21 @@ type UsersUnblockNoContent struct{} func (*UsersUnblockNoContent) usersUnblockRes() {} -type UsersUnblockNotFound BasicError +type UsersUnblockNotFound struct { + BasicError +} func (*UsersUnblockNotFound) usersUnblockRes() {} -type UsersUnblockUnauthorized BasicError +type UsersUnblockUnauthorized struct { + BasicError +} func (*UsersUnblockUnauthorized) usersUnblockRes() {} -type UsersUnfollowForbidden BasicError +type UsersUnfollowForbidden struct { + BasicError +} func (*UsersUnfollowForbidden) usersUnfollowRes() {} @@ -99136,19 +100028,27 @@ type UsersUnfollowNoContent struct{} func (*UsersUnfollowNoContent) usersUnfollowRes() {} -type UsersUnfollowNotFound BasicError +type UsersUnfollowNotFound struct { + BasicError +} func (*UsersUnfollowNotFound) usersUnfollowRes() {} -type UsersUnfollowUnauthorized BasicError +type UsersUnfollowUnauthorized struct { + BasicError +} func (*UsersUnfollowUnauthorized) usersUnfollowRes() {} -type UsersUpdateAuthenticatedForbidden BasicError +type UsersUpdateAuthenticatedForbidden struct { + BasicError +} func (*UsersUpdateAuthenticatedForbidden) usersUpdateAuthenticatedRes() {} -type UsersUpdateAuthenticatedNotFound BasicError +type UsersUpdateAuthenticatedNotFound struct { + BasicError +} func (*UsersUpdateAuthenticatedNotFound) usersUpdateAuthenticatedRes() {} @@ -99251,7 +100151,9 @@ func (s *UsersUpdateAuthenticatedReq) SetBio(val OptString) { s.Bio = val } -type UsersUpdateAuthenticatedUnauthorized BasicError +type UsersUpdateAuthenticatedUnauthorized struct { + BasicError +} func (*UsersUpdateAuthenticatedUnauthorized) usersUpdateAuthenticatedRes() {} diff --git a/gen/_template/json/encoders_alias.tmpl b/gen/_template/json/encoders_alias.tmpl index d65d30676..f5a4721e8 100644 --- a/gen/_template/json/encoders_alias.tmpl +++ b/gen/_template/json/encoders_alias.tmpl @@ -1,6 +1,7 @@ {{- /*gotype: github.com/ogen-go/ogen/gen/ir.Type*/ -}} {{- define "json/encoders_alias" }} {{- $a := $.AliasTo }} +{{- if ne $a.Kind "struct" }} // Encode encodes {{ $.Name }} as json. func (s {{ $.ReadOnlyReceiver }}) Encode(e *jx.Encoder) { {{- if $a.DoPassByPointer }} @@ -34,3 +35,4 @@ func (s *{{ $.Name }}) Decode(d *jx.Decoder) error { } {{ end }} +{{ end }} diff --git a/gen/_template/request_decode.tmpl b/gen/_template/request_decode.tmpl index 7fecd7673..68c06b5dd 100644 --- a/gen/_template/request_decode.tmpl +++ b/gen/_template/request_decode.tmpl @@ -188,7 +188,7 @@ func (s *{{ if $op.WebhookInfo }}Webhook{{ end }}Server) decode{{ $op.Name }}Req { var unwrapped {{ $t.AliasTo.Go -}} {{ template "decode_form_request" elem $t.AliasTo "unwrapped" }} - {{ $v }} = {{ $t.Go }}(unwrapped) + {{ $v }} = {{ $t.Go }}{unwrapped} } {{- else if $t.IsGeneric }} { diff --git a/gen/_template/schema/alias.tmpl b/gen/_template/schema/alias.tmpl index b907a7cf1..463a60dfd 100644 --- a/gen/_template/schema/alias.tmpl +++ b/gen/_template/schema/alias.tmpl @@ -1,4 +1,10 @@ {{- /*gotype: github.com/ogen-go/ogen/gen/ir.Type*/ -}} {{- define "schema/alias" }} +{{- if eq $.AliasTo.Kind "struct" }} +type {{ $.Name }} struct { + {{ $.AliasTo.Go }} +} +{{ else }} type {{ $.Name }} {{ $.AliasTo.Go }} +{{- end }} {{ end }} diff --git a/internal/integration/requests_test.go b/internal/integration/requests_test.go index 586475a8c..d76f8f8fc 100644 --- a/internal/integration/requests_test.go +++ b/internal/integration/requests_test.go @@ -123,13 +123,17 @@ func TestRequests(t *testing.T) { t.Run("AllRequestBodies", func(t *testing.T) { reqs := []api.AllRequestBodiesReq{ &api.AllRequestBodiesApplicationJSON{ - Name: testData, + SimpleObject: api.SimpleObject{ + Name: testData, + }, }, &api.AllRequestBodiesReqApplicationOctetStream{ Data: strings.NewReader(testData), }, &api.AllRequestBodiesApplicationXWwwFormUrlencoded{ - Name: testData, + SimpleObject: api.SimpleObject{ + Name: testData, + }, }, &api.SimpleObjectMultipart{ Name: testData, @@ -152,13 +156,17 @@ func TestRequests(t *testing.T) { t.Run("AllRequestBodiesOptional", func(t *testing.T) { reqs := []api.AllRequestBodiesOptionalReq{ &api.AllRequestBodiesOptionalApplicationJSON{ - Name: testData, + SimpleObject: api.SimpleObject{ + Name: testData, + }, }, &api.AllRequestBodiesOptionalReqApplicationOctetStream{ Data: strings.NewReader(testData), }, &api.AllRequestBodiesOptionalApplicationXWwwFormUrlencoded{ - Name: testData, + SimpleObject: api.SimpleObject{ + Name: testData, + }, }, &api.SimpleObjectMultipart{ Name: testData, diff --git a/internal/integration/test_http_requests/oas_json_gen.go b/internal/integration/test_http_requests/oas_json_gen.go index a162c0014..bc2884012 100644 --- a/internal/integration/test_http_requests/oas_json_gen.go +++ b/internal/integration/test_http_requests/oas_json_gen.go @@ -11,31 +11,6 @@ import ( "github.com/ogen-go/ogen/validate" ) -// Encode encodes AllRequestBodiesApplicationJSON as json. -func (s *AllRequestBodiesApplicationJSON) Encode(e *jx.Encoder) { - unwrapped := (*SimpleObject)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AllRequestBodiesApplicationJSON from json. -func (s *AllRequestBodiesApplicationJSON) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AllRequestBodiesApplicationJSON to nil") - } - var unwrapped SimpleObject - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AllRequestBodiesApplicationJSON(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AllRequestBodiesApplicationJSON) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -49,31 +24,6 @@ func (s *AllRequestBodiesApplicationJSON) UnmarshalJSON(data []byte) error { return s.Decode(d) } -// Encode encodes AllRequestBodiesApplicationXWwwFormUrlencoded as json. -func (s *AllRequestBodiesApplicationXWwwFormUrlencoded) Encode(e *jx.Encoder) { - unwrapped := (*SimpleObject)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AllRequestBodiesApplicationXWwwFormUrlencoded from json. -func (s *AllRequestBodiesApplicationXWwwFormUrlencoded) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AllRequestBodiesApplicationXWwwFormUrlencoded to nil") - } - var unwrapped SimpleObject - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AllRequestBodiesApplicationXWwwFormUrlencoded(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AllRequestBodiesApplicationXWwwFormUrlencoded) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -87,31 +37,6 @@ func (s *AllRequestBodiesApplicationXWwwFormUrlencoded) UnmarshalJSON(data []byt return s.Decode(d) } -// Encode encodes AllRequestBodiesOptionalApplicationJSON as json. -func (s *AllRequestBodiesOptionalApplicationJSON) Encode(e *jx.Encoder) { - unwrapped := (*SimpleObject)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AllRequestBodiesOptionalApplicationJSON from json. -func (s *AllRequestBodiesOptionalApplicationJSON) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AllRequestBodiesOptionalApplicationJSON to nil") - } - var unwrapped SimpleObject - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AllRequestBodiesOptionalApplicationJSON(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AllRequestBodiesOptionalApplicationJSON) MarshalJSON() ([]byte, error) { e := jx.Encoder{} @@ -125,31 +50,6 @@ func (s *AllRequestBodiesOptionalApplicationJSON) UnmarshalJSON(data []byte) err return s.Decode(d) } -// Encode encodes AllRequestBodiesOptionalApplicationXWwwFormUrlencoded as json. -func (s *AllRequestBodiesOptionalApplicationXWwwFormUrlencoded) Encode(e *jx.Encoder) { - unwrapped := (*SimpleObject)(s) - - unwrapped.Encode(e) -} - -// Decode decodes AllRequestBodiesOptionalApplicationXWwwFormUrlencoded from json. -func (s *AllRequestBodiesOptionalApplicationXWwwFormUrlencoded) Decode(d *jx.Decoder) error { - if s == nil { - return errors.New("invalid: unable to decode AllRequestBodiesOptionalApplicationXWwwFormUrlencoded to nil") - } - var unwrapped SimpleObject - if err := func() error { - if err := unwrapped.Decode(d); err != nil { - return err - } - return nil - }(); err != nil { - return errors.Wrap(err, "alias") - } - *s = AllRequestBodiesOptionalApplicationXWwwFormUrlencoded(unwrapped) - return nil -} - // MarshalJSON implements stdjson.Marshaler. func (s *AllRequestBodiesOptionalApplicationXWwwFormUrlencoded) MarshalJSON() ([]byte, error) { e := jx.Encoder{} diff --git a/internal/integration/test_http_requests/oas_request_decoders_gen.go b/internal/integration/test_http_requests/oas_request_decoders_gen.go index 0cbaed338..ddeac6ca9 100644 --- a/internal/integration/test_http_requests/oas_request_decoders_gen.go +++ b/internal/integration/test_http_requests/oas_request_decoders_gen.go @@ -162,7 +162,7 @@ func (s *Server) decodeAllRequestBodiesRequest(r *http.Request) ( } } } - request = AllRequestBodiesApplicationXWwwFormUrlencoded(unwrapped) + request = AllRequestBodiesApplicationXWwwFormUrlencoded{unwrapped} } return &request, rawBody, close, nil case ct == "multipart/form-data": @@ -398,7 +398,7 @@ func (s *Server) decodeAllRequestBodiesOptionalRequest(r *http.Request) ( } } } - request = AllRequestBodiesOptionalApplicationXWwwFormUrlencoded(unwrapped) + request = AllRequestBodiesOptionalApplicationXWwwFormUrlencoded{unwrapped} } return &request, rawBody, close, nil case ct == "multipart/form-data": diff --git a/internal/integration/test_http_requests/oas_schemas_gen.go b/internal/integration/test_http_requests/oas_schemas_gen.go index 32be21973..a92bd184e 100644 --- a/internal/integration/test_http_requests/oas_schemas_gen.go +++ b/internal/integration/test_http_requests/oas_schemas_gen.go @@ -6,11 +6,15 @@ import ( "io" ) -type AllRequestBodiesApplicationJSON SimpleObject +type AllRequestBodiesApplicationJSON struct { + SimpleObject +} func (*AllRequestBodiesApplicationJSON) allRequestBodiesReq() {} -type AllRequestBodiesApplicationXWwwFormUrlencoded SimpleObject +type AllRequestBodiesApplicationXWwwFormUrlencoded struct { + SimpleObject +} func (*AllRequestBodiesApplicationXWwwFormUrlencoded) allRequestBodiesReq() {} @@ -28,11 +32,15 @@ func (s AllRequestBodiesOK) Read(p []byte) (n int, err error) { return s.Data.Read(p) } -type AllRequestBodiesOptionalApplicationJSON SimpleObject +type AllRequestBodiesOptionalApplicationJSON struct { + SimpleObject +} func (*AllRequestBodiesOptionalApplicationJSON) allRequestBodiesOptionalReq() {} -type AllRequestBodiesOptionalApplicationXWwwFormUrlencoded SimpleObject +type AllRequestBodiesOptionalApplicationXWwwFormUrlencoded struct { + SimpleObject +} func (*AllRequestBodiesOptionalApplicationXWwwFormUrlencoded) allRequestBodiesOptionalReq() {}