models

package
v0.0.0-...-a784d27 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Customer

type Customer struct {

	// agent associated with this customer
	AgentID int32 `json:"agentId,omitempty"`

	// internal identifier of a customer
	// Required: true
	// Read Only: true
	CustomerID int64 `json:"customerId"`

	// fips code
	// Required: true
	// Min Length: 1
	FipsCode *string `json:"fipsCode"`

	// name
	// Required: true
	// Min Length: 1
	Name *string `json:"name"`

	// Lookup identifier to find a customer in the system
	// Required: true
	// Min Length: 11
	Ssn *string `json:"ssn"`

	// surname
	// Required: true
	// Min Length: 1
	Surname *string `json:"surname"`
}

Customer customer

swagger:model customer

func (*Customer) ContextValidate

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

ContextValidate validate this customer based on the context it is used

func (*Customer) MarshalBinary

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

MarshalBinary interface implementation

func (*Customer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Customer) Validate

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

Validate validates this customer

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// fields
	Fields string `json:"fields,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error

swagger:model error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Principal

type Principal string

Principal principal

swagger:model principal

func (Principal) ContextValidate

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

ContextValidate validates this principal based on context it is used

func (Principal) Validate

func (m Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

type SocialID

type SocialID struct {

	// ssn
	// Required: true
	// Min Length: 11
	Ssn *string `json:"ssn"`
}

SocialID social id

swagger:model social_id

func (*SocialID) ContextValidate

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

ContextValidate validates this social id based on context it is used

func (*SocialID) MarshalBinary

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

MarshalBinary interface implementation

func (*SocialID) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SocialID) Validate

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

Validate validates this social id

Jump to

Keyboard shortcuts

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