2023-04-06 01:28:58 +00:00
|
|
|
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
|
|
|
|
|
|
// (c) 2012-2020 by Taxnexus, Inc.
|
|
|
|
|
// All rights reserved worldwide.
|
|
|
|
|
// Proprietary product; unlicensed use is not allowed
|
|
|
|
|
|
|
|
|
|
package plex_models
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
stderrors "errors"
|
2023-04-06 01:28:58 +00:00
|
|
|
"strconv"
|
|
|
|
|
|
|
|
|
|
"github.com/go-openapi/errors"
|
|
|
|
|
"github.com/go-openapi/strfmt"
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
"github.com/go-openapi/swag/jsonutils"
|
|
|
|
|
"github.com/go-openapi/swag/typeutils"
|
2023-04-06 01:28:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Industry An industry that is being researched
|
|
|
|
|
//
|
|
|
|
|
// swagger:model Industry
|
|
|
|
|
type Industry struct {
|
|
|
|
|
|
|
|
|
|
// The AccountIDs of the Companies in this Industry
|
|
|
|
|
Companies []string `json:"Companies"`
|
|
|
|
|
|
|
|
|
|
// Created By User ID
|
2023-04-30 04:48:40 +00:00
|
|
|
CreatedByID *string `json:"CreatedByID,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// Created Date
|
2023-04-30 04:48:40 +00:00
|
|
|
CreatedDate *string `json:"CreatedDate,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// Industry Description
|
2023-04-30 04:48:40 +00:00
|
|
|
Description *string `json:"Description,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// Record Id
|
|
|
|
|
ID string `json:"ID,omitempty"`
|
|
|
|
|
|
|
|
|
|
// Image Alt Text
|
2023-04-30 04:48:40 +00:00
|
|
|
ImageAltText *string `json:"ImageAltText,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// Image URL
|
2023-04-30 04:48:40 +00:00
|
|
|
ImageURL *string `json:"ImageURL,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// Last Modified By User ID
|
2023-04-30 04:48:40 +00:00
|
|
|
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// Last Modified Date
|
2023-04-30 04:48:40 +00:00
|
|
|
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// The hierarchical level of this Industry
|
2023-04-30 04:48:40 +00:00
|
|
|
Level *string `json:"Level,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// Logo
|
2023-04-30 04:48:40 +00:00
|
|
|
Logo *string `json:"Logo,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// Industry Name
|
2023-04-30 04:48:40 +00:00
|
|
|
Name *string `json:"Name,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// The ID of the Parent Industry
|
2023-04-30 04:48:40 +00:00
|
|
|
ParentIndustryID *string `json:"ParentIndustryID,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// The full path of this industry, including Parent
|
2023-04-30 04:48:40 +00:00
|
|
|
Path *string `json:"Path,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
// The list of Products in this industry
|
|
|
|
|
Products []*Product `json:"Products"`
|
|
|
|
|
|
2023-04-06 01:28:58 +00:00
|
|
|
// The CMS Slug for this Industry
|
2023-04-30 04:48:40 +00:00
|
|
|
Slug *string `json:"Slug,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
|
|
|
|
|
// TagLine
|
2023-04-30 04:48:40 +00:00
|
|
|
TagLine *string `json:"TagLine,omitempty"`
|
2023-04-06 01:28:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Validate validates this industry
|
|
|
|
|
func (m *Industry) Validate(formats strfmt.Registry) error {
|
|
|
|
|
var res []error
|
|
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
if err := m.validateProducts(formats); err != nil {
|
2023-04-06 01:28:58 +00:00
|
|
|
res = append(res, err)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if len(res) > 0 {
|
|
|
|
|
return errors.CompositeValidationError(res...)
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
func (m *Industry) validateProducts(formats strfmt.Registry) error {
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
if typeutils.IsZero(m.Products) { // not required
|
2023-04-06 01:28:58 +00:00
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
for i := 0; i < len(m.Products); i++ {
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
if typeutils.IsZero(m.Products[i]) { // not required
|
2023-04-06 01:28:58 +00:00
|
|
|
continue
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
if m.Products[i] != nil {
|
|
|
|
|
if err := m.Products[i].Validate(formats); err != nil {
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
ve := new(errors.Validation)
|
|
|
|
|
if stderrors.As(err, &ve) {
|
2025-05-27 03:20:36 +00:00
|
|
|
return ve.ValidateName("Products" + "." + strconv.Itoa(i))
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
}
|
|
|
|
|
ce := new(errors.CompositeError)
|
|
|
|
|
if stderrors.As(err, &ce) {
|
2025-05-27 03:20:36 +00:00
|
|
|
return ce.ValidateName("Products" + "." + strconv.Itoa(i))
|
2023-04-06 01:28:58 +00:00
|
|
|
}
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
|
2023-04-06 01:28:58 +00:00
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ContextValidate validate this industry based on the context it is used
|
|
|
|
|
func (m *Industry) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
|
var res []error
|
|
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
if err := m.contextValidateProducts(ctx, formats); err != nil {
|
2023-04-06 01:28:58 +00:00
|
|
|
res = append(res, err)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if len(res) > 0 {
|
|
|
|
|
return errors.CompositeValidationError(res...)
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
func (m *Industry) contextValidateProducts(ctx context.Context, formats strfmt.Registry) error {
|
2023-04-06 01:28:58 +00:00
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
for i := 0; i < len(m.Products); i++ {
|
2023-04-06 01:28:58 +00:00
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
if m.Products[i] != nil {
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
|
|
|
|
|
if typeutils.IsZero(m.Products[i]) { // not required
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-27 03:20:36 +00:00
|
|
|
if err := m.Products[i].ContextValidate(ctx, formats); err != nil {
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
ve := new(errors.Validation)
|
|
|
|
|
if stderrors.As(err, &ve) {
|
2025-05-27 03:20:36 +00:00
|
|
|
return ve.ValidateName("Products" + "." + strconv.Itoa(i))
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
}
|
|
|
|
|
ce := new(errors.CompositeError)
|
|
|
|
|
if stderrors.As(err, &ce) {
|
2025-05-27 03:20:36 +00:00
|
|
|
return ce.ValidateName("Products" + "." + strconv.Itoa(i))
|
2023-04-06 01:28:58 +00:00
|
|
|
}
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
|
2023-04-06 01:28:58 +00:00
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// MarshalBinary interface implementation
|
|
|
|
|
func (m *Industry) MarshalBinary() ([]byte, error) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return nil, nil
|
|
|
|
|
}
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
return jsonutils.WriteJSON(m)
|
2023-04-06 01:28:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
|
func (m *Industry) UnmarshalBinary(b []byte) error {
|
|
|
|
|
var res Industry
|
regen: refresh all sibling clients (go-swagger v0.35.0)
Runs scripts/release.sh regen against current origin/main specs for
auth, crm, stash, sf-gate, research, members, and plex. Picks up:
- members PaymentMethod: processor_token/tenant_id replace card_* columns
(go/db v0.7.3, ADR-KV-014 first exercise) — generated model now carries
ProcessorToken/TenantID with no Card* fields.
- sf-gate: PUT /researchprojectservices now has a tags: entry (sf-gate #3),
so its operation generates into the research_projects package under
--client-package instead of falling back to an untagged operations
package that broke the build.
- members: session handoff endpoints and onboard_request model (current
members spec); webhooks/clerk endpoints removed (retired upstream).
Also bumps go-openapi/runtime v0.26.2 -> v0.32.4 (go mod tidy) — go-swagger
v0.35.0 client templates reference runtime.ContextualTransport, which
v0.26.2 doesn't have; this is a genuine dependency floor bump, not the
known untagged-operation issue documented in release.sh (that issue is
resolved by sf-gate #3 and no longer reproduces here).
go build ./..., go vet ./..., and go test ./... all pass on the
regenerated tree.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:22:01 +00:00
|
|
|
if err := jsonutils.ReadJSON(b, &res); err != nil {
|
2023-04-06 01:28:58 +00:00
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
*m = res
|
|
|
|
|
return nil
|
|
|
|
|
}
|