supply_sources_2020_07_01_models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {

	// The first line of the address.
	// Required: true
	AddressLine1 *string `json:"addressLine1"`

	// The additional address information, if required.
	AddressLine2 string `json:"addressLine2,omitempty"`

	// The additional address information, if required.
	AddressLine3 string `json:"addressLine3,omitempty"`

	// The city where the person, business or institution is located.
	City string `json:"city,omitempty"`

	// The two digit country code. In ISO 3166-1 alpha-2 format.
	// Required: true
	CountryCode *string `json:"countryCode"`

	// The county where person, business or institution is located.
	County string `json:"county,omitempty"`

	// The district where person, business or institution is located.
	District string `json:"district,omitempty"`

	// The name of the person, business or institution at that address.
	// Required: true
	Name *string `json:"name"`

	// The phone number of the person, business or institution located at that address.
	Phone string `json:"phone,omitempty"`

	// The postal code of that address. It conatins a series of letters or digits or both, sometimes including spaces or punctuation.
	PostalCode string `json:"postalCode,omitempty"`

	// The state or region where person, business or institution is located.
	// Required: true
	StateOrRegion *string `json:"stateOrRegion"`
}

Address A physical address.

swagger:model Address

func (*Address) ContextValidate

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

ContextValidate validates this address based on context it is used

func (*Address) MarshalBinary

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

MarshalBinary interface implementation

func (*Address) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Address) Validate

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

Validate validates this address

type AddressWithContact

type AddressWithContact struct {

	// address
	Address *Address `json:"address,omitempty"`

	// contact details
	ContactDetails *ContactDetails `json:"contactDetails,omitempty"`
}

AddressWithContact The address and contact details.

swagger:model AddressWithContact

func (*AddressWithContact) ContextValidate

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

ContextValidate validate this address with contact based on the context it is used

func (*AddressWithContact) MarshalBinary

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

MarshalBinary interface implementation

func (*AddressWithContact) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddressWithContact) Validate

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

Validate validates this address with contact

type ContactDetails

type ContactDetails struct {

	// primary
	Primary *ContactDetailsPrimary `json:"primary,omitempty"`
}

ContactDetails The contact details

swagger:model ContactDetails

func (*ContactDetails) ContextValidate

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

ContextValidate validate this contact details based on the context it is used

func (*ContactDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ContactDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContactDetails) Validate

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

Validate validates this contact details

type ContactDetailsPrimary

type ContactDetailsPrimary struct {

	// email
	Email EmailAddress `json:"email,omitempty"`

	// The phone number of the person, business or institution.
	Phone string `json:"phone,omitempty"`
}

ContactDetailsPrimary contact details primary

swagger:model ContactDetailsPrimary

func (*ContactDetailsPrimary) ContextValidate

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

ContextValidate validate this contact details primary based on the context it is used

func (*ContactDetailsPrimary) MarshalBinary

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

MarshalBinary interface implementation

func (*ContactDetailsPrimary) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContactDetailsPrimary) Validate

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

Validate validates this contact details primary

type CreateSupplySourceRequest

type CreateSupplySourceRequest struct {

	// address
	// Required: true
	Address *Address `json:"address"`

	// alias
	// Required: true
	Alias *SupplySourceAlias `json:"alias"`

	// supply source code
	// Required: true
	SupplySourceCode *SupplySourceCode `json:"supplySourceCode"`
}

CreateSupplySourceRequest A request to create a supply source.

swagger:model CreateSupplySourceRequest

func (*CreateSupplySourceRequest) ContextValidate

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

ContextValidate validate this create supply source request based on the context it is used

func (*CreateSupplySourceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateSupplySourceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateSupplySourceRequest) Validate

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

Validate validates this create supply source request

type CreateSupplySourceResponse

type CreateSupplySourceResponse struct {

	// supply source code
	// Required: true
	SupplySourceCode *SupplySourceCode `json:"supplySourceCode"`

	// supply source Id
	// Required: true
	SupplySourceID *SupplySourceID `json:"supplySourceId"`
}

CreateSupplySourceResponse The result of creating a new supply source.

swagger:model CreateSupplySourceResponse

