import "github.com/go-swagger/go-swagger/examples/authentication/models"
customer.go error.go principal.go social_id.go
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
ContextValidate validate this customer based on the context it is used
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this customer
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
ContextValidate validates this error based on context it is used
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this error
Principal principal
swagger:model principal
ContextValidate validates this principal based on context it is used
Validate validates this principal
SocialID social id
swagger:model social_id
ContextValidate validates this social id based on context it is used
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this social id
Package models imports 5 packages (graph) and is imported by 8 packages. Updated 2021-01-26. Refresh now. Tools for package owners.