lib/api/members/members_models/prompt_tag.go

70 lines
1.7 KiB
Go
Raw Normal View History

2023-06-04 23:54:48 +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 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
2023-06-05 19:44:18 +00:00
CreatedByID *string `json:"CreatedByID,omitempty"`
2023-06-04 23:54:48 +00:00
// The date the prompt tag was created
2023-06-05 19:44:18 +00:00
CreatedDate *string `json:"CreatedDate,omitempty"`
2023-06-04 23:54:48 +00:00
// Record Id
ID string `json:"ID,omitempty"`
// The ID of the user who last modified the prompt tag
2023-06-05 19:44:18 +00:00
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
2023-06-04 23:54:48 +00:00
// The date the prompt tag was last modified
2023-06-05 19:44:18 +00:00
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
2023-06-04 23:54:48 +00:00
// The prompt tag name
2023-06-05 19:44:18 +00:00
Name *string `json:"Name,omitempty"`
2023-06-04 23:54:48 +00:00
}
// 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
}