func (*CreateSupplySourceResponse) ContextValidate

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

ContextValidate validate this create supply source response based on the context it is used

func (*CreateSupplySourceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateSupplySourceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateSupplySourceResponse) Validate

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

Validate validates this create supply source response

type CurbsidePickupConfiguration

type CurbsidePickupConfiguration struct {

	// When true, curbside pickup is supported by the supply source.
	IsSupported bool `json:"isSupported,omitempty"`

	// The operational configuration for the curbside pickup configuration.
	OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"`

	// The parking configuration for curbside pickup with address for customers to use.
	ParkingWithAddressConfiguration *ParkingWithAddressConfiguration `json:"parkingWithAddressConfiguration,omitempty"`
}

CurbsidePickupConfiguration The curbside pickup configuration of a supply source.

swagger:model CurbsidePickupConfiguration

func (*CurbsidePickupConfiguration) ContextValidate

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

ContextValidate validate this curbside pickup configuration based on the context it is used

func (*CurbsidePickupConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*CurbsidePickupConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CurbsidePickupConfiguration) Validate

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

Validate validates this curbside pickup configuration

type DateTime

type DateTime string

DateTime A date and time in the rfc3339 format.

swagger:model DateTime

func (DateTime) ContextValidate

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

ContextValidate validates this date time based on context it is used

func (DateTime) Validate

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

Validate validates this date time

type DeliveryChannel

type DeliveryChannel struct {

	// is supported
	IsSupported bool `json:"isSupported,omitempty"`

	// operational configuration
	OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"`
}

DeliveryChannel The delivery channel of a supply source.

swagger:model DeliveryChannel

func (*DeliveryChannel) ContextValidate

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

ContextValidate validate this delivery channel based on the context it is used

func (*DeliveryChannel) MarshalBinary

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

MarshalBinary interface implementation

func (*DeliveryChannel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeliveryChannel) Validate

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

Validate validates this delivery channel

type Duration

type Duration struct {

	// time unit
	TimeUnit TimeUnit `json:"timeUnit,omitempty"`

	// value
	Value *NonNegativeInteger `json:"value,omitempty"`
}

Duration The duration of time.

swagger:model Duration

func (*Duration) ContextValidate

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

ContextValidate validate this duration based on the context it is used

func (*Duration) MarshalBinary

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

MarshalBinary interface implementation

func (*Duration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Duration) Validate

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

Validate validates this duration

type EmailAddress

type EmailAddress string

EmailAddress The email address to which email messages are delivered.

swagger:model EmailAddress

func (EmailAddress) ContextValidate

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

ContextValidate validates this email address based on context it is used

func (EmailAddress) Validate

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

Validate validates this email address

type Error

type Error struct {

	// An error code that identifies the type of error that occured.
	// Required: true
	Code *string `json:"code"`

	// The additional details that can help the caller understand or fix the issue.
	Details string `json:"details,omitempty"`

	// A message that describes the error condition in a human-readable form.
	// Required: true
	Message *string `json:"message"`
}

Error An error response returned when the request is unsuccessful.

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 ErrorList

type ErrorList struct {

	// A list of error responses returned when a request is unsuccessful.
	// Required: true
	Errors []*Error `json:"errors"`
}

ErrorList A list of error responses returned when a request is unsuccessful.

swagger:model ErrorList

func (*ErrorList) ContextValidate

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

ContextValidate validate this error list based on the context it is used

func (*ErrorList) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorList) Validate

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

Validate validates this error list

type GetSupplySourcesResponse

type GetSupplySourcesResponse struct {

	// If present, use this pagination token to retrieve the next page of supply sources.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// supply sources
	SupplySources SupplySourceList `json:"supplySources,omitempty"`
}

GetSupplySourcesResponse The paginated list of supply sources.

swagger:model GetSupplySourcesResponse

func (*GetSupplySourcesResponse) ContextValidate

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

ContextValidate validate this get supply sources response based on the context it is used

func (*GetSupplySourcesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSupplySourcesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSupplySourcesResponse) Validate

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

Validate validates this get supply sources response

type InStorePickupConfiguration

