2023-03-28 17:47:34 +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 members_models
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
|
|
|
|
|
"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"
|
2023-03-28 17:47:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Favorite favorite
|
|
|
|
|
//
|
2023-05-13 16:46:48 +00:00
|
|
|
// swagger:model favorite
|
2023-03-28 17:47:34 +00:00
|
|
|
type Favorite struct {
|
|
|
|
|
|
|
|
|
|
// created by ID
|
2023-04-15 14:27:18 +00:00
|
|
|
CreatedByID *string `json:"CreatedByID,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
|
|
|
|
|
// created date
|
|
|
|
|
CreatedDate *string `json:"CreatedDate,omitempty"`
|
|
|
|
|
|
|
|
|
|
// description
|
2023-04-15 14:27:18 +00:00
|
|
|
Description *string `json:"Description,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
|
2023-04-30 02:07:31 +00:00
|
|
|
// favorite type
|
|
|
|
|
FavoriteType *string `json:"FavoriteType,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
|
|
|
|
|
// ID
|
|
|
|
|
ID string `json:"ID,omitempty"`
|
|
|
|
|
|
|
|
|
|
// last modified by ID
|
2023-04-15 14:27:18 +00:00
|
|
|
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
|
|
|
|
|
// last modified date
|
|
|
|
|
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
|
|
|
|
|
|
|
|
|
|
// name
|
2023-04-15 14:27:18 +00:00
|
|
|
Name *string `json:"Name,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
|
2023-05-14 21:32:28 +00:00
|
|
|
// order
|
|
|
|
|
Order *int64 `json:"Order,omitempty"`
|
|
|
|
|
|
2023-03-28 17:47:34 +00:00
|
|
|
// path
|
2023-04-15 14:27:18 +00:00
|
|
|
Path *string `json:"Path,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
|
|
|
|
|
// tenant ID
|
2023-04-15 14:27:18 +00:00
|
|
|
TenantID *string `json:"TenantID,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
|
|
|
|
|
// user ID
|
2023-04-15 14:27:18 +00:00
|
|
|
UserID *string `json:"UserID,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Validate validates this favorite
|
|
|
|
|
func (m *Favorite) Validate(formats strfmt.Registry) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ContextValidate validates this favorite based on context it is used
|
|
|
|
|
func (m *Favorite) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// MarshalBinary interface implementation
|
|
|
|
|
func (m *Favorite) 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-03-28 17:47:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
|
func (m *Favorite) UnmarshalBinary(b []byte) error {
|
|
|
|
|
var res Favorite
|
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-03-28 17:47:34 +00:00
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
*m = res
|
|
|
|
|
return nil
|
|
|
|
|
}
|