lib/api/sfgate/sfgate_models/track.go

100 lines
2.6 KiB
Go
Raw Normal View History

2023-09-30 15:38:27 +00:00
// 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 sfgate_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"
)
// Track track
//
// swagger:model track
type Track struct {
2023-10-17 02:05:34 +00:00
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// The identifier of the user who created the track.
2023-09-30 15:38:27 +00:00
CreatedByID *string `json:"CreatedByID,omitempty"`
2023-10-17 02:05:34 +00:00
// The date and time when the track was created.
2023-09-30 15:38:27 +00:00
CreatedDate *string `json:"CreatedDate,omitempty"`
2023-10-17 02:05:34 +00:00
// A brief description of the track.
2023-09-30 15:38:27 +00:00
Description *string `json:"Description,omitempty"`
2023-10-17 02:05:34 +00:00
// The order in which the track should be displayed.
DisplayOrder *float64 `json:"DisplayOrder,omitempty"`
// A full description of the track.
FullDescription *string `json:"FullDescription,omitempty"`
// A unique identifier for the track.
2023-09-30 15:38:27 +00:00
ID string `json:"ID,omitempty"`
2023-10-17 02:05:34 +00:00
// A small icon representing the track.
Icon *string `json:"Icon,omitempty"`
// Alternative text for the track's image for accessibility.
2023-09-30 15:38:27 +00:00
ImageAltText *string `json:"ImageAltText,omitempty"`
2023-10-17 02:05:34 +00:00
// The URL of the image representing the track.
2023-09-30 15:38:27 +00:00
ImageURL *string `json:"ImageURL,omitempty"`
2023-10-17 02:05:34 +00:00
// The identifier of the user who last modified the track.
2023-09-30 15:38:27 +00:00
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
2023-10-17 02:05:34 +00:00
// The date and time when the track was last modified.
2023-09-30 15:38:27 +00:00
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
2023-10-17 02:05:34 +00:00
// The logo associated with the track.
2023-09-30 15:38:27 +00:00
Logo *string `json:"Logo,omitempty"`
2023-10-17 02:05:34 +00:00
// The name of the track.
2023-09-30 15:38:27 +00:00
Name *string `json:"Name,omitempty"`
2023-10-17 02:05:34 +00:00
// A URL-friendly version of the track name used for routing.
2023-09-30 15:38:27 +00:00
Slug *string `json:"Slug,omitempty"`
2023-10-17 02:05:34 +00:00
// The title of the track.
Title *string `json:"Title,omitempty"`
2023-09-30 15:38:27 +00:00
}
// Validate validates this track
func (m *Track) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this track based on context it is used
func (m *Track) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *Track) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *Track) UnmarshalBinary(b []byte) error {
var res Track
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}