type InStorePickupConfiguration struct {

	// When true, in-store pickup is supported by the supply source (default: `isSupported` value in `PickupChannel`).
	IsSupported bool `json:"isSupported,omitempty"`

	// The parking configuration for in-store pickup.
	ParkingConfiguration *ParkingConfiguration `json:"parkingConfiguration,omitempty"`
}

InStorePickupConfiguration The in-store pickup configuration of a supply source.

swagger:model InStorePickupConfiguration

func (*InStorePickupConfiguration) ContextValidate

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

ContextValidate validate this in store pickup configuration based on the context it is used

func (*InStorePickupConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*InStorePickupConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InStorePickupConfiguration) Validate

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

Validate validates this in store pickup configuration

type NonNegativeInteger

type NonNegativeInteger int64

NonNegativeInteger An unsigned integer that can be only positive or zero.

swagger:model NonNegativeInteger

func (NonNegativeInteger) ContextValidate

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

ContextValidate validates this non negative integer based on context it is used

func (NonNegativeInteger) Validate

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

Validate validates this non negative integer

type OperatingHour

type OperatingHour struct {

	// The closing time, ISO 8601 formatted timestamp without date, HH:mm.
	EndTime string `json:"endTime,omitempty"`

	// The opening time, ISO 8601 formatted timestamp without date, HH:mm.
	StartTime string `json:"startTime,omitempty"`
}

OperatingHour The operating hour schema

swagger:model OperatingHour

func (*OperatingHour) ContextValidate

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

ContextValidate validates this operating hour based on context it is used

func (*OperatingHour) MarshalBinary

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

MarshalBinary interface implementation

func (*OperatingHour) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperatingHour) Validate

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

Validate validates this operating hour

type OperatingHours

type OperatingHours []*OperatingHour

OperatingHours A list of Operating Hours.

swagger:model OperatingHours

func (OperatingHours) ContextValidate

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

ContextValidate validate this operating hours based on the context it is used

func (OperatingHours) Validate

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

Validate validates this operating hours

type OperatingHoursByDay

type OperatingHoursByDay struct {

	// friday
	Friday OperatingHours `json:"friday,omitempty"`

	// monday
	Monday OperatingHours `json:"monday,omitempty"`

	// saturday
	Saturday OperatingHours `json:"saturday,omitempty"`

	// sunday
	Sunday OperatingHours `json:"sunday,omitempty"`

	// thursday
	Thursday OperatingHours `json:"thursday,omitempty"`

	// tuesday
	Tuesday OperatingHours `json:"tuesday,omitempty"`

	// wednesday
	Wednesday OperatingHours `json:"wednesday,omitempty"`
}

OperatingHoursByDay The operating hours per day

swagger:model OperatingHoursByDay

func (*OperatingHoursByDay) ContextValidate

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

ContextValidate validate this operating hours by day based on the context it is used

func (*OperatingHoursByDay) MarshalBinary

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

MarshalBinary interface implementation

func (*OperatingHoursByDay) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperatingHoursByDay) Validate

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

Validate validates this operating hours by day

type OperationalConfiguration

type OperationalConfiguration struct {

	// contact details
	ContactDetails *ContactDetails `json:"contactDetails,omitempty"`

	// handling time
	HandlingTime *Duration `json:"handlingTime,omitempty"`

	// operating hours by day
	OperatingHoursByDay *OperatingHoursByDay `json:"operatingHoursByDay,omitempty"`

	// throughput config
	ThroughputConfig *ThroughputConfig `json:"throughputConfig,omitempty"`
}

OperationalConfiguration The operational configuration of `supplySources`.

swagger:model OperationalConfiguration

func (*OperationalConfiguration) ContextValidate

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

ContextValidate validate this operational configuration based on the context it is used

func (*OperationalConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*OperationalConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperationalConfiguration) Validate

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

Validate validates this operational configuration

type OutboundCapability

type OutboundCapability struct {

	// delivery channel
	DeliveryChannel *DeliveryChannel `json:"deliveryChannel,omitempty"`

	// is supported
	IsSupported bool `json:"isSupported,omitempty"`

	// operational configuration
	OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"`

	// pickup channel
	PickupChannel *PickupChannel `json:"pickupChannel,omitempty"`

	// return location
	ReturnLocation *ReturnLocation `json:"returnLocation,omitempty"`
}

