lib/api/members/members_models/prompt_tag.go

70 lines
1.6 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"
)
// PromptTag A prompt tag
//
// swagger:model promptTag
type PromptTag struct {
// The ID of the user who created the prompt tag
CreatedByID string `json:"CreatedByID,omitempty"`
// The date the prompt tag was created
CreatedDate string `json:"CreatedDate,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// The ID of the user who last modified the prompt tag
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
// The date the prompt tag was last modified
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
// The prompt tag name
Name string `json:"Name,omitempty"`
}
// Validate validates this prompt tag
func (m *PromptTag) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this prompt tag based on context it is used
func (m *PromptTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *PromptTag) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *PromptTag) UnmarshalBinary(b []byte) error {
var res PromptTag
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}