2021-08-14 22:34:08 +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 research_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"
|
2021-08-14 22:34:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Address address
|
|
|
|
|
//
|
|
|
|
|
// swagger:model Address
|
|
|
|
|
type Address struct {
|
|
|
|
|
|
|
|
|
|
// City
|
2023-04-15 14:27:18 +00:00
|
|
|
City *string `json:"City,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
|
// Country full name
|
2023-04-15 14:27:18 +00:00
|
|
|
Country *string `json:"Country,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
|
// Country Code
|
2023-04-15 14:27:18 +00:00
|
|
|
CountryCode *string `json:"CountryCode,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
|
// Postal Code
|
2023-04-15 14:27:18 +00:00
|
|
|
PostalCode *string `json:"PostalCode,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
|
// State full name
|
2023-04-15 14:27:18 +00:00
|
|
|
State *string `json:"State,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
|
// State Code
|
2023-04-15 14:27:18 +00:00
|
|
|
StateCode *string `json:"StateCode,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
|
// Street number and name
|
2023-04-15 14:27:18 +00:00
|
|
|
Street *string `json:"Street,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Validate validates this address
|
|
|
|
|
func (m *Address) Validate(formats strfmt.Registry) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ContextValidate validates this address based on context it is used
|
|
|
|
|
func (m *Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// MarshalBinary interface implementation
|
|
|
|
|
func (m *Address) 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)
|
2021-08-14 22:34:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
|
func (m *Address) UnmarshalBinary(b []byte) error {
|
|
|
|
|
var res Address
|
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 {
|
2021-08-14 22:34:08 +00:00
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
*m = res
|
|
|
|
|
return nil
|
|
|
|
|
}
|