OutboundCapability The outbound capability of a supply source.

swagger:model OutboundCapability

func (*OutboundCapability) ContextValidate

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

ContextValidate validate this outbound capability based on the context it is used

func (*OutboundCapability) MarshalBinary

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

MarshalBinary interface implementation

func (*OutboundCapability) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OutboundCapability) Validate

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

Validate validates this outbound capability

type ParkingConfiguration

type ParkingConfiguration struct {

	// The number of parking spots.
	NumberOfParkingSpots *NonNegativeInteger `json:"numberOfParkingSpots,omitempty"`

	// The type of cost at parking location.
	ParkingCostType ParkingCostType `json:"parkingCostType,omitempty"`

	// The type of parking spot identification used at parking location.
	ParkingSpotIdentificationType ParkingSpotIdentificationType `json:"parkingSpotIdentificationType,omitempty"`
}

ParkingConfiguration The parking configuration.

swagger:model ParkingConfiguration

func (*ParkingConfiguration) ContextValidate

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

ContextValidate validate this parking configuration based on the context it is used

func (*ParkingConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*ParkingConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ParkingConfiguration) Validate

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

Validate validates this parking configuration

type ParkingCostType

type ParkingCostType string

ParkingCostType The parking cost type.

swagger:model ParkingCostType

const (

	// ParkingCostTypeFree captures enum value "Free"
	ParkingCostTypeFree ParkingCostType = "Free"

	// ParkingCostTypeOther captures enum value "Other"
	ParkingCostTypeOther ParkingCostType = "Other"
)

func NewParkingCostType

func NewParkingCostType(value ParkingCostType) *ParkingCostType

func (ParkingCostType) ContextValidate

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

ContextValidate validates this parking cost type based on context it is used

func (ParkingCostType) Pointer

func (m ParkingCostType) Pointer() *ParkingCostType

Pointer returns a pointer to a freshly-allocated ParkingCostType.

func (ParkingCostType) Validate

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

Validate validates this parking cost type

type ParkingSpotIdentificationType

type ParkingSpotIdentificationType string

ParkingSpotIdentificationType The type of parking spot identification.

swagger:model ParkingSpotIdentificationType

const (

	// ParkingSpotIdentificationTypeNumbered captures enum value "Numbered"
	ParkingSpotIdentificationTypeNumbered ParkingSpotIdentificationType = "Numbered"

	// ParkingSpotIdentificationTypeOther captures enum value "Other"
	ParkingSpotIdentificationTypeOther ParkingSpotIdentificationType = "Other"
)

func (ParkingSpotIdentificationType) ContextValidate

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

ContextValidate validates this parking spot identification type based on context it is used

func (ParkingSpotIdentificationType) Pointer

Pointer returns a pointer to a freshly-allocated ParkingSpotIdentificationType.

func (ParkingSpotIdentificationType) Validate

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

Validate validates this parking spot identification type

type ParkingWithAddressConfiguration

type ParkingWithAddressConfiguration struct {
	ParkingConfiguration

	// The address of the parking location.
	Address *Address `json:"address,omitempty"`
}

ParkingWithAddressConfiguration The parking configuration with the address.

swagger:model ParkingWithAddressConfiguration

func (*ParkingWithAddressConfiguration) ContextValidate

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

ContextValidate validate this parking with address configuration based on the context it is used

func (*ParkingWithAddressConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (ParkingWithAddressConfiguration) MarshalJSON

func (m ParkingWithAddressConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ParkingWithAddressConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ParkingWithAddressConfiguration) UnmarshalJSON

func (m *ParkingWithAddressConfiguration) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ParkingWithAddressConfiguration) Validate

Validate validates this parking with address configuration

type PickupChannel

type PickupChannel struct {

	// The configuration for supporting curbside pickup.
	CurbsidePickupConfiguration *CurbsidePickupConfiguration `json:"curbsidePickupConfiguration,omitempty"`

	// The configuration for supporting in-store pickup.
	InStorePickupConfiguration *InStorePickupConfiguration `json:"inStorePickupConfiguration,omitempty"`

	// inventory hold period
	InventoryHoldPeriod *Duration `json:"inventoryHoldPeriod,omitempty"`

	// is supported
	IsSupported bool `json:"isSupported,omitempty"`

	// operational configuration
	OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"`
}

