apimessages

package
v0.0.0-...-c407d37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TSP

type TSP struct {

	// contact email
	// Example: john_bob@example.com
	// Pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
	ContactEmail string `json:"contact_email,omitempty"`

	// id
	// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// name
	// Example: Moving Company, Inc.
	// Max Length: 1024
	// Min Length: 1
	Name string `json:"name,omitempty"`

	// The SCAC associated with the TSP
	// Example: USPS
	Scac string `json:"scac,omitempty"`
}

TSP The primary definition of a Transport Service Provider

swagger:model TSP

func (*TSP) ContextValidate

func (m *TSP) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this t s p based on context it is used

func (*TSP) MarshalBinary

func (m *TSP) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TSP) UnmarshalBinary

func (m *TSP) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TSP) Validate

func (m *TSP) Validate(formats strfmt.Registry) error

Validate validates this t s p

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL