lib/api/members/members_models/webhook_clerk_response.go

61 lines
1.4 KiB
Go

// Code generated by go-swagger; DO NOT EDIT.
// (c) 2012-2023 by Vernon Keenan
// 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
}