PickupChannel The pick up channel of a supply source.

swagger:model PickupChannel

func (*PickupChannel) ContextValidate

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

ContextValidate validate this pickup channel based on the context it is used

func (*PickupChannel) MarshalBinary

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

MarshalBinary interface implementation

func (*PickupChannel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PickupChannel) Validate

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

Validate validates this pickup channel

type ReturnLocation

type ReturnLocation struct {

	// address with contact
	AddressWithContact *AddressWithContact `json:"addressWithContact,omitempty"`

	// The Amazon provided `supplySourceId` where orders can be returned to.
	SupplySourceID string `json:"supplySourceId,omitempty"`
}

ReturnLocation The address or reference to another `supplySourceId` to act as a return location.

swagger:model ReturnLocation

func (*ReturnLocation) ContextValidate

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

ContextValidate validate this return location based on the context it is used

func (*ReturnLocation) MarshalBinary

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

MarshalBinary interface implementation

func (*ReturnLocation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ReturnLocation) Validate

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

Validate validates this return location

type ServicesCapability

type ServicesCapability struct {

	// When true, `SupplySource` supports the Service capability.
	IsSupported bool `json:"isSupported,omitempty"`

	// operational configuration
	OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"`
}

ServicesCapability The services capability of a supply source.

swagger:model ServicesCapability

func (*ServicesCapability) ContextValidate

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

ContextValidate validate this services capability based on the context it is used

func (*ServicesCapability) MarshalBinary

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

MarshalBinary interface implementation

func (*ServicesCapability) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServicesCapability) Validate

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

Validate validates this services capability

type SupplySource

type SupplySource struct {

	// address
	Address *Address `json:"address,omitempty"`

	// alias
	Alias SupplySourceAlias `json:"alias,omitempty"`

	// capabilities
	Capabilities *SupplySourceCapabilities `json:"capabilities,omitempty"`

	// configuration
	Configuration *SupplySourceConfiguration `json:"configuration,omitempty"`

	// created at
	CreatedAt DateTime `json:"createdAt,omitempty"`

	// status
	Status SupplySourceStatusReadOnly `json:"status,omitempty"`

	// supply source code
	SupplySourceCode SupplySourceCode `json:"supplySourceCode,omitempty"`

	// supply source Id
	SupplySourceID SupplySourceID `json:"supplySourceId,omitempty"`

	// updated at
	UpdatedAt DateTime `json:"updatedAt,omitempty"`
}

SupplySource The supply source details, including configurations and capabilities.

swagger:model SupplySource

func (*SupplySource) ContextValidate

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

ContextValidate validate this supply source based on the context it is used

func (*SupplySource) MarshalBinary

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

MarshalBinary interface implementation

func (*SupplySource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SupplySource) Validate

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

Validate validates this supply source

type SupplySourceAlias

type SupplySourceAlias string

SupplySourceAlias The custom alias for this supply source

swagger:model SupplySourceAlias

func (SupplySourceAlias) ContextValidate

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

ContextValidate validates this supply source alias based on context it is used

func (SupplySourceAlias) Validate

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

Validate validates this supply source alias

type SupplySourceCapabilities

type SupplySourceCapabilities struct {

	// outbound
	Outbound *OutboundCapability `json:"outbound,omitempty"`

	// services
	Services *ServicesCapability `json:"services,omitempty"`
}

SupplySourceCapabilities The capabilities of a supply source.

swagger:model SupplySourceCapabilities

func (*SupplySourceCapabilities) ContextValidate

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

ContextValidate validate this supply source capabilities based on the context it is used

func (*SupplySourceCapabilities) MarshalBinary

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

MarshalBinary interface implementation

func (*SupplySourceCapabilities) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SupplySourceCapabilities) Validate

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

Validate validates this supply source capabilities

type SupplySourceCode

type SupplySourceCode string

SupplySourceCode The seller-provided unique supply source code.

