mirror of https://github.com/vernonkeenan/lib
61 lines
1.4 KiB
Go
61 lines
1.4 KiB
Go
|
// 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
|
||
|
|
||
|
// This file was generated by the swagger tool.
|
||
|
// Editing this file might prove futile when you re-run the swagger generate command
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/go-openapi/strfmt"
|
||
|
"github.com/go-openapi/swag"
|
||
|
)
|
||
|
|
||
|
// WebhookClerkResponse Clerk webhook object
|
||
|
//
|
||
|
// swagger:model WebhookClerkResponse
|
||
|
type WebhookClerkResponse struct {
|
||
|
|
||
|
// data
|
||
|
Data interface{} `json:"data,omitempty"`
|
||
|
|
||
|
// object
|
||
|
Object string `json:"object,omitempty"`
|
||
|
|
||
|
// Clerk Name
|
||
|
Type string `json:"type,omitempty"`
|
||
|
}
|
||
|
|
||
|
// Validate validates this webhook clerk response
|
||
|
func (m *WebhookClerkResponse) Validate(formats strfmt.Registry) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// ContextValidate validates this webhook clerk response based on context it is used
|
||
|
func (m *WebhookClerkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// MarshalBinary interface implementation
|
||
|
func (m *WebhookClerkResponse) MarshalBinary() ([]byte, error) {
|
||
|
if m == nil {
|
||
|
return nil, nil
|
||
|
}
|
||
|
return swag.WriteJSON(m)
|
||
|
}
|
||
|
|
||
|
// UnmarshalBinary interface implementation
|
||
|
func (m *WebhookClerkResponse) UnmarshalBinary(b []byte) error {
|
||
|
var res WebhookClerkResponse
|
||
|
if err := swag.ReadJSON(b, &res); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
*m = res
|
||
|
return nil
|
||
|
}
|