lib/api/members/members_models/webhook_clerk_request.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"
)
// WebhookClerkRequest Clerk webhook object
//
// swagger:model WebhookClerkRequest
type WebhookClerkRequest 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 request
func (m *WebhookClerkRequest) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this webhook clerk request based on context it is used
func (m *WebhookClerkRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *WebhookClerkRequest) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *WebhookClerkRequest) UnmarshalBinary(b []byte) error {
var res WebhookClerkRequest
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}