swagger:model SupplySourceCode

func (SupplySourceCode) ContextValidate

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

ContextValidate validates this supply source code based on context it is used

func (SupplySourceCode) Validate

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

Validate validates this supply source code

type SupplySourceConfiguration

type SupplySourceConfiguration struct {

	// operational configuration
	OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"`

	// Please see RFC 6557, should be a canonical time zone ID as listed here: https://www.joda.org/joda-time/timezones.html.
	Timezone string `json:"timezone,omitempty"`
}

SupplySourceConfiguration Includes configuration and timezone of a supply source.

swagger:model SupplySourceConfiguration

func (*SupplySourceConfiguration) ContextValidate

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

ContextValidate validate this supply source configuration based on the context it is used

func (*SupplySourceConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*SupplySourceConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SupplySourceConfiguration) Validate

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

Validate validates this supply source configuration

type SupplySourceID

type SupplySourceID string

SupplySourceID An Amazon generated unique supply source ID.

swagger:model SupplySourceId

func (SupplySourceID) ContextValidate

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

ContextValidate validates this supply source Id based on context it is used

func (SupplySourceID) Validate

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

Validate validates this supply source Id

type SupplySourceList

type SupplySourceList []*SupplySourceListItems0

SupplySourceList The list of `SupplySource`s.

swagger:model SupplySourceList

func (SupplySourceList) ContextValidate

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

ContextValidate validate this supply source list based on the context it is used

func (SupplySourceList) Validate

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

Validate validates this supply source list

type SupplySourceListItems0

type SupplySourceListItems0 struct {

	// address
	Address *Address `json:"address,omitempty"`

	// alias
	Alias SupplySourceAlias `json:"alias,omitempty"`

	// supply source code
	SupplySourceCode SupplySourceCode `json:"supplySourceCode,omitempty"`

	// supply source Id
	SupplySourceID SupplySourceID `json:"supplySourceId,omitempty"`
}

SupplySourceListItems0 supply source list items0

swagger:model SupplySourceListItems0

func (*SupplySourceListItems0) ContextValidate

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

ContextValidate validate this supply source list items0 based on the context it is used

func (*SupplySourceListItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*SupplySourceListItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SupplySourceListItems0) Validate

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

Validate validates this supply source list items0

type SupplySourceStatus

type SupplySourceStatus string

SupplySourceStatus The `SupplySource` status

swagger:model SupplySourceStatus

const (

	// SupplySourceStatusActive captures enum value "Active"
	SupplySourceStatusActive SupplySourceStatus = "Active"

	// SupplySourceStatusInactive captures enum value "Inactive"
	SupplySourceStatusInactive SupplySourceStatus = "Inactive"
)

func NewSupplySourceStatus

func NewSupplySourceStatus(value SupplySourceStatus) *SupplySourceStatus

func (SupplySourceStatus) ContextValidate

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

ContextValidate validates this supply source status based on context it is used

func (SupplySourceStatus) Pointer

Pointer returns a pointer to a freshly-allocated SupplySourceStatus.

func (SupplySourceStatus) Validate

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

Validate validates this supply source status

type SupplySourceStatusReadOnly

type SupplySourceStatusReadOnly string

SupplySourceStatusReadOnly The `SupplySource` status.

swagger:model SupplySourceStatusReadOnly

const (

	// SupplySourceStatusReadOnlyActive captures enum value "Active"
	SupplySourceStatusReadOnlyActive SupplySourceStatusReadOnly = "Active"

	// SupplySourceStatusReadOnlyInactive captures enum value "Inactive"
	SupplySourceStatusReadOnlyInactive SupplySourceStatusReadOnly = "Inactive"

	// SupplySourceStatusReadOnlyArchived captures enum value "Archived"
	SupplySourceStatusReadOnlyArchived SupplySourceStatusReadOnly = "Archived"
)

func (SupplySourceStatusReadOnly) ContextValidate

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

ContextValidate validates this supply source status read only based on context it is used

func (SupplySourceStatusReadOnly) Pointer

Pointer returns a pointer to a freshly-allocated SupplySourceStatusReadOnly.

func (SupplySourceStatusReadOnly) Validate

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

