2023-03-28 17:47:34 +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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Ticket ticket
|
|
|
|
//
|
2023-05-13 16:46:48 +00:00
|
|
|
// swagger:model ticket
|
2023-03-28 17:47:34 +00:00
|
|
|
type Ticket struct {
|
|
|
|
|
|
|
|
// created date
|
|
|
|
CreatedDate *string `json:"CreatedDate,omitempty"`
|
|
|
|
|
|
|
|
// event ID
|
2023-04-15 14:27:18 +00:00
|
|
|
EventID *string `json:"EventID,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
|
|
|
|
// ID
|
|
|
|
ID string `json:"ID,omitempty"`
|
|
|
|
|
|
|
|
// last modified date
|
|
|
|
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
|
|
|
|
|
|
|
|
// price
|
|
|
|
Price *float64 `json:"Price,omitempty"`
|
|
|
|
|
|
|
|
// quantity
|
|
|
|
Quantity int64 `json:"Quantity,omitempty"`
|
|
|
|
|
|
|
|
// tickettype
|
2023-04-15 14:27:18 +00:00
|
|
|
Tickettype *string `json:"Tickettype,omitempty"`
|
2023-03-28 17:47:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this ticket
|
|
|
|
func (m *Ticket) Validate(formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// ContextValidate validates this ticket based on context it is used
|
|
|
|
func (m *Ticket) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary interface implementation
|
|
|
|
func (m *Ticket) MarshalBinary() ([]byte, error) {
|
|
|
|
if m == nil {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
return swag.WriteJSON(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
func (m *Ticket) UnmarshalBinary(b []byte) error {
|
|
|
|
var res Ticket
|
|
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
*m = res
|
|
|
|
return nil
|
|
|
|
}
|