Validate validates this supply source status read only

type ThroughputCap

type ThroughputCap struct {

	// time unit
	TimeUnit TimeUnit `json:"timeUnit,omitempty"`

	// value
	Value *NonNegativeInteger `json:"value,omitempty"`
}

ThroughputCap The throughput capacity

swagger:model ThroughputCap

func (*ThroughputCap) ContextValidate

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

ContextValidate validate this throughput cap based on the context it is used

func (*ThroughputCap) MarshalBinary

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

MarshalBinary interface implementation

func (*ThroughputCap) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThroughputCap) Validate

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

Validate validates this throughput cap

type ThroughputConfig

type ThroughputConfig struct {

	// throughput cap
	ThroughputCap *ThroughputCap `json:"throughputCap,omitempty"`

	// throughput unit
	// Required: true
	ThroughputUnit *ThroughputUnit `json:"throughputUnit"`
}

ThroughputConfig The throughput configuration.

swagger:model ThroughputConfig

func (*ThroughputConfig) ContextValidate

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

ContextValidate validate this throughput config based on the context it is used

func (*ThroughputConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*ThroughputConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThroughputConfig) Validate

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

Validate validates this throughput config

type ThroughputUnit

type ThroughputUnit string

ThroughputUnit The throughput unit

swagger:model ThroughputUnit

const (

	// ThroughputUnitOrder captures enum value "Order"
	ThroughputUnitOrder ThroughputUnit = "Order"
)

func NewThroughputUnit

func NewThroughputUnit(value ThroughputUnit) *ThroughputUnit

func (ThroughputUnit) ContextValidate

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

ContextValidate validates this throughput unit based on context it is used

func (ThroughputUnit) Pointer

func (m ThroughputUnit) Pointer() *ThroughputUnit

Pointer returns a pointer to a freshly-allocated ThroughputUnit.

func (ThroughputUnit) Validate

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

Validate validates this throughput unit

type TimeUnit

type TimeUnit string

TimeUnit The time unit

swagger:model TimeUnit

const (

	// TimeUnitHours captures enum value "Hours"
	TimeUnitHours TimeUnit = "Hours"

	// TimeUnitMinutes captures enum value "Minutes"
	TimeUnitMinutes TimeUnit = "Minutes"

	// TimeUnitDays captures enum value "Days"
	TimeUnitDays TimeUnit = "Days"
)

func NewTimeUnit

func NewTimeUnit(value TimeUnit) *TimeUnit

func (TimeUnit) ContextValidate

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

ContextValidate validates this time unit based on context it is used

func (TimeUnit) Pointer

func (m TimeUnit) Pointer() *TimeUnit

Pointer returns a pointer to a freshly-allocated TimeUnit.

func (TimeUnit) Validate

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

Validate validates this time unit

type UpdateSupplySourceRequest

type UpdateSupplySourceRequest struct {

	// alias
	Alias SupplySourceAlias `json:"alias,omitempty"`

	// capabilities
	Capabilities *SupplySourceCapabilities `json:"capabilities,omitempty"`

	// configuration
	Configuration *SupplySourceConfiguration `json:"configuration,omitempty"`
}

UpdateSupplySourceRequest A request to update the configuration and capabilities of a supply source.

swagger:model UpdateSupplySourceRequest

func (*UpdateSupplySourceRequest) ContextValidate

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

ContextValidate validate this update supply source request based on the context it is used

func (*UpdateSupplySourceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateSupplySourceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateSupplySourceRequest) Validate

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

Validate validates this update supply source request

type UpdateSupplySourceStatusRequest

type UpdateSupplySourceStatusRequest struct {

	// status
	Status SupplySourceStatus `json:"status,omitempty"`
}

UpdateSupplySourceStatusRequest A request to update the status of a supply source.

swagger:model UpdateSupplySourceStatusRequest

func (*UpdateSupplySourceStatusRequest) ContextValidate

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

ContextValidate validate this update supply source status request based on the context it is used

func (*UpdateSupplySourceStatusRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateSupplySourceStatusRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateSupplySourceStatusRequest) Validate

Validate validates this update supply source status request

Jump to

Keyboard shortcuts

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